1 |
I think I typed in something wrong and sort of made a mess of it. I had |
2 |
to copy a backup file for group and passwd to get things working again. |
3 |
Here is what I have right now: |
4 |
|
5 |
root@fireball / # cat /etc/passwd |
6 |
root:x:0:0:root:/root:/bin/bash |
7 |
bin:x:1:1:bin:/bin:/bin/false |
8 |
daemon:x:2:2:daemon:/sbin:/bin/false |
9 |
adm:x:3:4:adm:/var/adm:/bin/false |
10 |
lp:x:4:7:lp:/var/spool/lpd:/bin/false |
11 |
sync:x:5:0:sync:/sbin:/bin/sync |
12 |
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown |
13 |
halt:x:7:0:halt:/sbin:/sbin/halt |
14 |
mail:x:8:12:mail:/var/spool/mail:/bin/false |
15 |
news:x:9:13:news:/usr/lib/news:/bin/false |
16 |
uucp:x:10:14:uucp:/var/spool/uucppublic:/bin/false |
17 |
operator:x:11:0:operator:/root:/bin/bash |
18 |
man:x:13:15:man:/usr/share/man:/bin/false |
19 |
postmaster:x:14:12:postmaster:/var/spool/mail:/bin/false |
20 |
portage:x:250:250:portage:/var/tmp/portage:/bin/false |
21 |
nobody:x:65534:65534:nobody:/:/bin/false |
22 |
sshd:x:22:22:added by portage for openssh:/var/empty:/sbin/nologin |
23 |
messagebus:x:101:199:added by portage for dbus:/dev/null:/sbin/nologin |
24 |
avahi:x:102:197:added by portage for avahi:/dev/null:/sbin/nologin |
25 |
mysql:x:60:60:added by portage for mysql:/dev/null:/sbin/nologin |
26 |
ldap:x:439:439:added by portage for |
27 |
openldap:/usr/lib64/openldap:/sbin/nologin |
28 |
cron:x:16:16:added by portage for cronbase:/var/spool/cron:/sbin/nologin |
29 |
uptimed:x:103:102:added by portage for uptimed:/dev/null:/sbin/nologin |
30 |
ntp:x:123:123:added by portage for ntp:/var/empty:/sbin/nologin |
31 |
games:x:36:35:added by portage for gnugo:/usr/games:/bin/bash |
32 |
haldaemon:x:104:101:added by portage for hal:/dev/null:/sbin/nologin |
33 |
dale:x:1000:1000::/home/dale:/bin/bash |
34 |
gkrellmd:x:105:997:added by portage for gkrellm:/dev/null:/sbin/nologin |
35 |
hsqldb:x:106:996:added by portage for hsqldb:/dev/null:/bin/sh |
36 |
kdm:x:107:995:added by portage for kdm:/var/lib/kdm-4.5:/sbin/nologin |
37 |
nut:x:84:84:added by portage for nut:/var/lib/nut:/sbin/nologin |
38 |
polkituser:x:108:994:added by portage for polkit:/dev/null:/sbin/nologin |
39 |
dale2:x:1001:500::/home/dale2:/bin/bash |
40 |
root@fireball / # cat /etc/group <<<<<<<<<<<<<< NEW INFO ALERT |
41 |
>>>>>>>>> |
42 |
root::0:root |
43 |
bin::1:root,bin,daemon |
44 |
daemon::2:root,bin,daemon |
45 |
sys::3:root,bin,adm |
46 |
adm::4:root,adm,daemon |
47 |
tty::5:dale,dale2 |
48 |
disk::6:root,adm |
49 |
lp::7:lp,dale,dale2 |
50 |
mem::8: |
51 |
kmem::9: |
52 |
wheel::10:root,dale,dale2 |
53 |
floppy::11:root,dale |
54 |
mail::12:mail |
55 |
news::13:news |
56 |
uucp::14:uucp,nut,dale,dale2 |
57 |
man::15:man |
58 |
console::17: |
59 |
audio::18:dale,dale2 |
60 |
cdrom::19:dale,dale2 |
61 |
dialout::20:root,dale,dale2 |
62 |
tape::26:root |
63 |
video::27:root,dale,dale2 |
64 |
cdrw::80:dale,dale2 |
65 |
usb::85:dale,dale2 |
66 |
users::100:games,dale,dale2 |
67 |
nofiles:x:200: |
68 |
smmsp:x:209:smmsp |
69 |
portage::250:portage |
70 |
utmp:x:406:dale,dale2 |
71 |
nogroup::65533: |
72 |
nobody::65534: |
73 |
sshd:x:22: |
74 |
messagebus:x:199: |
75 |
netdev:x:198: |
76 |
avahi:x:197: |
77 |
lpadmin:x:106:dale |
78 |
mysql:x:60: |
79 |
ldap:x:439: |
80 |
cron:x:16: |
81 |
locate:x:105: |
82 |
ssmtp:x:104: |
83 |
crontab:x:103: |
84 |
uptimed:x:102: |
85 |
ntp:x:123: |
86 |
games:x:35:dale,dale2 |
87 |
plugdev:x:999:dale,dale2 |
88 |
scanner:x:998:dale2 |
89 |
dale:x:1100: |
90 |
gkrellmd:x:997: |
91 |
hsqldb:x:996: |
92 |
kdm:x:995:dale2 |
93 |
nut:x:84:nut,dale,uucp |
94 |
polkituser:x:994:dale,dale2 |
95 |
wireshark:x:993:dale,dale2 |
96 |
dale2:x:1000: |
97 |
root@fireball / # |
98 |
|
99 |
What I would like to do is get rid of things that shouldn't be there. |
100 |
It appears I have a group or two that shouldn't exist. I guess anyway. |
101 |
I know about groupdel but want to make sure before I actually do |
102 |
anything AGAIN. When I did this a few minutes ago, kdm would let me |
103 |
login until I restored group and passwd. |
104 |
|
105 |
Should I have a group called dale and dale2? Those are my users. dale |
106 |
is my main account and dale2 is for when I need to test a clean account. |
107 |
|
108 |
Does anyone see anything else that needs fixin here? |
109 |
|
110 |
Thanks much. |
111 |
|
112 |
Dale |
113 |
|
114 |
:-) :-) |