Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.