[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

/home as noexec and X



Dear Matus,

> I mounted my /home partition as noexec (to have more security on my
> machine) and I found i can't exec scripts like ~/.xsession; would be good
> if it would be execuuted like "exec sh $HOME/.xsession" and not "exec
> $HOME/.xsession" imho

I diasgree: in cases where I'd mount /home as noexec I'd *want* that the
system refuses to execute anything, including .xsession!

In any case noone says that .xsession must be a shell script which your
proposal will force it to be.

Cheers,
	Kristoffer

-- 
Kristoffer Høgsbro Rose, phd, prof.associé  <http://www.ens-lyon.fr/~krisrose>
addr: LIP, Ecole Normale Supérieure de Lyon, 46 Allée d'Italie, F-69364 Lyon 7
phone: +33(0)4 7272 8642, fax +33(0)4 7272 8080  <Kristoffer.Rose@ENS-Lyon.FR>
pgp f-p: A4D3 5BD7 3EC5 7CA2  924E D21D 126B B8E0  <krisrose@{debian,tug}.org>


Reply to: