Click to See Complete Forum and Search --> : Login commands


Evil Jeff
01-05-2001, 01:24 AM
Is there a way to cause a program to run automatically when a user logs into my machine (ie a menu program)?

Evil Jeff
www.hellincorporated.com (http://www.hellincorporated.com)

Strike
01-05-2001, 02:52 AM
Could put it in /etc/profile ...

iDxMan
01-05-2001, 10:14 PM
or in their personal profile.

(~/.bashrc or ~/.profile ?)

-r

Whipping Boy
01-05-2001, 10:24 PM
Or you could even set it as their login shell.

------------------
Kurt Weber
Shell scripts? Shell scripts? We don't NEED no stinkin' shell scripts!
White, heterosexual, middle-class, and proud!
I've never understood why Bill Gates would name his company after his penis

Evil Jeff
01-06-2001, 06:04 AM
Thanks, putting a command in the basrc does it, but how do I make a login command global? Is there a config file in /etc that I can do that in?

Evil Jeff
www.hellincorporated.com (http://www.hellincorporated.com)

Strike
01-06-2001, 07:10 AM
Originally posted by Strike:
Could put it in /etc/profile ...
Yes, there is a global file.. *ahem*