On Saturday 14 January 2012, lynn wrote:
On 14/01/12 14:35, jdd-gmane wrote:
Le 14/01/2012 13:27, lynn a écrit :
Hi everyone.
I've made a user for a process. getent gives me this:: nslcd-user:x:1481:100::/home/nslcd-user:/bin/bash
He shouldn't have a login nor a home folder but useradd asked me for a password. I've tried this:
/etc/shadow nslcd-user:*:15352:0:99999:7:::
But I don't think this is the right way to do it. Sorry to be lazy, but could someone help me do this? Thanks,
there is an option in YaST to disable an user (and be able to re-enable it later)
jdd
Of course. Forgot the most obvious. Now have a nice secure nslcd-user:x:1481:1000::/var/lib/nobody:/bin/false In just 4 clicks!
Even more easy would be just usermod -s /bin/false nslcd-user or usermod -L nslcd-user
Thanks L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org