Sudo questions | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Sudo questions

Solaris


Tags
sudo

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 03-06-2013
DustinT DustinT is offline
Registered User
 
Join Date: Jan 2013
Last Activity: 11 July 2014, 1:45 PM EDT
Posts: 170
Thanks: 27
Thanked 19 Times in 19 Posts
Sudo questions

Here's the scenario

I have user1, user2 and, of course, root. What I want is user1 to be able to sudo as user1 or root and authenticate with their account password, not user1's password or root's.

I've been through:
Code:
man sudo

and I still can't seem to find that answers. What am I missing?
Sponsored Links
    #2  
Old 03-06-2013
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 25 October 2014, 1:15 PM EDT
Location: Saskatchewan
Posts: 19,685
Thanks: 824
Thanked 3,352 Times in 3,139 Posts
If he has the passwords, can't he just su?
Sponsored Links
    #3  
Old 03-06-2013
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 25 October 2014, 1:15 PM EDT
Location: Saskatchewan
Posts: 19,685
Thanks: 824
Thanked 3,352 Times in 3,139 Posts
this link suggests the runaspw option, which you can apply to a user rather than a command in the sudoers file.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
sudo: sorry, you must have a tty to run sudo Satyak Shell Programming and Scripting 8 09-25-2012 07:31 AM
sudo: sorry, you must have a tty to run sudo Apple1221 Shell Programming and Scripting 9 07-31-2012 04:50 AM
ssh foo.com sudo command - Prompts for sudo password as visible text. Help? fluoborate Shell Programming and Scripting 9 11-02-2011 02:18 PM
sudo log and sudo auditing jalite19 AIX 3 12-08-2010 04:11 PM
Unable to use the Sudo command. "0509-130 Symbol resolution failed for sudo because:" Chloe123 UNIX for Dummies Questions & Answers 1 12-21-2009 04:09 PM



All times are GMT -4. The time now is 07:32 PM.