Create User
Code Block | ||
---|---|---|
| ||
linbox:~# adduser blah |
...
Adding user `blah' ... |
...
Adding new group `blah' (1010) ... |
...
Adding new user `blah' (1008) with group `blah' ... |
...
Creating home directory `/home/blah' ... |
...
Copying files from `/etc/skel' ... |
...
Enter new UNIX password: |
...
Retype new UNIX password: |
...
passwd: password updated successfully |
...
Changing the user information for blah |
...
Enter the new value, or press ENTER for the default |
...
Full Name []: |
...
Room Number []: |
...
Work Phone []: |
...
Home Phone []: |
...
Other []: |
...
Is the information correct? Y/n y |
Login
...
Code Block | ||
---|---|---|
| ||
inbox:~# su blah |
...
blah@linbox:/root$ cd ~ |
...
blah@linbox:~$ ls -Asl |
...
total 12 |
...
4 rw- |
...
rr- 1 blah blah 220 2010-06-25 12:09 .bash_logout |
...
4 rw- |
...
rr- 1 blah blah 3116 2010-06-25 12:09 .bashrc |
...
4 rw- |
...
rr- 1 blah blah 675 2010-06-25 12:09 .profile |
...
blah@linbox:~$ |