About Mario Bucsics Expertise Since 5 Year´s i´m working with Unix Systems an Oracle Databases and now i am going to take the Solaris Certification. You can ask me any question about Oracle and Solaris ( especially Solaris 2.6 ) but please don´t ask me anything about Microsoft Products.
Experience
Past/Present clients One of my biggest client´s is the 2nd and best Telecommunication Company in Vienna ( max.mobil ). I was also involved in the startup phase at www.lion.cc which is the greatest e-commerce company in austria.
Expert: Mario Bucsics Date: 12/19/2000 Subject: Setuid
Question Hi Mario
I am running Solaris 7 on sparc.
I am using sccs in my project.
my project login is 'elt' and all the software is checked in with owner as 'elt'. I want that other users can also check out files and edit the files and check them in again. Is it possible using setuid or something. Pl give an explanation of 'setuid' also.
thanks a lot.
Answer Hi Victor !
Sorry, but i´m not familiar with sccs.
setuid is usefull for programs that should run under anothers uid ( i.e. passwd ). If you are user x and want to change your password you use the passwd command. Since the owner of the passwd command is "root" and the "setuid" bit is set you could modify the "/etc/passwd" or "etc/shadow" file with this command.
To set the "setuid" bit on a program simply use the command "chmod u+s program". But be carefully using this option, this is one way to get access to anothers account.
To find such programs use "find . -perm -4000"