[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do you...



In message <LGECLINAGEMDNMDFCKKBAEHKCBAA.betwil@viser.net>
	so spake "BetWil @ Viser" (betwil):

> I've been trying to run a command as another user that has /sbin/nologin as
> the shell all without success.  I'm wondering if this has to do with the new
> class system that's been implemented or if you can't run commands as another
> user when they don't have a shell.

I'm not exactly sure what you mean by this.  You cannot 'su' to a
user with /sbin/nologin as their shell since that would just run
/sbin/nologin (which prints an error and exits).

 - todd