Linux Boot Lecture 1-2
Linux Boot Lecture 1-2
&
Network
Administration (MCSA & RHCSA)
After Completing the work of Profile .d the next script is run in the user Home Dir.
.bash_profile
Then it also set the
.bashrc ->you can
Change your cmd
Look and feel from
Here.
Now Login as Root Make new user
Command:
SU - For Switching the user as Root
Useradd waseem
Ls /home/
Userdel –r waseem
///////// -r mean recursive deletion if we used the all data regarding user including its home dir
and mailbox also deleted.
User Important
If we want to to show complete name of the user on login
useradd –c “waseem ” ahmad
By default the user directory create in home we can change the location of directory.
Mkdir/home/admin
Useradd –c “fawad” -d /home/admin/fawad fawad