I have made some changes to /etc/passwd file ,now I wanted to see if the effect of changes taken place or not .What command should I run for that. For example after making change to ...
Is there any reason that /etc/passwd should be world-wide readable ? It's not like password hashes that shouldn't be exposed, I just want to know why.
Closest I can come is: useradd --home / -r --shell /sbin/nologin someuser But this creates an entry into /etc/htpasswd that looks something like this: someuser:x:100:100::/:/sbin/nologin I want ...