Re: Passwd: encrypted pw entry
Matthew Tebbens <[EMAIL PROTECTED]> writes: > How can I disable an /etc/passwd entry. Isn't there something I can place > in the encrypted-pw section of /etc/passwd to disable the account ? Type `passwd -l username' to do it automatically. Make sure there are no other ways in like ~/.rhosts. -- Carey Evans <*> [EMAIL PROTECTED] "On the telephone line I am anyone, I am anything I want to be." - Savage Garden, _Santa Monica_ -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Passwd: encrypted pw entry
Sorry if someone already answered this, my inbox is chaos right now... I run shadow passwd's so I: 1. type 'shadowconfig off' 2. type 'vi /etc/passwd' as root. I replace the users password with a single '*'. This is what it will look like: username:*:1000:100:[snip] 3. quit/save 4. type 'shadowconfig on' Hope this works for you. Dennis -- dpk <[EMAIL PROTECTED]>, Systems Undergrad | work: 517.353.8892 Division of Enginnering Computing Services | page: 517.222.5875 With a PC, I always felt limited by the software available. On Unix, I am limited only by my knowledge. --Peter J. Schoenster On Wed, 20 Aug 1997, Matthew Tebbens wrote: > > How can I disable an /etc/passwd entry. Isn't there something I can place > in the encrypted-pw section of /etc/passwd to disable the account ? > > Thanks, > Matthew > > > -- > TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to > [EMAIL PROTECTED] . > Trouble? e-mail to [EMAIL PROTECTED] . > > -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Passwd: encrypted pw entry
On Wed, 20 Aug 1997, Matthew Tebbens wrote: > How can I disable an /etc/passwd entry. Isn't there something I can place > in the encrypted-pw section of /etc/passwd to disable the account ? Inserting an asterisk in front of a user's encoded password will disable the account without destroying the ability to restore that account later (by removing the password). I believe an asterisk is not a valid character in the character set used by the password encrypting algorhythm, and it will also shift all of the characters into a different position. Of the thirteen characters, the first two are the "salt" used to make things random, and the other eleven store the encoded password. Pete -- Peter J. Templin, Jr. Client Services Analyst Computer & Communication Services tel: (717) 524-1590 Bucknell University [EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Passwd: encrypted pw entry
Matthew, Place an "*" or other charecter, directly infront of the password, that way when you make it useable again, all you need to do is remove the "*". -DavidU oo Sending unsolicited commercial e-mail (UCE) to this address Legal Notice is indication of your consent to pay me $120/hour for 1 hour oo minimum of HTML programming for 1 web page maximum. Guts- [EMAIL PROTECTED] * www.eciti.com/~davidu/ * www.eciti.com/support On Wed, 20 Aug 1997, Matthew Tebbens wrote: > > How can I disable an /etc/passwd entry. Isn't there something I can place > in the encrypted-pw section of /etc/passwd to disable the account ? > > Thanks, > Matthew > > > -- > TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to > [EMAIL PROTECTED] . > Trouble? e-mail to [EMAIL PROTECTED] . > > -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Passwd: encrypted pw entry
How can I disable an /etc/passwd entry. Isn't there something I can place in the encrypted-pw section of /etc/passwd to disable the account ? Thanks, Matthew -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .