The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
sudoers tjmannonline UNIX for Dummies Questions & Answers 4 05-13-2008 06:45 PM
Sudoers problems. blane UNIX for Advanced & Expert Users 5 04-09-2008 02:18 PM
sudoers on HP 11.11 dhlopomo UNIX for Dummies Questions & Answers 2 01-18-2008 02:03 AM
sudoers syntax chuckuykendall UNIX for Advanced & Expert Users 1 11-11-2005 11:22 AM
sudoers file whatisthis Linux 4 12-02-2004 01:59 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-10-2008
Registered User
 

Join Date: Jun 2008
Location: Texas
Posts: 46
Stumble this Post!
Question sudoers and sudo

Hi,

on solaris 10, I have two users : user1 and user2

I want to create User_Alias and Cmnd_Alias to allow them to execute a command without prompting for sudo password.

command I want these users should be able to run is '/usr/bin/su - abcd' . Also user1 and 2 need not type the 'abcd' user's password.

please let me know how can I do this using visudo

Please treat as urgent

Thanks
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 06-10-2008
seg seg is offline
Registered User
 

Join Date: Aug 2003
Posts: 87
Stumble this Post!
without using aliases:

user1 ALL=(ALL) NOPASSWD: /bin/su - abcd


for further help feel free to read the man page.
Reply With Quote
  #3 (permalink)  
Old 06-11-2008
Registered User
 

Join Date: Jun 2008
Location: Texas
Posts: 46
Stumble this Post!
Quote:
Originally Posted by seg View Post
without using aliases:

user1 ALL=(ALL) NOPASSWD: /bin/su - abcd


for further help feel free to read the man page.
what does the bold ALL mean ?
Reply With Quote
  #4 (permalink)  
Old 06-11-2008
seg seg is offline
Registered User
 

Join Date: Aug 2003
Posts: 87
Stumble this Post!
Quote:
Originally Posted by upengan78 View Post
what does the bold ALL mean ?
You're fired. Go read the man pages.
Reply With Quote
  #5 (permalink)  
Old 06-11-2008
Registered User
 

Join Date: Jun 2008
Location: Texas
Posts: 46
Stumble this Post!
If everyone starts reading man pages they would not need forums, I don't have time for man pages sorry !
Reply With Quote
  #6 (permalink)  
Old 06-11-2008
seg seg is offline
Registered User
 

Join Date: Aug 2003
Posts: 87
Stumble this Post!
Quote:
Originally Posted by upengan78 View Post
I don't have time for man pages sorry !
Find a new profession.
Reply With Quote
  #7 (permalink)  
Old 06-11-2008
Registered User
 

Join Date: Jun 2008
Location: Texas
Posts: 46
Stumble this Post!
so do you, is your job making people read man pages
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
solaris

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:11 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0