Unix/Linux 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 Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 03-06-2013
DustinT DustinT is offline
Registered User
 
Join Date: Jan 2013
Last Activity: 8 December 2014, 8:01 AM EST
Posts: 171
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 Unix and Linux 03-06-2013
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 25 May 2015, 5:09 PM EDT
Location: Saskatchewan
Posts: 20,659
Thanks: 894
Thanked 3,657 Times in 3,420 Posts
If he has the passwords, can't he just su?
Sponsored Links
    #3  
Old Unix and Linux 03-06-2013
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 25 May 2015, 5:09 PM EDT
Location: Saskatchewan
Posts: 20,659
Thanks: 894
Thanked 3,657 Times in 3,420 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 Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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 05:40 AM.