Add User :
# useradd --home /home/kusdi kusdi
change Password :
# passwd kusdi
Changing password for user kusdi.
New password:
Retype new password:
Delete User :
#userdel kusdi
Create Group :
#groupadd jin_system
menambahkan user yang sudah ada kedalam group jin_system :
#usermod -G jin_system kusdi
atau
#usermod -G jin_system,jin kusdi
cara menghapus group :
#groupdel jin_system
ket :
-g Group ID for the group, which must be unique and greater than 499
-r Create a system group with a GID less than 500
-f When used with -g<gid> and <gid> already exists, groupadd will choose another unique <gid> for the group.
No comments:
Post a Comment