I just want to know how I can find, in a folder, the files that have no group user permission (no read/write/execute) at all, using the terminal.
In ubuntu 18.04 with default desktop, behaviour of logout/login has changed:
Previously on an Ubuntu system, when I find that I need to add my user id to some group, it was sufficient to
sudo adduser ludwig docker # adds me to group docker
and then I had to logout and login again to make the group change effective.
I notice that with Ubuntu 18.04, after adding the group and logging out and back in, the list of effective groups is still unchanged.
As a workaround I rebooted the system, which is inconvenient (requires making the right selection in grub and re-entering the disk encryption password).
- Why is the behaviour now like this?
- Can I do something else short of rebooting?
(I know I can ssh into localhost and get the correct groups in the ssh session only. This is also too inconvenient.)
What is the group "adm" and for what it's use? and what are the differences form the group "admin"?
What is the difference between primary group and secondary group in Ubuntu?
In /etc/sudoers
I see this:
# Allow members of group sudo to execute any command after they have
# provided their password
# (Note that later entries override this, so you might need to move
# it further down)
%sudo ALL=(ALL) ALL
So how do I add a user to that sudo
group?