- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sudoers file for sudo
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2009 11:44 PM
тАО01-27-2009 11:44 PM
sudoers file for sudo
i would like to undestand what stand for below all Three ALL,
root ALL=(ALL) ALL
i had seen this line in my sudoers file,
i know root = root user
appriciate your reply on this, thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2009 11:58 PM
тАО01-27-2009 11:58 PM
Re: sudoers file for sudo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 12:05 AM
тАО01-28-2009 12:05 AM
Re: sudoers file for sudo
its still not clear to me, any other clue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 12:19 AM
тАО01-28-2009 12:19 AM
Re: sudoers file for sudo
The manuals are quite good so I am not sure
what puzzles you.
Anyway:
root ALL=(ALL) ALL
1 2 3
1 describes the server the sudo is allowed
to run execution on (in this case,
any server)
2 describes as which user root is allowed to
run sudo commands (in this case, any user)
3 describes which commands user root is allowed to execute (in this case, any command)
So, user root is allowed to run all commands as all users on any host!
Another example,
myuser myhost = (oracle) /bin/ls
User myuser is allowed to run /bin/ls
as user oracle on local server myhost...
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 12:20 AM
тАО01-28-2009 12:20 AM
Re: sudoers file for sudo
Aliases
There are four kinds of aliases: User_Alias, Runas_Alias, Host_Alias and Cmnd_Alias.
In your case:
root ALL = (ALL) ALL
is
User_Alias (root) Host_Alias (ALL) = Runas_Alial ((ALL)) Cmnd_Alias (ALL)
I hope its clear now.
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 12:21 AM
тАО01-28-2009 12:21 AM
Re: sudoers file for sudo
Let's try again:
root ALL=(ALL) ALL
1 2 3
The rest of the explanation is as in the
previous post.
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 12:31 AM
тАО01-28-2009 12:31 AM
Re: sudoers file for sudo
let me try with it will let you know if still having any confusion,
thanks for your time :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2010 02:42 PM
тАО01-21-2010 02:42 PM
Re: sudoers file for sudo
Since we all talking about sudoer file, I have a question hopefuly you guys can help me out here.
In sudoer file i got a line is...
fred = ALL (DB) NOPASSWD: ALL
As far as i understand fred can run commands as oracle or sybase without a password, but where is fred define in sudoer file, how would sudoer file understand name "fred" outhere???
If you can help me out here i appricate your reply...Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2010 03:08 PM
тАО01-21-2010 03:08 PM
Re: sudoers file for sudo
man sudoers gives out a detailed description with numerous examples.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2010 06:38 AM
тАО01-22-2010 06:38 AM
Re: sudoers file for sudo
If i want to set user(DBA) act like a root, how do i setup in visudo file.
dba-user ALL = (ALL) ALL
And which command do i should switching to sudo
# sudo dba-user
Please help me out here
Thanks ALL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2010 06:49 AM
тАО01-22-2010 06:49 AM
Re: sudoers file for sudo
Open a new thread this thread is one year old
Regards
Sunny