- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sudo with Samba
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
тАО04-22-2004 04:24 AM
тАО04-22-2004 04:24 AM
Sudo with Samba
I am using sudo too.
When I am trying to start or stop samba using sudo I get "Sorry, user xxx is not allowed to execute ../../../stopsmb as root".
Am I missing any configuration ?
thanks
-pradeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2004 04:38 AM
тАО04-22-2004 04:38 AM
Re: Sudo with Samba
Are you using -u option with the sudo command.
logged in as some user.
want to execure /some_file as root. If your sudoers is configured correctly,
try,
sudo -u root /some_file
Hope this helps.
Regds
P.S. : I hope its "u". I'll have to check. Check sudo man pages if that doesn't help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2004 04:49 AM
тАО04-22-2004 04:49 AM
Re: Sudo with Samba
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2004 04:50 AM
тАО04-22-2004 04:50 AM
Re: Sudo with Samba
# grep "username" /etc/sudoers
You need to explicitly define the commands the user is allowed to execute as root. if you don├в t have ALL=ALL next to the user then you probably need to add stopsmb to the list of commands the user is allowed to execute as root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2004 06:02 AM
тАО04-22-2004 06:02 AM
Re: Sudo with Samba
U'r suggestion worked...
thanks
-pradeep