|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: How do you...
From: Vincent Bernat (bernat
free.fr)Date: Wed Jan 03 2001 - 11:52:58 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]