Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sudo -s

Status
Not open for further replies.

ddrillich

Technical User
Jun 11, 2003
546
US
Good Day,

I see the following -

Code:
[ddril00@slvgdv70 dan]$ sudo -s
Password:
Sorry, user ddril00 is not allowed to execute '/bin/bash' as root on slvgdv70.safeway.com.

What do you think can be done?

I also see -

Code:
[ddril00@slvgdv70 dan]$ uname -a
Linux slvgdv70.safeway.com 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux


Regards,
Dan
 
Presenting it a bit better..

Code:
[ddril00@slvgdv70 dan]$ sudo -s
Password:
Sorry, user ddril00 is not allowed to execute '/bin/bash' as root on slvgdv70.safeway.com.
[ddril00@slvgdv70 dan]$
 
I don't understand what you mean by what can be done?
Are you trying to make ddril00 assume root or is this some sort of security alert that you are trying to block? If you are trying to become root, try sudo -i instead of sudo -s. Also make sure that ddril00 is in the sudoers file (use visudo).

 
Right, I'm trying to make ddril00 assume root.

When running sudo -i, I get the same message - "Sorry, user ddril00 is not allowed to execute '/bin/bash' as root on slvgdv70.xxxx.com".

Regards,
Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top