passwd file corrupted
stripes at wam.UMD.EDU
stripes at wam.UMD.EDU
Wed Jun 28 03:06:47 AEST 1989
In article <664 at sumax.UUCP> vanmane at sumax.UUCP (Mohan Vanmane) writes:
[stuff deleted]
>How can I bring this machine down to administrative mode so that I can
>change the password file?
>
>vanmane%sumax.uucp at beaver.cs.washington.edu
Since nobody else can get on you don't need to go into single user mode :-)
If it makes you feel better I beleve it's "init 1", but you don't need to
be in single-user mode to safely edit the passwd file.
There should be a /etc/vipw that will let only one person edit /etc/passwd,
provided they all use /etc/vipw (or /etc/lockpw & /etc/unlockpw). If for
some reason you don't have thoes just make shure nobody else, and nothing else
edits the file while you do. (and yes the shurest you can be in in single
user mode). Also if you system has shadow password file support (and you
are useing it) to check the shadow password file (where ever it is).
--
stripes at wam.umd.edu "Security for Unix is like
Josh_Osborne at Real_World,The Mutitasking for MS-DOS"
"The dyslexic porgramer" - Kevin Lockwood
"A career is great, but you can't run your fingers through it's hair"
More information about the Comp.unix.questions
mailing list