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.
--
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
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 th
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 $
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] .
5 matches
Mail list logo