On Tue, 16 Feb 1999, Akintayo Holder wrote:

 # On numerous occasions I have seen references, telling me to set suid on
 # some executable to root. I believe this would let the executable work as
 # if it was started by root regardless of the user.

Uh huh. It sets the EFFECTIVE user id.

 # 
 # Now how do I set an executable to suid or whatever - there is no suid
 # command is there?

chmod +s filename    # to set SUID
chmod g+s filename   # to set SGID 

 # 
 # --
 # If you don't stand for something, you will fall for anything
 # Public Enemy
 # RH5.2
 # OUT OF ORDER Personal 17728385
 # 
 # 
 # 


G'day!
--                                             n i c h o l a s  j  l e o n
elegance through simplicity*http://mrnick.binary9.net*[EMAIL PROTECTED]
good fortune through truth*roaming:[EMAIL PROTECTED]*ICQ#2170994*U+($++)
TRA#6805*not all questions have answers*pseudogeek:P+++($++)L+($++)W=lm@b9
trust no-one with an iq under 150*understand yourself before trying others

Reply via email to