See Which Groups Your Linux User Belongs To A se vedea care grupurile Linux dvs. de utilizator face parte din
When you are using a linux system, it's useful to find out what groups you belong to, so you can understand whether you have access to files and directories. Când utilizaţi un sistem Linux, este util pentru a afla ce grupurile vă fac parte, astfel încât să puteţi înţelege dacă aveţi acces la fişiere şi directoare. This is one of the simplest commands possible. Aceasta este una dintre cele mai simple comenzi posibil. I'm using Ubuntu linux, but this command should work on most varieties of linux. I'm using Linux Ubuntu, dar aceasta comanda ar trebui să funcţioneze pe cele mai multe soiuri de Linux.
groups <username> grupuri de <username>
If you don't enter a username, it defaults to your own username. Dacă nu introduceţi un nume de utilizator, acesta are valoarea implicită propriul nume de utilizator. For instance: De exemplu:
geek@ubuntuServ:$ groups grupuri de geek @ ubuntuServ: $
geek adm dialout cdrom floppy audio dip video plugdev lpadmin scanner admin fuse geek ADM cdrom dialout video floppy audio dip-plugdev lpadmin scanerului fuse admin
You can also check the groups for any other user, including root: Puteţi verifica, de asemenea, grupurile pentru orice alt utilizator, inclusiv root:
geek@ubuntuServ:$ groups root grupuri de geek @ ubuntuServ: $ root
root : root fuse root: root fuse
I used this command recently to make sure that my user account was part of the “fuse” group, when I was Am folosit această comandă recent pentru a vă asigura că contul meu de utilizator a fost parte a fitil "" grup, când am fost getting sshfs set up sshfs Noţiuni de bază constituit . . Very useful. Foarte util.

Daily Email Updates Daily Actualizări de email
You can get our how-to articles in your inbox each day for free. Aveţi posibilitatea să obţineţi modul nostru de-a articole în Inbox în fiecare zi pentru drum liber. Just enter your name and email below: Doar introduceţi numele dvs. şi e-mail de mai jos:


