how can I prevent a user from using the commands "su" and "login" ?
> Hi folks,
> how can I prevent a user from using the commands "su" and "login" ?
If you prevent a user from "login", he cannot log in. So the user will
not be a normal user. Maybe "/bin/false" instead of "/bin/ksh" in
/etc/passwd is what you want (typically used for batch-users). Try also
/etc/security/user - login=false
Try /etc/security/user - su=false. But this is a "reverse" meaning of
yours. It defines whether OTHER users can su to a specific account.
Does anyone know why
struct servent *serv;
gives a warning err of incomparible pointer type?
I also can't get rexec to function. It compiles ok....