Where to set a bash script at login (even for new users)?
Asked by
François Tissandier
I want to run a bash script when users log in, so that we automatically add their shares to the fav places in Nautilus.
As the computers use Likewise to authenticate on an Active Directory, the accounts are not always existing in the /home.
So it's not possible to add the script to a file in /home/login
As I need to find which shares are allowed for the user, I need to have his login when running the script.
So I cannot run it before the user has logged in.
Do you know where I could do that ? Thanks in advance !
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask François Tissandier for more information if necessary.
To post a message you must log in.