su: illegal option -- e
su: illegal option -- l
su: illegal option -- e
su: illegal option -- v
su: illegal option -- e
su: illegal option -- 2
Password:
The way I got around this was as follows.
Create a script for the vision user called vscr.sh.
Then, as root, run a script with with the following line in it:
su - vision -c vscr.sh
This ran the script OK in a shell as the vision user.
A salesman is a machine for turning coke into obnoxious arrogance.
Hi.
Maybe sudo isn't a universal unix command?
I can't find any reference to it in the manual & it doesn't seem to be recognised when I try to call it.
DJL
A salesman is a machine for turning coke into obnoxious arrogance.
Yes only root can "su" without providing a password.
Obviously you shouldn't be able to provide a password from a readable file ... because it would be an humoungus leak in the security system ... because everybody could read that file.
sudo is not a standard command, but an third party utility
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.