quinta-feira, 4 de janeiro de 2018

HOW TO CREATE A USER AND GROUP IN LINUX

create a grop# groupadd ftp_vi4nn4
create a user# useradd  vi4nn4
add user on group# usermod -a -G ftp_vi4nn4 vi4nn4
list user on group# grep ftp_vi4nn4 /etc/group
list user on group# members ftp_vi4nn4
change password from the user# passwd vi4nn4

for delete group# deletegroup <group>
for delete user#  userdel <user>

Nenhum comentário:

Postar um comentário