AllExperts > Experts 
Search      

Sun Operating System

Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More Sun Operating System Answers
Question Library

Ask a question about Sun Operating System
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
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.

 
   

You are here:  Experts > Computing/Technology > Focus on PC Support > Sun Operating System > Setuid

Topic: Sun Operating System



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"


Regards,

Mario Bucsics

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.