visudo non-functional in 7.0-RELEASE jail

Randy Schultz schulra at earlham.edu
Wed Jul 30 17:06:26 UTC 2008


On Wed, 30 Jul 2008, Boris Samorodov spaketh thusly:

-}
-}I have 7-STABLE here and some ezjail jails. The "sudo ezjail update -i"
-}command gives me:
-}-----
-}% ls -l /space/jails/basejail/usr/bin/su     
-}-r-xr-xr-x  1 root  wheel  16904 30 июл 20:34 /space/jails/basejail/usr/bin/su
-}-----
-}
-}...while before updating it has been:
-}-----
-}-r-sr-xr-x  1 root  wheel  16904 23 июл 19:09 /space/jails/basejail/usr/bin/su
-}-----
-}
-}Note the bit "s" for the owner of the file. Sure the command
-}"sudo chmod u+s /space/jails/basejail/usr/bin/su" helps here.

Hey Boris,

Tnx for the hint.  Unfortunately my su in and out of the jail both have the
same perms of 4555 so the problem is elsewhere.

--
 Randy    (schulra at earlham.edu)      765.983.1283         <*>

Love with your heart, think with your head;  not the other way around.


More information about the freebsd-jail mailing list