Joe Pfaltzgraff@PATAPSCO
03/09/2001 09:51 AM

You can set the suid bit on the file.  If the program is owned by root, then set
the permissions like:

'chmod 4777 <filename>'

This would allow everyone to tun it, and when they execute the program, it would
assume the userid of the owner of the file.





[EMAIL PROTECTED] on 03/09/2001 09:17:23 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:    (bcc: Joe Pfaltzgraff/Patapsco)

Subject:  user launching as root



I have a little puzzle.

User would like to start some backup software that must be run by
root. This happens often enough so that it would be convenient to put
a launcher in Gnome Panel's menu.

I assume the answer is to create a string that will su itself to root
by issuing the password, and then launch the application, but I've no
idea how to design a string to do that (I'm aware of the security
issue here).

Haines Brown
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs






-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to