{"id":5779,"date":"2022-12-20T18:57:34","date_gmt":"2022-12-20T21:57:34","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/newgrp-da\/"},"modified":"2022-12-20T18:57:34","modified_gmt":"2022-12-20T21:57:34","slug":"newgrp-da","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/newgrp-da\/","title":{"rendered":"NEWGRP (da)"},"content":{"rendered":"<h1 align=\"center\">NEWGRP<\/h1>\n<p> <a href=\"#NAVN\">NAVN<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#BESKRIVELSE\">BESKRIVELSE<\/a><br \/> <a href=\"#KONFIGURATION\">KONFIGURATION<\/a><br \/> <a href=\"#FILER\">FILER<\/a><br \/> <a href=\"#SE OGS\u00c5\">SE OGS\u00c5<\/a> <\/p>\n<hr>\n<h2>NAVN <a name=\"NAVN\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">newgrp \u2212 log ind p\u00e5 en ny gruppe<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"27%\">\n<p style=\"margin-top: 1em\"><b>newgrp<\/b> [\u2212] [<i>group<\/i>]<\/p>\n<\/td>\n<td width=\"62%\"> <\/td>\n<\/tr>\n<\/table>\n<h2>BESKRIVELSE <a name=\"BESKRIVELSE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Kommandoen <b>newgrp<\/b> bruges til at \u00e6ndre den aktuelle grupp\u2212id under en logindsession. Hvis det valgfrie flag <b>\u2212<\/b> er angivet, s\u00e5 vil brugerens milj\u00f8 blive geninitialiseres som om at brugeren havde logget ind, ellers bevares det aktuelle milj\u00f8, inklusiv aktuel arbejdsmappe, u\u00e6ndret.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>newgrp<\/b> changes the current real group ID to the named group, or to the default group listed in \/etc\/passwd if no group name is given. <b>newgrp<\/b> also tries to add the group to the user groupset. If not root, the user will be prompted for a password if she does not have a password (in \/etc\/shadow if this user has an entry in the shadowed password file, or in \/etc\/passwd otherwise) and the group does, or if the user is not listed as a member and the group has a password. The user will be denied access if the group password is empty and the user is not listed as a member.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">If there is an entry for this group in \/etc\/gshadow, then the list of members and the password of this group will be taken from this file, otherwise, the entry in \/etc\/group is considered.<\/p>\n<h2>KONFIGURATION <a name=\"KONFIGURATION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">De f\u00f8lgende konfigurationsvariabler i \/etc\/login.defs \u00e6ndrer opf\u00f8relsen for dette v\u00e6rkt\u00f8j:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>SYSLOG_SG_ENAB<\/b> (boolean)<\/p>\n<p style=\"margin-left:17%;\">Enable &#8220;syslog&#8221; logging of <b>sg<\/b> activity.<\/p>\n<h2>FILER <a name=\"FILER\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/passwd<\/p>\n<p style=\"margin-left:17%;\">Information om brugerkonto.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/shadow<\/p>\n<p style=\"margin-left:17%;\">Information om sikret brugerkonto.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/group<\/p>\n<p style=\"margin-left:17%;\">Information om gruppekonto.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/gshadow<\/p>\n<p style=\"margin-left:17%;\">Information om sikret gruppekonto.<\/p>\n<h2>SE OGS\u00c5 <a name=\"SE OGS\u00c5\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>id<\/b>(1), <b>login<\/b>(1), <b>su<\/b>(1), <b>sg<\/b>(1), <b>gpasswd<\/b>(1), <b>group<\/b>(5), <b>gshadow<\/b>(5).<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>NEWGRP NAVN SYNOPSIS BESKRIVELSE KONFIGURATION FILER SE OGS\u00c5 NAVN newgrp \u2212 log ind p\u00e5 en ny gruppe SYNOPSIS newgrp [\u2212] [group] BESKRIVELSE Kommandoen newgrp bruges til at \u00e6ndre den aktuelle grupp\u2212id under en logindsession. Hvis det valgfrie flag \u2212 er angivet, s\u00e5 vil brugerens milj\u00f8 blive geninitialiseres som om at brugeren havde logget ind, ellers [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[962],"tags":[964,2548,1282],"class_list":["post-5779","post","type-post","status-publish","format-standard","hentry","category-1-comandos-generales","tag-964","tag-da","tag-newgrp"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/5779","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=5779"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/5779\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=5779"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=5779"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=5779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}