Date: Wed, 30 Jul 2008 13:06:23 -0400 (EDT) From: Randy Schultz <schulra@earlham.edu> To: freebsd-jail@freebsd.org Subject: Re: visudo non-functional in 7.0-RELEASE jail Message-ID: <Pine.BSF.4.64.0807301303320.18456@tdream.lly.earlham.edu> In-Reply-To: <14238192@ipt.ru> References: <20080729221150.GA92564@k7.mavetju> <Pine.BSF.4.64.0807301200420.18456@tdream.lly.earlham.edu> <14238192@ipt.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---182915672-1267482390-1217437583=:18456 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE 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 =20 -}-r-xr-xr-x 1 root wheel 16904 30 =D0=B8=D1=8E=D0=BB 20:34 /space/jails= /basejail/usr/bin/su -}----- -} -}...while before updating it has been: -}----- -}-r-sr-xr-x 1 root wheel 16904 23 =D0=B8=D1=8E=D0=BB 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@earlham.edu) 765.983.1283 <*> Love with your heart, think with your head; not the other way around. ---182915672-1267482390-1217437583=:18456--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.64.0807301303320.18456>