I need a user to run a script that opens a menu when they log in, so added it to their .profile - /home/user/script, but the menu just hangs for ages and when it does come up it doesn't work properly.
If /home/user/script is not added to the users .profile, the user can run the script normally with no problem.
After further investigation it turns out anything that is added to anybodies .profile on this particular box get's run twice! For instance, just adding 'date' to the .profile will show date/time twice when you log in.
Is this an environment problem? I can't see anything obvious. Ideas anybody?
If /home/user/script is not added to the users .profile, the user can run the script normally with no problem.
After further investigation it turns out anything that is added to anybodies .profile on this particular box get's run twice! For instance, just adding 'date' to the .profile will show date/time twice when you log in.
Is this an environment problem? I can't see anything obvious. Ideas anybody?