how to execute a program/script automatically after a successful login

Sy Beamont sbeam at attbi.com
Fri Dec 12 14:52:17 UTC 2003


On Friday 12 December 2003 08:45, Grosswiler Roger wrote:
> Thanks a lot.
>
> Nevertheless, this is an idea...What i am looking for is wheather there
> exists a built-in-feature within linux/fedora for this issue.
>
> is there someting built-in in linux/fedora that says "this user has logged
> in, i have to execute the following scripts/programs automatically
> immediately" ?

uh, /etc/profile? 

also all the scripts in /etc/profile.d/ are executed when a user logs in. For 
startup of a shell look in /etc/bashrc

HTH





More information about the users mailing list