Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!ames!ucsd!sdcc6!sdcc19!sdcc15!pa1343 From: pa1343@sdcc15.ucsd.edu (pa1343) Newsgroups: comp.os.minix Subject: Re: 'passwd' problems Keywords: works on floppy but not on fixed Message-ID: <997@sdcc15.ucsd.edu> Date: 1 Feb 89 07:37:01 GMT References: <1062@unm-la.UUCP> Reply-To: pa1343@sdcc15.UUCP () Organization: University of California, San Diego Lines: 18 Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu! In article <1062@unm-la.UUCP> mcormick@unm-la.UUCP (Patrick McCormick) writes: > Can't create temporary file > Can't recreate password file > > The second message popped up after I had changed the permissions > on /etc due to the first message. The problem here is that /bin/passwd must be owned by root and the SUID bit must be set with the following commands. # chown root /bin/passwd # chmod 4755 /bin/passwd note here that you must be super-user to do this. Afterward, the permissions above will give the passwd command root privilige required to edit /etc/passwd. --------------- John J. Marco pa1343@sdcc15.ucsd.edu ---------------