How to change user while logged as root
Is there a way when logged in as root, to run another program as a different user ? I know I know Im not supposed to be running as root, but I had a right nightmare copying my settings across yesterday, and I think I'll tackle it again next week. would like to be running some irc progs, and of course the servers dont like it when you're root. dids
On Sun, Jun 03, 2001 at 08:01:08PM +0100, dids wrote:
Is there a way when logged in as root,
to run another program as a different user ?
su <user> -c <command>
I know I know Im not supposed to be running as root, but I had a right nightmare copying my settings across yesterday, and I think I'll tackle it again next week.
would like to be running some irc progs, and of course the servers dont like it when you're root.
dids
On 03 Jun 2001 12:07:52 -0700, Konstantin (Kastus) Shchuka wrote:
On Sun, Jun 03, 2001 at 08:01:08PM +0100, dids wrote:
Is there a way when logged in as root,
to run another program as a different user ?
su <user> -c <command>
d'oh slaps head. thanks, I only thought you could become root with su. big help dids
participants (2)
-
dids
-
Konstantin (Kastus) Shchuka