Raymund's picture

I am using turnkey redmine 14.0.

I would like to know how to create new user in the OS (not in redmine).

I tried using:

useradd newUser

passwd newUser

But when logging in to newUser, I cant seem to go to any folder.

I wanna access /opt and its subfolders

Forum: 
Jeremy Davis's picture

useradd is a low level system utility which by default doesn't do much more than create a new bare bones user account, to get it to create a usable user account you need to specify a number of switches to set things like a home directory etc. adduser is a much more user friendly higher level tool that by default will create a "normal" user account. Give that a go and let us know.

Also keep in mind that TurnKey does not have sudo installed by default so your new user will not be able to do much until you have set appropriate permissions using your root account. If you want to use your new account instead of root then you'll want to install sudo and add your user to the sudo group.

Add new comment