I'm trying to set up a guest account and in it a script that will prompt
the user for pop3 and smtp server and username, then write the info to a
config file and launch sylpheed. On logout, I want .bash_logout to
remove the config file and any mails in the Mail folder. I have written
the commands in .bash_logout, but when I log back in as guest the old
settings are still there.

I could always delete the files on log in, but I'd prefer to do it on
log out.

Some other facts: .bash_profile automatically starts X if guest logs in
on tty1. XFce4 is the environment. When I quit XFce4, it automatically
boots me out of my session and brings up the logon prompt. If I access
the account via ssh .bash_logout does get executed. So, quitting XFce4
skips .bash_logout?

Ideas or suggestions appreciated.

Todd

-- 
If we don't believe in freedom of expression for people we despise,
we don't believe in it at all. -Noam Chomsky

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to