41⟩ What is umask?
umask stands for 'User file creation mask', which determines the settings of a mask that controls which file permissions are set for files and directories when they are created.
“Linux Administrator related frequently asked questions by expert members with experience in Linux OS. These questions and answers will help you strengthen your technical skills, prepare for the new job test and quickly revise the concepts”
umask stands for 'User file creation mask', which determines the settings of a mask that controls which file permissions are set for files and directories when they are created.
To set this value permanently for a user, it has to be put in the appropriate profile file which depends on the default shell of the user.
To change the run level we have to edit the file "/etc/inittab" and change initdefault entry ( id:5:initdefault:). Using 'init' command we change the run level temporary like 'init 3′ , this command will move the system in runlevl 3.