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 03:03 AM
sudoers syntax chuckuykendall UNIX for Advanced & Expert Users 1 11-11-2005 12:22 PM
sudoers file whatisthis Linux 4 12-02-2004 02:59 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-10-2008
Registered User
 

Join Date: Jun 2008
Location: Texas
Posts: 56
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  
Old 06-10-2008
seg seg is offline
Registered User
 

Join Date: Aug 2003
Posts: 103
without using aliases:

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


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

Join Date: Jun 2008
Location: Texas
Posts: 56
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  
Old 06-11-2008
seg seg is offline
Registered User
 

Join Date: Aug 2003
Posts: 103
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  
Old 06-11-2008
Registered User
 

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

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

Join Date: Jun 2008
Location: Texas
Posts: 56
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 Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:24 PM.


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

Content Relevant URLs by vBSEO 3.2.0