Look at "man su".

If I remember the syntax correctly, you need to issue: "su
root --command=<command>" replacing the <command> with the command you wish
to run.

Oleg.

----- Original Message ----- 
From: "Shai Bentin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 29, 2003 10:01 AM
Subject: change to root


> Question:
>
> JBoss needs to run as root on my machine. I want to add to it's startup
script
> a sequence that changes the user to root. HOw do I do it.
>
> Thanks
>
> Shai
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to