On Tue, 23 Sep 2003, Simon Tischer wrote:

> HI
>
>
>
> I have a script which shout be execute as root, from a normal user shell, with
> nomal user permissions, without asking for root password.
>
> Is there any solution?

You can setup sudo to allow the user to run the script. So if you install
sudo then setup /etc/sudoers as

username  ALL=/path/to/script NOPASSWD

Rgds

Rus
-- 
w: http://www.jvds.com  | Dedicated FreeBSD,Debian and RedHat Servers
e: [EMAIL PROTECTED]        | Dontations made to Debian, FreeBSD
t: +44 7919 373537      | and Slackware
t: 1-888-327-6330       | email: [EMAIL PROTECTED]



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to