How to create an account on linux(username, password, home)
1. Loggin as root user, run
userdel -r wli #delete user wli and its home directory content
useradd -d /localhome/wli wli # home directory: /localhome/wli
passwd wli
##### type in new password here, say 123456
2. Log in as user wli
userdel -r wli #delete user wli and its home directory content
useradd -d /localhome/wli wli # home directory: /localhome/wli
passwd wli
##### type in new password here, say 123456
2. Log in as user wli
0 Comments:
Post a Comment
<< Home