Clean solution to apply *unix groups without logging out and in again or hacks The 2019 Stack...

How to delete random line from file using Unix command?

Does Parliament need to approve the new Brexit delay to 31 October 2019?

How should I replace vector<uint8_t>::const_iterator in an API?

Python - Fishing Simulator

Wall plug outlet change

Working through the single responsibility principle (SRP) in Python when calls are expensive

How to pronounce 1ターン?

Who or what is the being for whom Being is a question for Heidegger?

Segmentation fault output is suppressed when piping stdin into a function. Why?

Why does the Event Horizon Telescope (EHT) not include telescopes from Africa, Asia or Australia?

Mortgage adviser recommends a longer term than necessary combined with overpayments

Can the DM override racial traits?

Why can't devices on different VLANs, but on the same subnet, communicate?

Simulating Exploding Dice

How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time

What is special about square numbers here?

Road tyres vs "Street" tyres for charity ride on MTB Tandem

What do you call a plan that's an alternative plan in case your initial plan fails?

Make it rain characters

Do working physicists consider Newtonian mechanics to be "falsified"?

ELI5: Why do they say that Israel would have been the fourth country to land a spacecraft on the Moon and why do they call it low cost?

Why can't wing-mounted spoilers be used to steepen approaches?

Can a novice safely splice in wire to lengthen 5V charging cable?

Did the new image of black hole confirm the general theory of relativity?



Clean solution to apply *unix groups without logging out and in again or hacks



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Reload a Linux user's group assignments without logging outFile/folder permissions and groups on Linux with ApacheReload a Linux user's group assignments without logging outLinux user issues with PAM?Ubuntu user ftp accessRsyslog outputting to custom log fileUpstart script that displays errors to the console?locked myself out of fedora systemCan't change any system settings via Chrome Remote Desktop on XubuntuSetting up RS485 serial portsLogin loop kali linux (kalli-rolling)





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







1















Regarding this issue. Why I cannot simply reload my (id) groups, with some special command, after changing (adding/removing/etc) groups? Why there is a need to log out and log in again or creating another shell (e.g.: su - $USER or exec su - $USER)? Is there any "proper" solution to avoid logging out and in again or using nasty hacks? Why is that "system" cannot reload groups/make new assignment (with current shell) without all above hassle?










share|improve this question























  • Does just running bash work to "reset" things in a terminal, since you're now in the "new bash"?

    – Xen2050
    yesterday




















1















Regarding this issue. Why I cannot simply reload my (id) groups, with some special command, after changing (adding/removing/etc) groups? Why there is a need to log out and log in again or creating another shell (e.g.: su - $USER or exec su - $USER)? Is there any "proper" solution to avoid logging out and in again or using nasty hacks? Why is that "system" cannot reload groups/make new assignment (with current shell) without all above hassle?










share|improve this question























  • Does just running bash work to "reset" things in a terminal, since you're now in the "new bash"?

    – Xen2050
    yesterday
















1












1








1








Regarding this issue. Why I cannot simply reload my (id) groups, with some special command, after changing (adding/removing/etc) groups? Why there is a need to log out and log in again or creating another shell (e.g.: su - $USER or exec su - $USER)? Is there any "proper" solution to avoid logging out and in again or using nasty hacks? Why is that "system" cannot reload groups/make new assignment (with current shell) without all above hassle?










share|improve this question














Regarding this issue. Why I cannot simply reload my (id) groups, with some special command, after changing (adding/removing/etc) groups? Why there is a need to log out and log in again or creating another shell (e.g.: su - $USER or exec su - $USER)? Is there any "proper" solution to avoid logging out and in again or using nasty hacks? Why is that "system" cannot reload groups/make new assignment (with current shell) without all above hassle?







linux unix shell






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked yesterday









sobi3chsobi3ch

8201713




8201713













  • Does just running bash work to "reset" things in a terminal, since you're now in the "new bash"?

    – Xen2050
    yesterday





















  • Does just running bash work to "reset" things in a terminal, since you're now in the "new bash"?

    – Xen2050
    yesterday



















Does just running bash work to "reset" things in a terminal, since you're now in the "new bash"?

– Xen2050
yesterday







Does just running bash work to "reset" things in a terminal, since you're now in the "new bash"?

– Xen2050
yesterday












0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1424614%2fclean-solution-to-apply-unix-groups-without-logging-out-and-in-again-or-hacks%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1424614%2fclean-solution-to-apply-unix-groups-without-logging-out-and-in-again-or-hacks%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...