notes/ubuntu/users.md

12 lines
244 B
Markdown
Raw Normal View History

2019-03-30 02:28:55 -04:00
add a new user and then add to multiple groups
`adduser user_name`
`usermod -a -G adm,sudo user_name`
`chfn` -> changes full name
change a ownership
`chown file_or_dir user_name`
`chgrp file_or_dir user_name`
delete user
`userdel user_name`