Computing.Net > Forums > Linux > Running a program as root

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

Running a program as root

Reply to Message Icon

Name: Six
Date: November 14, 2002 at 21:54:54 Pacific
OS: RedHat 8
CPU/Ram: 1.3 256
Comment:

Hi, can I make an icon open a program as root in a normal user mode? So I don;t have to open a terminal and do the su, then program name rigamoral.

Possible? Thanks.



Sponsored Link
Ads by Google

Response Number 1
Name: armin
Date: November 14, 2002 at 22:07:05 Pacific
Reply:


if u use kde u can use
kdesu "programname -arg1 -arg2 .."

if u dont u have to use ssh -X localhost.
you might have to make a little shell script to get that to work.


0

Response Number 2
Name: Jake Thompson
Date: November 16, 2002 at 07:40:48 Pacific
Reply:

If you want to use the program without typing the root password, do it this way (from a shell):

chmod u+s program

If you wanted to make `ls' always run as root (Even though that is stupid) you could:

chmod u+s /bin/ls


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Firewall! urgent Removing rpm



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Running a program as root

Run X program as root www.computing.net/answers/linux/run-x-program-as-root/11774.html

cannot run a program www.computing.net/answers/linux/cannot-run-a-program/25524.html

Wine fails running windows programs www.computing.net/answers/linux/wine-fails-running-windows-programs/23957.html