- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- i am getting an error when try to run 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
тАО12-01-2009 09:36 AM
тАО12-01-2009 09:36 AM
i am getting an error when try to run sudo
hostname> /usr/local/bin/sudo su -
You do not have permission to su root
hostname/# uname -
OSF1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2009 09:40 AM
тАО12-01-2009 09:40 AM
Re: i am getting an error when try to run sudo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2009 09:46 AM
тАО12-01-2009 09:46 AM
Re: i am getting an error when try to run sudo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2009 09:51 AM
тАО12-01-2009 09:51 AM
Re: i am getting an error when try to run sudo
also, you *don't* edit it with "vi", use "visudo" instead.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2009 10:01 AM
тАО12-01-2009 10:01 AM
Re: i am getting an error when try to run sudo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2009 10:03 AM
тАО12-01-2009 10:03 AM
Re: i am getting an error when try to run sudo
visudo might be in /usr/local/sbin.
The actual sudoers file **MIGHT** be in /usr/local/etc/sudo, but it depends entirely on the location specified via the installation package for this OS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2009 10:16 AM
тАО12-01-2009 10:16 AM
Re: i am getting an error when try to run sudo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2009 10:18 AM
тАО12-01-2009 10:18 AM
Re: i am getting an error when try to run sudo
Just run visudo, it will automatically open the sudoers file for editing. You can find visudo with the command
# whereis visudo
PS: please assign points.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2009 10:33 AM
тАО12-01-2009 10:33 AM
Re: i am getting an error when try to run sudo
visudo:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2009 10:34 AM
тАО12-01-2009 10:34 AM
Re: i am getting an error when try to run sudo
/usr/local/bin/sudo su - "
But it is the other users that can't sudo up .
that's going to depend on *what* you want to do? Do you have specific users that you want to have this ability or everbody (not recommended) or what?