Difference between revisions of "2022/11/09/Nix issue/sidetrack"
< 2022/11/09 | Nix issue
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
woozle adm cdrom sudo dip plugdev lpadmin sambashare | woozle adm cdrom sudo dip plugdev lpadmin sambashare | ||
− | For extra bafflement, the Control Panel user-management applet clearly shows that yes, I am in fact a member in good standing of the illustrious <code>nix-users | + | For extra bafflement, the Control Panel user-management applet clearly shows that yes, I am in fact a member in good standing of the illustrious <code>nix-users</code> group: |
[[File:2022-11-09 16-22-40.screen.nix-users group.png]] | [[File:2022-11-09 16-22-40.screen.nix-users group.png]] | ||
Even if I start a new <code>bash</code> session, however, "groups" still doesn't list it. I'd suspect that it's hidden somehow, if it weren't for the fact that <code>ls</code> is acting like my membership is invalid. I'm beginning to suspect some kind of Good Old <s>Boy</s> Code Network in operation here... | Even if I start a new <code>bash</code> session, however, "groups" still doesn't list it. I'd suspect that it's hidden somehow, if it weren't for the fact that <code>ls</code> is acting like my membership is invalid. I'm beginning to suspect some kind of Good Old <s>Boy</s> Code Network in operation here... | ||
+ | ==Solution== | ||
+ | ghost!admin pointed out that opening a new terminal session does ''not'' log in again, and the new group membership won't take effect until the next login. This command does: | ||
+ | sudo login woozle |
Latest revision as of 21:44, 9 November 2022
Figured out a thing: When I added myself to nix-users
earlier, it didn't actually work.
woozle@SamEagle:~/nextcloud/statler/woozle/projects/web/Mastodon/TootCat/nixos-config$ groups woozle adm cdrom sudo dip plugdev lpadmin sambashare woozle@SamEagle:~/nextcloud/statler/woozle/projects/web/Mastodon/TootCat/nixos-config$ sudo usermod -a -G nix-users woozle woozle@SamEagle:~/nextcloud/statler/woozle/projects/web/Mastodon/TootCat/nixos-config$ groups woozle adm cdrom sudo dip plugdev lpadmin sambashare
For extra bafflement, the Control Panel user-management applet clearly shows that yes, I am in fact a member in good standing of the illustrious nix-users
group:
Even if I start a new bash
session, however, "groups" still doesn't list it. I'd suspect that it's hidden somehow, if it weren't for the fact that ls
is acting like my membership is invalid. I'm beginning to suspect some kind of Good Old Boy Code Network in operation here...
Solution
ghost!admin pointed out that opening a new terminal session does not log in again, and the new group membership won't take effect until the next login. This command does:
sudo login woozle