Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am looking to execute a user-interactive shell script once root logged in fedora 16. in another word, I need everything in my system to be automated ( auto root login and auto execute my shell) and end with my shell. how can i execute a shell script on root login (CLI login NOT GUI) ?

note: i have seen this approach Fedora Autologin in runlvel 3 and Autostart application but it does not work on FC16

solved by editing the /root/.bash_profile :-)

share|improve this question
solved by editing the /root/.bash_profile :-) – maxwell Apr 13 '12 at 14:54
Please add your solution as an answer instead. – N.N. Apr 19 '12 at 21:20

You must log in to answer this question.

Browse other questions tagged .