Question regarding /etc/passwd 2006-08-05 - By administrator tootai
Back Rick Stevens wrote: > On Fri, 2006-08-04 at 09:35 -0700, Waldher, Travis R wrote: > >> If in the shell location of an account, a /dev/null entry is placed. >> >> The account can't login, as there is no shell to login to. Correct? >> >> Can scripts, etc. be executed as that account? If so, how? I'm >> assuming via su. >> > > Uh, the more proper thing to do is make the shell either /sbin/nologin > or /sbin/noaccess (whichever is appropriate to your system) or the old > standby, /bin/false. I wouldn't set it to /dev/null. > +1 > Note that if the shell No, you can't run anything that needs a shell or > stdin/stdout/stderr. > Other solution is to replace the x from /etc/passwd password column with * which means no terminal.
-- Daniel
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Redhat-install-list mailing list Redhat-install-list@(protected) https://www.redhat.com/mailman/listinfo/redhat-install-list To Unsubscribe Go To ABOVE URL or send a message to: redhat-install-list-request@(protected) Subject: unsubscribe
|
|