Monday, May 24, 2010

What happens if someone deletes the /etc/inittab file in solaris m/c?

Hi I am a newbie to unix, was wondering what would happen if someone deletes the inittab file in the solaris m/c... would that crash the OS as such, since thats the file which defines the startup scripts to be run for any level...and since the default login level is also specified in the /etc/inittab, if the inittab file is deleted then, would that mean no body could login in to the system???

What happens if someone deletes the /etc/inittab file in solaris m/c?
Actually, not much of anything would happen until you tried to *change* from one init level to another. So if the system was already booted up and running multiuser, it would be fine - until you tried to shutdown, reboot, or go to single-user mode, ad which point you'd discover you were stuck in multiuser.





Incidentally, starting in Solaris 10, a lot of the functionality of /etc/inittab and the /etc/rc.d directories has been migrated into the Service Management Facility (SMF).


No comments:

Post a Comment