Need documentation on how to configure a Linux based file server for multiple SSH users access. The documentation must capture the following details outlining each step/commands clearly.
- Configuration of the server to allow access only via SSH (No password authentication)
- Creation of new users and configuration of their public Keys
- Creation of groups and how to apply group level permissions on directories
- Adding users to the groups
- Creation of directories and sub-directories the groups can access
-- Specify where it is recommended to create the directory structure. Is it under the root directory (e.g. /WorkSpace) or there are other recommended locations for such purpose?
- The RWX permissions to be applied for these directories must be at a group level not at an individual user level. (i.e. if a user is added to a particular group then based on the group level permissions the user inherit those permissions for directories/files access)
- Users must be configured to prevent them from going out of the designated directories. i.e. The users must be prevented from accessing system files/directories such as root '/' directory and must be restricted to their designated directory e.g. e.g. /WorkSpace
-- Approach 1: Document chroot approach of restricting SSH users to a standard top-level directory. You must also document how each user will be able to log in as they will be login using SSH keys. Document how to configure multiple ssh users as under chroot each user will be required to have a .ssh directory.
-- Approach 2: Any alternative approach to restricting a user to a predefined directory
- Configuration of logging and notification mechanism that can notify the admin to incase anyone attempts unauthorised directory access.
- Document how to setup 2FA using google authenticator
In the documentation, the following users, groups and directory structure to be followed and documented:
A) Create the following users and their ssh keys
B) Create the following groups include corresponding users as part of the group
- SysAdmin (User: corpAdmin)
- Sales (User: salesStaff)
- Management (User: mgmtStaff)
- TechStaff (User: techStaff)
C) Create the following directory structure and apply the corresponding user/group permissions
- Sales (Sales - R/W/X), (Management - R/X), (SysAdmin - R/W/X)
- Projects (TechStaff - R/W/X), (Management - R/W), (SysAdmin - R/W/X)
- Softwares (TechStaff - R/W/X), (Management - R), (SysAdmin - R/W/X)
----- User1 (TechStaff - R/W/X), (SysAdmin - R/W/X)
----- User2 (TechStaff - R/W/X), (SysAdmin - R/W/X)
- Management (Management - R/W/X), (SysAdmin - R/W/X)
Note: The SysAdmin group must have R/W/X permissions on all the above directories.
Note: No time waster, please. If you are inexperienced or don't have any idea about such implementation, then please don't bid as it will save your time and my time. You must test all the steps on an Ubuntu instance to document it. The sequence of steps must be recorded and must not skip any commands. Once the document is shared with us, we will test those commands on an Ubuntu instance to validate those steps and commands. If all those commands and steps are as expected, then the payment will be released.
11 freelancers are bidding on average ₹3514 for this job
Hello Hope you are doing well. I have 7 years of experience in Linux and system administration. I can create the required documentation. Regards VishnuLal*
Hi, I have read your description, I can create that exact document which you require, I have been working for long time as senior Linux server administrator. Thanks
I can complete this project as soon as possible. I will try to complete before 7 days. Im working in a corporate office in a Linux + AWS project. So it will be easy for me to complete it as soon as possible.