Four ways of user creations
1. adduser 2. useradd 3.
redhat-config-user 4. click
system settings – user & groups
#
useradd vasanth
#
passwd vasanth
new password: xxxxxx
retype password: xxxxxx (at least 6
char)
#
useradd –u 650 –d /home/vasanth –m vasanth
# useradd –u 700 –d /home/prem –m prem
# usermod –u 700 -o -l vasanth babaji (username modify from vasanth to babaji)
#
passwd –d vasanth (remove the password)
#
userdel –r vasanth (remove the vasanth user from /home dir)
Some of the important
/etc configuration files modification and processing
#
vi /etc/issue
(After login to the user to display Terminal screen number, date and time)
Terminal
: \l
Date
: \d
Time : \t
Hostname
: \n
wq!
Ctrl
–d (refresh )
#
vi /etc/motd
(Set the title banner for after login to the user )
No comments:
Post a Comment