- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SUDO - Parse Error
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
тАО05-02-2011 10:38 AM
тАО05-02-2011 10:38 AM
SUDO - Parse Error
"parse error in /opt/iexpress/sudo/etc/sudoers near line 89"
"no valid sudoers sources found"
I have added a line like the following for my account: "mylogin ALL=(ALL) ALL"
I've also uncommented the following line: "%sudo ALL=(ALL) ALL" created a sudo group and put my account in it.
Any help would be greatly appreciated. Thanks,
John
- Tags:
- sudo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2011 10:51 AM
тАО05-02-2011 10:51 AM
Re: SUDO - Parse Error
You probably have a syntax error in your sudoers file. Either a malformed entry in there or some stray special characters could cause this.
Try to cat -v the file and look for trash or unnecessary characters/spaces/tabs, etc.
Maybe just remove the file and start fresh. If you installed the MAN pages, do a man on sudoers and maybe find the sytax or some examples in there.
Hth,
-klb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2011 10:06 AM
тАО05-03-2011 10:06 AM
Re: SUDO - Parse Error
I then removed the whole Internet Express Bundle, rebooted and reinstalled the Internet Express Bundle.
I haven't modified the SUDOERS file yet and still get the same errors when I use sudo as a non-root user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2011 02:00 PM
тАО05-03-2011 02:00 PM
Re: SUDO - Parse Error
If you go into 'visudo' and then try to exit, does it display any errors? When using 'visudo' if there is a problem in the file it should tell you if there is a problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2011 10:33 AM
тАО05-04-2011 10:33 AM
Re: SUDO - Parse Error
Line 89 and 90 are below [lines I didn't modify]:
## Read drop-in files from /opt/iexpress/sudo/etc/sudoers.d
## (the '#' here does not indicate a comment)
I opened a case with HP and they've forwarded me to the Internet Express group [the bundle that sudo was included in].
I'll post the resolution when/if I get it fixed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2011 10:47 AM
тАО05-04-2011 10:47 AM
Re: SUDO - Parse Error
I suspect either syntax error or content incompatibility in the file.
It's also possible you've got a permissions issue that limits access to something as a normal non-root user or with the setuid bit on various executables related to sudo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2011 05:38 AM
тАО05-05-2011 05:38 AM
Re: SUDO - Parse Error
it now reads as below and works.
[last 2 lines]
## (the '#' here does not indicate a comment)
## #includedir /opt/iexpress/sudo/etc/sudoers.d
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2011 07:58 AM
тАО05-05-2011 07:58 AM
Re: SUDO - Parse Error
HAHA, Nothing like a couple built in "issues" to keep the support folks busy eh?
How much of that is going on in today's "let's just outsource everything" environment. If all HP does is pay the bills, how could they possibly know exactly what those remote groups of developers and support 'engineers' are doing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2011 08:37 AM
тАО05-05-2011 08:37 AM
Re: SUDO - Parse Error
Ou - Bullseye scary thought.