LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 01-25-2010, 05:30 AM   #1
malickhat
Member
 
Registered: Jun 2009
Posts: 106

Rep: Reputation: 15
No Sudo in Solaris


Hi,
i've tried to find whether i've been in sudo list or not ,but i can't able to see any /etc/sudoers files in my solaris box ,so what is the file location for sudoers in solaris
so do i have to install something for getting sudo to work
 
Old 01-25-2010, 05:42 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,486

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Yes, sudo isn't part of Solaris 10 or older. You can install it from sunfreeware.com or other repositories. Alternatively, you can use rbac which has similar features.

OpenSolaris bundles sudo but makes use of rbac.
 
Old 01-25-2010, 05:52 AM   #3
malickhat
Member
 
Registered: Jun 2009
Posts: 106

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jlliagre View Post
Yes, sudo isn't part of Solaris 10 or older. You can install it from sunfreeware.com or other repositories. Alternatively, you can use rbac which has similar features.

OpenSolaris bundles sudo but makes use of rbac.
But i think i need to confirm first that i don't have sudo installed ,so for that what will be the location where it'll be normally located
and one more thing i can login by
Code:
su - myname
it ask me username and all that ,but i think it's different for sudoers right
 
Old 01-25-2010, 07:10 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,486

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally Posted by malickhat View Post
what will be the location where it'll be normally located
A common location would be /usr/local/bin, alternative might be /opt/<whatever>/bin.
 
Old 01-25-2010, 12:01 PM   #5
malickhat
Member
 
Registered: Jun 2009
Posts: 106

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jlliagre View Post
A common location would be /usr/local/bin, alternative might be /opt/<whatever>/bin.
But i can see that sudo is in my command list ,where it will be coming from then
 
Old 01-25-2010, 02:09 PM   #6
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 682

Rep: Reputation: 63
Quote:
Originally Posted by malickhat View Post
But i can see that sudo is in my command list ,where it will be coming from then
Try which sudo
$which sudo
/opt/csw/bin/sudo
 
Old 01-25-2010, 04:22 PM   #7
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,486

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Okay, I wrongly thought you were missing the sudo command, not its configuration file. Your sudoers file is probably in /usr/local/etc or /opt/csw/etc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: The Ultimate Sudo FAQ To Sudo Or Not To Sudo? LXer Syndicated Linux News 13 04-13-2013 01:36 AM
installing sudo in solaris 10 dningale Solaris / OpenSolaris 7 01-25-2011 06:10 PM
Unable to start lighttpd as sudo on solaris 9 rajaniyer123 Solaris / OpenSolaris 7 05-11-2008 02:09 AM
Sudo help on Solaris 8 nuganen Solaris / OpenSolaris 2 04-03-2008 04:10 PM
Long Shot Question - Solaris 9 / Sudo / TSM Server. FragInHell Solaris / OpenSolaris 2 11-25-2004 08:05 AM


All times are GMT -5. The time now is 02:44 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration