Re: /home as noexec and X
>>>>> "Avery" == Avery Pennarun <apenwarr@worldvisions.ca> writes:
Ben> Well, there does remain the fact that ~/.xsession does not
Ben> need to be an sh script, but I totally agree; Debian should
Ben> not require ~/.xsession to be executable. I don't think any
Ben> other Unixes do.
Avery> The session start script at U Waterloo uses logic something
Avery> like this:
Avery> if [ -e ~/.xsession ]; then if [ -x ~/.xsession ];
Avery> then exec ~/.xession else sh ~/.xsession fi fi
Avery> I like it.
This is an excellent idea. Branden, I suggest this be how our xinit
scripts do it.
--
Brought to you by the letters J and K and the number 13.
"Bill Gates is a talented evil man." -- Chip Salzenberg
Debian GNU/Linux -- where do you want to go tomorrow? http://www.debian.org/
I'm on FurryMUCK as Che, and EFNet and YiffNet IRC as Che_Fox.
Reply to: