- shashi (new username)
- unicom (old username)
# usermod
-d /home/shashi -m -l shashi unicom
# groupadd
shashi ( Create a group for shashi )
#
system-config-users (GUI interface)
# shashi
(select user)
# Go to
properties – Group – unselected unicom
# select
shashi
# chown -R
shashi:shashi /home/shashi ( change the Ownership )
# cat
/etc/passwd | grep shashi
shashi:x:508:510::/home/shashi:/bin/bash
No comments:
Post a Comment