New User (Co-Managing the Site)

« Previous Next »

I received an application from a new user.
The setup is complete, and all that’s left is to make it public.

This time, the setup involved co-managing a site, which was a first for me.
Here are my notes on how I did it.

http://www.linux.or.jp/JM/html/shadow/man8/useradd.8.html
Used this site as a reference.

First user:

/usr/sbin/useradd user1

This automatically creates a group named user1, which we then use for subsequent users.
Second user and beyond:

/usr/sbin/useradd -d /home/user1 -g user1 user2

-d specifies the home directory, -g specifies the group to belong to.

That’s it.

With this, co-management is possible on this server. Feel free to apply if you’d like to try it!

Leave a Comment

Your email address will not be published. Required fields are marked *