Koozali.org: home of the SME Server

exclude 2 users from EVERYONE

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
exclude 2 users from EVERYONE
« on: November 08, 2016, 06:58:25 PM »
Hi

I have a mother company (20 users) and now the bring son company (2 users) to under same roof.
And because this they dumped old server and use just one share on mother company.

Ok, so son´s computers run under same domain as mother computers: ooopps... permissions problem.
There are a lot of shared folders everyone on mother company has access and now the son company computers will acess too.

I could do a hack on /etc/groups and remove two users (son1 and son2) from there... but not sure it this will survive more than a reboot.

There are an official way to do this ?

Regards

Jáder
...

Offline idp_qbn

  • *****
  • 347
  • +0/-0
Re: exclude 2 users from EVERYONE
« Reply #1 on: November 09, 2016, 10:14:26 PM »
Hi Jáder

Create a new group eg mother-users.
Put all users on the "mother" system into that group.
Give that group access to what it needs.

You can do the same with "son" users (but since there are only two it may not be worthwhile).
Create a group son-users and put all users of the "son" system into that group.
Give that group access to what it needs.

This WILL survive a reboot - AND a Restore.

AND-  if you had a backup server running AFFA, it would survive a "RISE" operation on the backup server.

Only give "everyone" access permission to something you really do want everyone to be able to see.....or modify/delete if that's what you want. Use it sparingly and carefully.  It should not be your all-in, one-size-fits-all, standard solution for access.

Cheers and good luck.
Ian
___________________
Sydney, NSW, Australia

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: exclude 2 users from EVERYONE
« Reply #2 on: November 11, 2016, 07:05:42 PM »
Hi Ian

Thanks by pointing the obvious solution.
I was unable to see it! :$

I´ll test ... and let you to know.

Bye.

Regards

Jáder
...