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 problem

Status
Not open for further replies.

shoux

Technical User
Nov 9, 2000
83
MY
Hi expert !

When I run the visudo command. It was prompted the file not found. However, the file is exist in the correct directory.
I’m using root privilege in AIX 5.2 box. Please help me

Thank you expert.


[/usr/local/sbin] ls –l visudo
x - - x - - x 1 root system 102330 May 03 2001 visudo

[/etc] ls –l sudoers
- r - - r - - - - - 1 root system 2013 oct 03 15:43 sudoers

[/usr/local/sbin] su –

#visudo
ksh : visudo : not found


shoux
 
Is /usr/local/sbin in your path?

Try running /usr/local/sbin/visudo

Mike

"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top