sudo access problems with login (126 Views)
Reply
Frequent Advisor
marvin51796
Posts: 90
Registered: ‎03-12-2012
Message 1 of 5 (126 Views)

sudo access problems with login

I have added a new user to my sudoers file, just like the other ones that are already in there and when he goes to do a sudo -i he gets this. Does any one have any ideas? this is on hpux ver 11vi3.

 

/home/XXXXX# sudo -i XXXXX

You have mail.

sh: XXXXX:  not found.

logout

 

 

thanks

 

Please use plain text.
Honored Contributor
Robert_Jewell
Posts: 1,210
Registered: ‎06-26-2001
Message 2 of 5 (112 Views)

Re: sudo access problems with login

I assume the XXXX is referencing a command that is being attempted to run?  Does it matter what the command is?

 

 

The -i option engages the target user (root) .profile, so perhaps something in there is not setting up the path correctly.  What if you try the command using absolute pathing?

 

 

-Bob

Please use plain text.
Frequent Advisor
marvin51796
Posts: 90
Registered: ‎03-12-2012
Message 3 of 5 (93 Views)

Re: sudo access problems with login

no, when he does a sudo -i, he gets user has no access to /bin/sh as root on server abcde...

 

 

Please use plain text.
Frequent Advisor
marvin51796
Posts: 90
Registered: ‎03-12-2012
Message 4 of 5 (73 Views)

Re: sudo access problems with login

has anyone heard of any problems with ldaup not working with 4bit UID's???

Please use plain text.
Frequent Advisor
marvin51796
Posts: 90
Registered: ‎03-12-2012
Message 5 of 5 (71 Views)

Re: sudo access problems with login

I have actually got this working thanks for the help

 

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation