{"id":6398,"date":"2018-04-07T10:17:00","date_gmt":"2018-04-07T15:17:00","guid":{"rendered":"http:\/\/www.carnaghan.com\/?post_type=epkb_post_type_1&p=6398"},"modified":"2018-04-07T10:17:00","modified_gmt":"2018-04-07T15:17:00","slug":"how-to-find-your-uiduserid-and-gidgroupid-in-linux-via-the-command-line","status":"publish","type":"epkb_post_type_1","link":"https:\/\/www.carnaghan.com\/knowledge-base\/how-to-find-your-uiduserid-and-gidgroupid-in-linux-via-the-command-line\/","title":{"rendered":"How to find your uid(userid) and gid(groupid) in Linux via the command line"},"content":{"rendered":"
Open a new\u00a0Terminal Window\u00a0(Command Line) if in GUI mode Find your\u00a0username\u00a0by typing the command:\u00a0\u00a0whoami Type in the command\u00a0id username\u00a0to find your\u00a0gid\u00a0and\u00a0uid EXAMPLE of results:\u00a0uid=1000(username) gid=1000(username) groups=1000(username) ,4(adm),20(dialout),24(cdrom), 46(plugdev),106(lpadmin),121(admin),122(sambashare)<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"epkb_post_type_1_category":[4412],"epkb_post_type_1_tag":[],"yoast_head":"\n