Displaying 1 result from an estimated 1 matches for "nis_modify_passwd".
2011 Apr 12
1
any better way to manage access control via /etc/passwd
We need to manage /etc/passwd where there would be one line at the very end
of the file to restrict access to all users not explictly allowed:
+::::::/sbin/nologin
If using delete_lines and append_if_no_such_lines (similar to this one at
http://www.debian-administration.org/articles/528) to manage access control,
each time a few new users got appended to /etc/passwd file, the above line
would be