Thursday, September 10, 2015

Adding User on linux


[root@PTUD-VM01-2 ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_ptudvm011-LogVol00
                       20G  8.5G   11G  46% /
tmpfs                 7.8G   72K  7.8G   1% /dev/shm
/dev/sda1             976M   36M  890M   4% /boot
/dev/mapper/vg_ptudvm011-LogVol03
                       49G   52M   46G   1% /u01
/dev/mapper/vg_ptudvm011-LogVol01
                       20G  361M   19G   2% /var
[root@PTUD-VM01-2 ~]# useradd wccc -d /u01/wccc
[root@PTUD-VM01-2 ~]# passwd wccc
Changing password for user wccc.
New password:
BAD PASSWORD: is too simple
Retype new password:
BAD PASSWORD: is too simple
Retype new password:
passwd: all authentication tokens updated successfully.
[root@PTUD-VM01-2 ~]# su - wccc
[wccc@PTUD-VM01-2 ~]$ pwd
/u01/wccc

Share this

0 Comment to "Adding User on linux"

Post a Comment