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

Re: /home as noexec and X

On Wed, Dec 09, 1998 at 08:23:46AM -0800, Ben Gertzfield wrote:

> Well, there does remain the fact that ~/.xsession does not need to be
> an sh script, but I totally agree; Debian should not require
> ~/.xsession to be executable. I don't think any other Unixes do.

The session start script at U Waterloo uses logic something like this:

	if [ -e ~/.xsession ]; then
		if [ -x ~/.xsession ]; then
			exec ~/.xession
			sh ~/.xsession

I like it.

Have fun,


Reply to: