Add new usersu useradd hslakhan passwd visudo (to add to /etc/sudoers - or see which sudo grp like wheel) usermod -G wheel hslakhan
Add new group Sudo groupadd group 1 Usermod –G group 1,group2 hslakhan Tail /etc/groups hslakhan> newgrp group1 (change primary group)
Delete Useruserdel hslakhan rm -rf /home/hslakhan OR userdel -r hslakhan
Become other user su hslakhan sudo su hslakhan (no passwd needed)
New Page
Möchten Sie kostenlos Ihre eigenen Notizen mit GoConqr erstellen? Mehr erfahren.