I can't quite understand groups.
For example, lets say if I add the following into my samba
config:
valid users = @users
Must the group users
exist on my system or is a samba group itself?
And if the former, how can I create this group. via groupadd -r users
?
After that, only those valid users in that group can browse files, right?
When I log in now as root
to list all groups via groups
, it just says root
, nothing more, but I need to know all groups.
root
user is only in theroot
group because there is no need for anything else: all permissions are simply ignored by the system. – M Noit Aug 12 '14 at 10:10