-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Verify current active and inactive users on it-vm machine and lab server #3
Comments
notes (conference call 10/12/17):
@carlosparadis, add anything i've missed |
@ryantanaka as part of this, don't forget to check what user is running what that makes the data come back from |
notes i've taken regarding user management, this is not a guide but for reference
|
@ryantanaka don't forget to add here commands to |
update on topics mentioned in our 10/12 conference call
You can use the following command to view what users we currently have on the server: To make this a little more readable, you can run the following command:
Currently looking at best practices. For now, I will go ahead and look into using
We know what permissions users have based on the groups they belong to.
Since it looks like the server was not initially set up or managed with groups in mind, everyone pretty much belongs to their own private group. When adding users, by default they will end up in their own group UNLESS specified otherwise in
Right now, this applies to scrape-util running as root. Other users (unless given sudo) belong to their own group which is a standard group.
This post has some insights into this. Almost every single file outside of someones home directory shows up as not being writable by
Files are on slack.
Navigating to The reason why survey_display is allowed to write to
Under normal circumstances, a standard user can't write to files outside of their home directory, but this specific directory had its permissions changed so that it could be written to. I'm almost positive that whoever initially created this folder used the command Running the command
Great post on this using the OR use
Now we can use that user for running scripts and not have to worry about home folders taking up space, or people trying to log into those users. Additionally the user has its shell disabled so it can't be interacted with. I will test this method on my machine to run scripts from a locked down user with no shell or home folder then report back on the results.. Update: Tested it out, works great. I will put a detailed description of what was done in #5 as it relates to that. moving forward as of 10/17new tasks:
|
Inactive users should have their keys expired.
Related links:
The text was updated successfully, but these errors were encountered: