- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Need Help Sudoer 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
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-22-2010 07:33 AM
тАО01-22-2010 07:33 AM
Need Help Sudoer file for Sudo
I need help in sudoer file. I have define few line below
Runas_Alias DB = oracle, sybase
# User privilege specification
sybasev2 All=(ALL) SETENV: ALL
# DBA can run commands as oracle or sybase without a password
sybasev2 ALL = (DB) NOPASSWD: ALL
when i type command sudo sybasev2 -> got an error "user NOT in sudoers"
Actually what i want to do is i want to create user account sybasev2 act as like root.
If someone can help me out here i would appreciate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2010 07:44 AM
тАО01-22-2010 07:44 AM
Re: Need Help Sudoer file for Sudo
%wheel ALL = (ALL) ALL
here the wheel is a group and anyone in the wheel group can have root privilege.
You need to login in as sybasev2 and run sudo to get what you want.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2010 08:07 AM
тАО01-22-2010 08:07 AM
Re: Need Help Sudoer file for Sudo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2010 08:47 AM
тАО01-22-2010 08:47 AM
Re: Need Help Sudoer file for Sudo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2010 08:58 AM
тАО01-22-2010 08:58 AM
Re: Need Help Sudoer file for Sudo
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2010 09:30 AM
тАО01-22-2010 09:30 AM
Re: Need Help Sudoer file for Sudo
then you should be able to modify "%wheel" actions / defiitions in sudoers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2010 10:04 AM
тАО01-22-2010 10:04 AM
Re: Need Help Sudoer file for Sudo
1> Put the user in the group where root exists, so it will have all the permissions of root.
2> You can otherwise create the user and give permission like
But before giving root to anyuser, make sure what you are giving to him...!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2010 11:15 AM
тАО01-22-2010 11:15 AM
Re: Need Help Sudoer file for Sudo
what i did in /etc/group added
root::0:root,
In sudoer file :
Cmnd_Alias REBOOT = /usr/sbin/reboot
Cmnd_Alias SHUTDOWN = /usr/sbin/shutdown
# sudo
(They still ask me for password )
Can someone see what i did wrong?
Thanks for all of you input...