- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to restrict users in 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
Forums
Discussions
Discussions
Discussions
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
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
08-04-2006 05:38 AM
08-04-2006 05:38 AM
How to restrict users in SUDO?
How do I specify in sudo to stop all the user from shell level to stop doing any commands, only 4 users should be able to do any root command and force this 4 users to use sudo. I am not sure if it's possible.
How would I configure this?
Thanks,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2006 05:43 AM
08-04-2006 05:43 AM
Re: How to restrict users in SUDO?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2006 05:48 AM
08-04-2006 05:48 AM
Re: How to restrict users in SUDO?
If your saying all your users are setup in sudo as ALL ALL then you need to read the sudo documentation it tells exactly how to restrict people.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2006 05:53 AM
08-04-2006 05:53 AM
Re: How to restrict users in SUDO?
Also sudo is a very complete tool, for which the information on how to restrict users got to be read.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=87437&admit=-682735245+1154713773183+28353475
Regards,
jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2006 06:08 AM
08-04-2006 06:08 AM
Re: How to restrict users in SUDO?
OK, I am sorry for not being clear but this what I am trying to setup:
I have couple user that need setup in sudo file and I want them to force to user sudo. My understanding was that in order for me to monitor; they need to start the command with sudo (command name).
Also, I am trying to restrict some of them with certain root command.
This is what I have configured in sudo configuration file.
a124 ALL=(root) ALL --> (this means he can do any thing as root)
m5678 ALL=(root) ALL
z789 ALL=(root) ALL
mike ALL=/rm --> (this means that he can not do rm.)
Hopefully I am clear enough.
Appreciate your help.
Thanks,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2006 07:25 AM
08-04-2006 07:25 AM
Re: How to restrict users in SUDO?
Example
mike !rm --> (this means that he can not do rm.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2006 11:10 AM
08-05-2006 11:10 AM