Step 1:
mkdir /home/XXX ===>> Create Home Dir.
Step 2:
vim /etc/passwd ===>> Put the Corresponding entry for this file.
Step 3:
vim /etc/shadow ===>> Put the Corresponding entry for this file.
Step 4:
vim /etc/group ===>> Put the Corresponding entry for this file.
Step 5:
vim /etc/gshadow ===>> Put the Corresponding entry for this file.
Step 6:
cp -r /etc/skel/.* /home/XXX/ ===>> Copy all hidden files to corresponding user home dir.
==========>>>>>END<<<<<==========
==========>>>>>END<<<<<==========
Nice boss. Keep it up somu
ReplyDeletehow to type encrypted password in shadow file?
ReplyDeleteHai Suresh,
ReplyDeleteSorry for the Late reply. First u make a encrypted passwd and past in to /etc/shadow.
Procedure:
Type the below command:
#md5pass [passowrd]
you get some encrytped letters. just copy and past the /etc/shadow file. carefully.
K one more question... if possible to know the encrypted password of the word?
ReplyDelete@Suresh,
ReplyDeleteSitll i am searching. that kind of option. if u know that. share with me.