{"id":607,"date":"2014-11-05T14:50:28","date_gmt":"2014-11-05T14:50:28","guid":{"rendered":"http:\/\/vickistan.com\/?p=607"},"modified":"2016-08-19T16:36:51","modified_gmt":"2016-08-19T16:36:51","slug":"differences-in-useradd-command-in-different-linux-distributions","status":"publish","type":"post","link":"https:\/\/vickistan.com\/?p=607","title":{"rendered":"Differences in useradd command in different Linux Distributions"},"content":{"rendered":"<p>In Ubuntu and Debian:<\/p>\n<p>By  default,  each  user  in  Debian GNU\/Linux is given a corresponding group with the same name.<\/p>\n<p>In RedHat\/CentOS,Gentoo<\/p>\n<p>If not specified, the behavior of useradd will depend on the USERGROUPS_ENAB variable in \/etc\/login.defs. If this variable is set to yes (or -U\/&#8211;user-group is specified on the command line), a group will be created for the user, with the same name as her loginname. Otherwise, useradd will set the primary group of the new user to the value specified by the GROUP variable in \/etc\/default\/useradd, or 100 by default.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Ubuntu and Debian: By default, each user in Debian GNU\/Linux is given a corresponding group with the same name. In RedHat\/CentOS,Gentoo If not specified, the behavior of useradd will depend on the USERGROUPS_ENAB variable in \/etc\/login.defs. If this variable &hellip; <a href=\"https:\/\/vickistan.com\/?p=607\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-607","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/vickistan.com\/index.php?rest_route=\/wp\/v2\/posts\/607","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vickistan.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vickistan.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vickistan.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vickistan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=607"}],"version-history":[{"count":2,"href":"https:\/\/vickistan.com\/index.php?rest_route=\/wp\/v2\/posts\/607\/revisions"}],"predecessor-version":[{"id":757,"href":"https:\/\/vickistan.com\/index.php?rest_route=\/wp\/v2\/posts\/607\/revisions\/757"}],"wp:attachment":[{"href":"https:\/\/vickistan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=607"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vickistan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=607"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vickistan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}