Operating System - HP-UX
1753263 Members
5172 Online
108792 Solutions
New Discussion юеВ

Re: getting error in while applying sudo

 
UnixT
Frequent Advisor

getting error in while applying sudo

Hi,

we are getting error while applying sudo. The error is as shown below.

$ sudo su -
>>> sudoers file: Alias `SHELLS' already defined, line 362 <<<
>>> sudoers file: Alias `SHELLS' already defined, line 363 <<<
>>> sudoers file: Alias `SHELLS' already defined, line 364 <<<
>>> sudoers file: Alias `SHELLS' already defined, line 365 <<<
>>> sudoers file: Alias `SHELLS' already defined, line 366 <<<
>>> sudoers file: Alias `SHELLS' already defined, line 367 <<<
>>> sudoers file: Alias `SHELLS' already defined, line 368 <<<
sudo: parse error in /opt/iexpress/sudo/etc/sudoers near line 362

Kindly let me know the issue.

Thanks.

Pradeep
2 REPLIES 2
Torsten.
Acclaimed Contributor

Re: getting error in while applying sudo

You need to inspect the file

/opt/iexpress/sudo/etc/sudoers near line 362

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Steven E. Protter
Exalted Contributor

Re: getting error in while applying sudo

Shalom,

/opt/iexpress/sudo/etc/sudoers

IT has to SHELLS aliases.

Either you made a mistake and double copied a line, or you need to change one of those alias lines to something other than SHELLS

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com