Logon scripts
How can i set up a scripts that will apply to all users at the logon.
I know theres a file called .bashrc in each user s home directory. But that file only affected the user. |
Hi,
/etc/profile could be used. It's global for all users (I do assume they all have a bash or (pd)ksh shell). Hope this helps. |
hurray !! thanks dude. actually the good file is /etc/bashrc but i could never find it without the informations in /etc/profile. :D
|
Hi,
You're welcome :) BTW: /etc/bashrc could be the file you meant, but this file is not always read (depending on how your distro set things up). Most of the time /etc/profile is read during startup. For the details on which files are read take a look at bash' manpage (The INVOCATION section). |
All times are GMT -5. The time now is 02:02 PM. |