Hi All

I have a problem which is crucial for people using kde and gnome. All
our computers have some extra code in their /etc/zshenv file which
delimits which people can use which machines. Essentialy it runs like
this 

 if ! fgrep -x "$LOGNAME" $LABDIR/lab2.5 ; then

and some more code..

So if the logname is not in the file lab2.5 for example, the user cannot
log in.  There is no .zshenv in the user's home directory which would
override this file, and everyone uses zsh - which means that /etc/zshenv
is always consulted upon login - or so I thought. Apparently kde and
gnome (unlike fvwm95) do not consult the /etc/zshenv file because under
kde and gnome anyone can login to any machine without these checks being
made. 

I had a look in the startkde script to see if I could make a reference
to source /etc/zshenv there, but that does not work either. 

If I want to have people use kde or gnome, I really have to source
/etc/zshenv to control which person uses which machine. 

Anyone knows how I can make kde and gnome source /etc/zshenv? Or,
alternatively, where in kde and gnome startup files I can place the same
lines of code that checks which people can use which machines? 

Your help will be greatly appreciated. 

Thanks

Hugo 

-- 
Dr Hugo Bouckaert - Systems Administrator, Computer Science UWA
Tel: +(61 8) 9380 2878 / Fax: +(61 8) 9380 1089
Email: [EMAIL PROTECTED] / Web: http://www.cs.uwa.edu.au/~hugo


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to