]> granicus.if.org Git - sudo/commitdiff
Mention the "seteuid(0): Operation not permitted" problem here too
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 16 Jan 2002 00:22:21 +0000 (00:22 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 16 Jan 2002 00:22:21 +0000 (00:22 +0000)
just for good measure.

PORTING

diff --git a/PORTING b/PORTING
index 861e0c03ea7e88bd9ea2c120acb97a1dcdc74273..4c3ecdebd805d98fdcf1e9359815c585186ea3fe 100644 (file)
--- a/PORTING
+++ b/PORTING
@@ -21,6 +21,12 @@ the POSIX sysconf(2) it will be used instead of getdtablesize(2).
 ulimit(2) or getrlimit(2) can also be used on some OS's.  If all
 else fails you can use the value of NOFILE in <sys/param.h>.
 
+Also, some operating systems have a broken implementation of POSIX
+saved IDs.  If sudo prints the error message "seteuid(0): Operation
+not permitted" this means saved IDs are not implemented properly.
+You should run configure with the "--disable-saved-ids" option and
+rebuild sudo.
+
 Sudo tries to clear the environment of dangerous environment variables
 such as LD_* to prevent shared library spoofing.  If you are porting
 sudo to a new OS that has shared libraries you'll want to mask out