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

Re: how to automatically execute things?

 Thank you for your quick reply but no, I would like to accomplish this
without using xdm or gdm, all hotkeys will be disabled..not only
cntrl+alt+del. You're right..what you suggested was close..but I really do
need netscape to exit by asking the password first. perhaps I need a
perl/shell script or something? and maybe I should reask the questions but
change to subject to "programmers... please help me?"

----- Original Message -----
From: Ethan Benson <erbenson@alaska.net>
To: Joseph de los Santos <jhou@info.com.ph>
Cc: <debian-user@lists.debian.org>
Sent: Sunday, July 16, 2000 2:19 PM
Subject: Re: how to automatically execute things?

On Sun, Jul 16, 2000 at 02:02:27PM -0700, Joseph de los Santos wrote:

#disclaimer: i have never actually tried this.

> Hoping someone can help me out with this..for example I want an ordinary
> user that when he or she logs in a terminal this is what will happen:
> 1.automatically starts x-window

xdm or wdm sound like a safer option here.

> 2.all hot keys will be disabled..ie cntrl+alt+del etc.

touch /etc/shutdown.allow

> 3.run netscape automatically and it will remain opened and it cannot be
> closed without giving the correct password.

the password part i have no idea, but i *think* you should be able to
make it so quitting netscape will logout the user, which should be
close to what you want no?

i would use xdm for the login, this prevents the user from going back
to console 1 (control-alt-F1 which cannot be disabled) and suspending
X, which may or may not yield a shell depending on how you started X.

create an .xsession file like so:

exec /usr/lib/netscape/473/communicator/communicator-smotif.real

that `should' cause netscape to be launched as the window manager,
when netscape dies, the session ends and the user is logged out.

Reply to: