[BACK]Return to TROUBLESHOOTING CVS log [TXT][DIR] Up to [local] / src / usr.bin / sudo

Diff for /src/usr.bin/sudo/Attic/TROUBLESHOOTING between version 1.6 and 1.7

version 1.6, 2003/04/19 21:57:17 version 1.7, 2004/09/28 15:10:50
Line 11 
Line 11 
 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.
   

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7