Running prog's as other users

Nathan Saper natedog@well.com
Thu, 8 Jun 2000 11:03:28 -0700 (MST)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The way I usually do it is:

su -c '<progname>' <username>

Sure it's using su, but it gets the job done for me.

Don Harrop writes:
 > If I'm logged in as root can I run a program as another user without having
 > to su to that user?
 > 
 > Don
 > 
 > 
 > _______________________________________________
 > Plug-discuss mailing list  -  Plug-discuss@lists.PLUG.phoenix.az.us
 > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 > 

- -- 
Primary Email (PGP): natedog@well.com
Alternate Email (no PGP): nsaper420@yahoo.com
PGP Key: http://www.well.com/user/natedog/key.pgp
http://www.well.com/user/natedog/
AOL Instant Messenger: linuxfu
ICQ: 64619307
finger natedog@well.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.5 and Gnu Privacy Guard <http://www.gnupg.org/>

iD8DBQE5P9/nUv7vZyB+cZkRArhuAKCMHtSHPaR3NcHlJuXCmUqMozdt7QCfeTZJ
k71hiMsvExi5BIucNEhPZ64=
=TGhh
-----END PGP SIGNATURE-----