Tux Tutorial 1:
Linux Users/Groups: Part 1
In any operating systems , to maintain security and proper user privileges and user application access within OS is very Important.
In any operating systems , to maintain security and proper user privileges and user application access within OS is very Important.
Here are some basic topics we deal with for user administation.
login as root into your system and create two users, “tom” and “nancy”.
susevm01:~ #useradd tom
BAD PASSWORD: it is based on a dictionary word
Retype new password:
passwd: password updated successfully
susevm01:~ #passwd tom
New password:BAD PASSWORD: it is based on a dictionary word
Retype new password:
passwd: password updated successfully
Now do the same thing with user nancy.
For every user you create, a home directory need to be provided for the user. By default for any user home dir is /home/user, for user tom “/home/tom” will be his home directory.
The purpose of having a home dir is , As soon as the user log in to the system. He will be dropped into his home dir.
see the example below.
see the example below.
susekvm01:~ # ssh tom@susevm01
Password:Last login: Wed Jun 15 19:08:47 2016 from 192.168.0.120
Have a lot of fun…
tom@susevm01:~> pwd
/home/tom
Password:Last login: Wed Jun 15 19:08:47 2016 from 192.168.0.120
Have a lot of fun…
tom@susevm01:~> pwd
/home/tom
No comments:
Post a Comment