Running prog's as other users

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: NathanSapernatedog@well.com
Date:  
Subject: Running prog's as other users
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 -
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>


- --
Primary Email (PGP):
Alternate Email (no PGP):
PGP Key: http://www.well.com/user/natedog/key.pgp
http://www.well.com/user/natedog/
AOL Instant Messenger: linuxfu
ICQ: 64619307
finger