Finding a User's UID and GID
You want to know a quick way to check the UIDs of users and see what groups they belong to.
Use the id command:
$ id carla
uid=1000(carla) gid=1000(carla) groups=1000(carla),20(dialout),24(cdrom),25(floppy),
29(audio),30(dip),44(video), 105(windows),432(usb),1001(cdrecording)
You want to know a quick way to check the UIDs of users and see what groups they belong to.
Use the id command:
$ id carla
uid=1000(carla) gid=1000(carla) groups=1000(carla),20(dialout),24(cdrom),25(floppy),
29(audio),30(dip),44(video), 105(windows),432(usb),1001(cdrecording)
0 Comments