[ILUG] Corrupt group file

John P. Looney john at antefacto.com
Fri Apr 6 16:24:27 IST 2001


On Fri, Apr 06, 2001 at 04:03:16PM +0100, Karl Monaghan mentioned:
> I'm after fecking up my groups file (that'll teach me to mess around with
> stuff) on my redhat 6.2 box and a search on google hasn't yielded any gems
> of inspiration.
> I know there is a problem with it 'cause when I try and run locate it says
> that it cannot find the group slocate (check and it's in the file) or the
> group file is corrupt.
> So is there anyway of fixing it?  I've tried copying the group file from the
> RH cd and adding the slocate group using groupadd -r slocate but it still
> complains.
> and ideas? Or do I resort to the windows method of format and reinstall?
> (not *too* onerious as I only installed it yesterday.)

 Try use this one; it's from a RedHat 6.2 box I have here;

root:x:0:root
bin:x:1:root,bin,daemon
daemon:x:2:root,bin,daemon
sys:x:3:root,bin,adm
adm:x:4:root,adm,daemon
tty:x:5:
disk:x:6:root
lp:x:7:daemon,lp
mem:x:8:
kmem:x:9:
wheel:x:10:root
mail:x:12:mail
news:x:13:news
uucp:x:14:uucp
man:x:15:
games:x:20:
gopher:x:30:
dip:x:40:
ftp:x:50:
nobody:x:99:
users:x:100:
floppy:x:19:
console:x:31:
utmp:x:22:
pppusers:x:44:
popusers:x:45:
slipusers:x:46:
mailman:x:47:
slocate:x:21:


-- 
 When I say 'free', I mean 'free': free from bond, of chain or command: 
to go where you will, even to Mordor, Saruman, if you desire. " 
    -- Gandalf, paraphrasing the choice between Free and Non-free software




More information about the ILUG mailing list