[wplug] passwd file

Mike Griffin mike at dmrnetworks.com
Fri Jul 11 13:16:37 EDT 2003


Let me rephrase that. Login by password will be disabled. The user will 
still be able to login via an sshkey. you can su to that user, etc...

Mike

On Friday, July 11, 2003, at 01:06  PM, Mike Griffin wrote:

> another thing to look into is to null the password. Login would be 
> disabled.
> in the file /etc/shadow, assuming you're using shadowed passwords, 
> replace the password hash with !!
> username:!!:  .................
>
> Mike
>
> On Friday, July 11, 2003, at 12:06  PM, Chris wrote:
>
>>
>> I have a lot of system users that I don't what to be able to log on 
>> locally.
>> I know that I can use usermod -s /sbin/nologin username, but I don't 
>> want to
>> do that for every user.  Can I just edit the passwd file manually, or 
>> are
>> there more files that need to be changed?
>>
>> Chris Romano
>>
>>
>> _______________________________________________
>> wplug mailing list
>> wplug at wplug.org
>> http://www.wplug.org/mailman/listinfo/wplug
>>
>
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
>




More information about the wplug mailing list