search for: ulckpwdf

Displaying 2 results from an estimated 2 matches for "ulckpwdf".

Did you mean: lckpwdf
2000 Jan 29
0
problem with shadow suit in RH5.2 ??
...--------------------- #include <stdlib.h> #include <shadow.h> void main() { if(lckpwdf()) { printf("Failed to get password locks\n"); exit(0); } printf("password files locked\n"); sleep(60); ulckpwdf(); printf("password files unlocked\n"); exit(0); } ------------------------ Yet the following sequence of events leads me to believe that the functions lckpwdf() and ulckpwdf() are not being used with the support programs that are in the shadow suit itself. -...
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