edit /etc/group via vigr:
How to use vigr?
like this:
id user
uid=1012(user) gid =1012(user) groups=1012(user)
vigr= editor vi at /etc/group - syntax is the same as in vi
- edit: add user user to group admins
id user
id user
uid=1012(user) gid =1012(user) groups=1012(user), 1019(admins)
Žiadne komentáre:
Zverejnenie komentára