Cygwin - Create Windows User Group
Last Updated: 06/14/13
This guide is the fourth part of my Cygwin SSH server series and assumes that the first three guides have already been completed. If you have not yet completed those articles, click here to go to the first article. That being said, the content displayed here is not Cygwin specific. This article discusses how to create a Windows user group. This user group will be used to easily manage all of the current users on your SSH server. This article also makes the assumption that you have at least one user that you wish to add to this user group. If not, you can skip the steps involving adding a new user (Step 6 through the end) and do that at a later point in time.
Begin by clicking on the start menu and typing “%windir%\system32\compmgmt”. Click on “compmgmt.msc”, this will open up the computer management interface. You will need administrative privileges to make changes in this program. If you are not an admin, then you probably should not be following this tutorial 😉
On the left-hand side under “Computer Management” and under “System Tools” expand “Local Users and Groups”.
Click on “Groups” to display the current Windows user groups on your computer.
Right click somewhere in the center field, where all of the group names are shown. Click on “New Group…” to create a new group.
Give your group a name and description, such as those shown in the picture below and then click on “Create”. Make sure the name you give the group will be rememberable, as this group name will be used in the future. It is recommended that you stick with my naming convention, as this group name will be used in future tutorials.
NOTE: If you do not wish to add any users to this group / do not have any users to add to the group, you may stop the tutorial at this point and continue at a later point in time; otherwise, continue.
Right click on your newly created group and click on “Properties”.
Currently, there are no users in the user group. To add a user, click on the “Add…” button.
NOTE: You will need to add each user you want to access your files to this user group. In one of my later tutorials, I will provide a script I wrote to automatically add / remove users. Until then, you will need to manually add users by using this method.
In the window that pops up click on “Advanced…”.
Click on “Find Now”. This will search your computer for all of your users and user groups.
Select the user(s) that you wish to add. For this example, I created the dummy user, “myUser”. If you wish to add more than one user, press and hold CTRL to select them. When you’ve selected all of the users that you wish to add, click on “OK”.
This concludes the fourth part of the Cygwin SSH server series. The next article in the series covers the creation and addition of a new user to the server. Click here to link to that article.