Results 1 to 5 of 5
hi all,
i am new to linux and trying to learn it ,
Im using RED HAT9 and i want to create a user on whose log in system should ...
- 06-11-2010 #1Just Joined!
- Join Date
- Jun 2010
- Posts
- 3
User profile and scripts
hi all,
i am new to linux and trying to learn it ,
Im using RED HAT9 and i want to create a user on whose log in system should shut down and message should be broadcast to all users logged on.
i will be thankfull if my question is answered
thanks and regards
vaibhav
- 06-11-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
First RH9 is incredibly out-of-date. You should update to RHEL/CentOS 5. Second, this can only be done by root (shutting down system, etc) or if you give the user sudo privileges. In any case, assuming they are running the bash shell, you would put the shutdown command (with nohup) and broadcast message in the user's .bash_logout script.
If you don't understand what I am saying above, then you have a lot of studying to do before you are qualified to do this...
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 06-12-2010 #3Just Joined!
- Join Date
- Jun 2010
- Posts
- 3
Firstly Thank you sir for taking some time out to answer,
neway i do understand ur answer and i know that i need to study a lot but can the user profile be modified in tht way, is it possible? and how?
- 06-12-2010 #4Just Joined!
- Join Date
- Jun 2010
- Posts
- 3
do share me with useful links and study material so tht i can get knowledge
- 06-12-2010 #5Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Most of the answers you need are available in the following locations:
1. System man pages.
2. The Linux Documentation Project
3. Google
There are also a lot of published books available; some free and online, others for purchase from Amazon.com and your local book store, or to be found at your local library (maybe).Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote