Hena
11-05-2001, 06:53 AM
I have two annoying things happening, that i would like to change.
1. How can i add commands to time when user is created. I could do a shell script, but is there a file or something that gets run automatically during user creation and can i add somethings to it?
2. I'm using bash as shell. I know that there is profile and bashrc files to make commands on login, but what about logoff. There are a few things i'd like to make sure happens (such as unmounting novell files) atleast during logoff, so they don't keep on hogging cpu.
Using RH7.1.
1. How can i add commands to time when user is created. I could do a shell script, but is there a file or something that gets run automatically during user creation and can i add somethings to it?
2. I'm using bash as shell. I know that there is profile and bashrc files to make commands on login, but what about logoff. There are a few things i'd like to make sure happens (such as unmounting novell files) atleast during logoff, so they don't keep on hogging cpu.
Using RH7.1.