[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How do you...
Le Wed Jan 03, 2001 at 04:19 -0800,
BetWil @ Viser <betwil@viser.net> disait :
> 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.
You can use the -m parameter which uses the shell of root. You can
then include your shell in the commande. Since the environement is the
root one, you may need to adjust path and home directory.
PS: This mailing-list doesn't have an automatic Reply-To header field.