Important! This is an automatic machine translated page. If you can read english, you should Click Here to read the original English version of the article.

See Which Groups Your Linux User Belongs To Žr kokios grupės Linux vartotojas priklauso

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. Jei naudojate Linux sistemoje, verta sužinoti, ką grupių Jūs priklausote, kad būtų galima suprasti, ar turite prieigą prie failų ir katalogų. This is one of the simplest commands possible. Tai yra vienas iš paprasčiausių komandų įmanoma. I'm using Ubuntu linux, but this command should work on most varieties of linux. Aš naudoju Ubuntu Linux, bet ši komanda turi dirbti daugelyje veislių Linux.

groups <username> grupių <nazwa_użytkownika>

If you don't enter a username, it defaults to your own username. Jei nenorite įvesti vartotojo vardą, kad pagal nutylėjimą savo vartotojo vardą. For instance: Pavyzdžiui:

geek@ubuntuServ:$ groups Geek @ ubuntuServ: $ grupės
geek adm dialout cdrom floppy audio dip video plugdev lpadmin scanner admin fuse Geek ADM dialout cdrom floppy garso DIP vaizdo plugdev Lpadmin skaitytuvas Administratorius saugiklis

You can also check the groups for any other user, including root: Taip pat galite patikrinti bet kokiam kitam vartotojui, įskaitant pagrindines grupes:

geek@ubuntuServ:$ groups root Geek @ ubuntuServ: $ grupės 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 Aš šią komandą neseniai įsitikinti, kad mano vartotojo sąskaitą buvo įtrauktas į "saugiklis" grupei, kai buvau getting sshfs set up Getting sshfs įsteigti . . Very useful. Labai naudinga.

This article was originally written on 12/15/06 Tagged with: Šis straipsnis buvo parašytas ant 12/15/06 Tagged with: Suse Linux Suse Linux , , SysAdmin Sysadmin , , Ubuntu Ubuntu

Daily Email Updates Dienos paštas Atnaujinimai

You can get our how-to articles in your inbox each day for free. Galite gauti mūsų kaip prie straipsnių į Jūsų pašto dėžutę kasdien nemokamai. Just enter your name and email below: Tiesiog įveskite vardą ir elektroninio pašto adresą žemiau:


Name: Vardas:
Email: Paštas:

Our Friends Mūsų draugai
Getting Started Paruo


About How-To Geek Apie How-To Geek
What Is That Process? Kas yra šis procesas?
svchost.exe svchost.exe
jusched.exe jusched.exe
dwm.exe dwm.exe
ctfmon.exe Ctfmon.exe
wmpnetwk.exe wmpnetwk.exe
wmpnscfg.exe wmpnscfg.exe
rundll32.exe rundll32.exe
wfcrun32.exe wfcrun32.exe
Ipoint.exe Ipoint.exe
Itype.exe Itype.exe
Wfica32.exe Wfica32.exe
Mobsync.exe Mobsync.exe
conhost.exe conhost.exe
Dpupdchk.exe Dpupdchk.exe Adobe_Updater.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. Copyright © 2006-2009 HowToGeek.com. All Rights Reserved. All Rights Reserved.