Update README.md
This commit is contained in:
parent
3096eef411
commit
da75eb83ca
@ -10,7 +10,8 @@ josh.north@point808.com
|
|||||||
Free for use and modification. Credit is appreciated if you do anything with it but nothing is required.
|
Free for use and modification. Credit is appreciated if you do anything with it but nothing is required.
|
||||||
|
|
||||||
###Theory:
|
###Theory:
|
||||||
Basically, the script should be run on a cron schedule. At run, it searches all users in a specified AD group. It then checks to see if subdirectories exist for the user, if not, it decides to create them. It then loops through to look for directories that do not have a corresponding user in the AD list and deletes them. It technically (at this point) does not revoke access and restart the vpn, this is IMPORTANT, because in my setup we are authenticating against AD anyway as a second layer. This is not fully secure but like I said, it is a major work in progress.
|
Basically, the script should be run on a cron schedule. At run, it searches all users in a specified AD group. It then checks to see if subdirectories exist for the user, if not, it decides to create them. It then loops through to look for directories that do not have a corresponding user in the AD list and deletes them. It technically (at this point) does not revoke access and restart the vpn, this is IMPORTANT, because in my setup we are authenticating against AD anyway as a second layer.
|
||||||
|
This is not fully secure but like I said, it is a major work in progress.
|
||||||
|
|
||||||
###Requirements:
|
###Requirements:
|
||||||
* Ubuntu 14+ (will likely work with plenty of other systems, but I wrote it on and for Ubuntu server)
|
* Ubuntu 14+ (will likely work with plenty of other systems, but I wrote it on and for Ubuntu server)
|
||||||
|
Loading…
Reference in New Issue
Block a user