version 1.6, 2003/04/19 21:57:17 |
version 1.7, 2004/09/28 15:10:50 |
|
|
Q) Sudo compiles but when I run it I get "Sorry, sudo must be setuid root." |
Q) Sudo compiles but when I run it I get "Sorry, sudo must be setuid root." |
and sudo quits. |
and sudo quits. |
A) Sudo must be setuid root to do its work. You need to do something like |
A) Sudo must be setuid root to do its work. You need to do something like |
`chmod 4111 /usr/local/bin/sudo'. Also, the filesystem sudo resides |
`chmod 4111 /usr/local/bin/sudo'. Also, the file system sudo resides |
on must *not* be mounted with the nosuid mount option or sudo will |
on must *not* be mounted (or exported) with the nosuid option or sudo |
not be able to work. Another possibility is you may have '.' in |
will not be able to work. Another possibility is you may have '.' in |
your $PATH before the directory containing sudo. If you are going |
your $PATH before the directory containing sudo. If you are going |
to have '.' in your path you should make sure it is at the end. |
to have '.' in your path you should make sure it is at the end. |
|
|