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 Uzzināt, kuri Grupas Your Linux User Pieder

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. Kad jūs lietojat linux sistēmas, ir lietderīgi uzzināt, ko grupu Jūs pārstāvat, lai jūs varētu saprast tā, vai jums ir piekļuve failus un direktorijas. This is one of the simplest commands possible. Tas ir viens no vienkāršākā komandu iespējams. I'm using Ubuntu linux, but this command should work on most varieties of linux. Es, izmantojot Ubuntu Linux, taču šī komanda būtu jāstrādā par lielāko šķirņu linux.

groups <username> grupām <username>

If you don't enter a username, it defaults to your own username. Ja jums nav ievadiet lietotājvārdu, tas noklusējumus uz savu lietotājvārdu. For instance: Piemēram:

geek@ubuntuServ:$ groups geek @ ubuntuServ: $ grupām
geek adm dialout cdrom floppy audio dip video plugdev lpadmin scanner admin fuse geek adm dialout cdrom floppy audio iemērkšana video plugdev lpadmin scanner admin fuse

You can also check the groups for any other user, including root: Jūs varat arī pārbaudīt citiem lietotājiem, ieskaitot root grupas:

geek@ubuntuServ:$ groups root geek @ ubuntuServ: $ grupām 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 Es izmantot šo komandu nesen pārliecināties, ka manā lietotāja kontā bija daļa no "drošinātāju" grupa, kad man bija getting sshfs set up Getting sshfs izveidota . . Very useful. Ļoti noderīga.

This article was originally written on 12/15/06 Tagged with: Šis pants tika sākotnēji rakstīts uz 12/15/06 tagged with: Suse Linux SUSE Linux , , SysAdmin SysAdmin , , Ubuntu Ubuntu

Daily Email Updates Daily Email Updates

You can get our how-to articles in your inbox each day for free. Jūs varat saņemt mūsu how-to rakstus savā pastkastītē katru dienu par brīvu. Just enter your name and email below: Vienkārši ievadiet jūsu vārdu un e-pasta zemāk:


Name: Vārds:
Email: E-pasts:

Leave a Comment Leave Comment




Leave your Atstājiet savu friendly draudzīgs comment here. komentārus šeit.

If you have a computer help question, Ja Jums ir dators palīdzēt jautājumu, click here to leave it on the forums click here to atstāt uz forumu instead. vietā.

Note: Your comment may not show up immediately on the site. Piezīme: Jūsu komentārs var neparādīties pat tieši uz vietas.

Our Friends Our Friends
Getting Started Getting Started


About How-To Geek Par How-To Geek
What Is That Process? Kas ir šis process?
svchost.exe svchost.exe
jusched.exe jusched.exe
dwm.exe dwm.exe
ctfmon.exe ctfmon.exe
wmpnetwk.exe wmpnetwk.exe
mDNSResponder.exe mDNSResponder.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.