I'm writing a script which will be used to "detect" whether a generic, no-frills, user account has access to certain files. Basically a user which only has membership in the "staff" group or ...
Is there an easy way to get a list of users who are in all specified groups? For example, if I have the following users: fred - rainbow, dell jane - hp zippy - rainbow, hp, dell george - hp, dell ...
why is it that when I execute groups the output doesn't contain the adm group, while the output of groups $USER has it? The user is supposed to be in that group.
I have a Centos VM with Samba server and a user on that machine called smbuser in group smbuser. I can connect to my samba share /home/smbuser from my Windows 7 PC no problem. Also on the Centos VM I ...
I have two groups on my machine, groupa and groupb - in groupa I have two users, user1a and user2a. I would like to grant to members of groupa the privs to access groupb resources (run commands, view ...
I'm migrating a lot of small custom scripts and data from a Linux system to another. On the old system we had a shared user that owned most of the files and they where located in that users /home, ...
We are getting more and more outside developers (from different clients) and are beginning to need a better strategy than adhoc adding to our server and adding to them ourcompany group (which owns ...