Clean install - Add 2nd admin-user --> Error

BBM

Verified User
Joined
Jun 8, 2013
Messages
387
Location
Dutch Mountains
Clean install of a VPS with DA, CentOS 7.

I'm about to restore the admin-account to the new VPS from an old VPS.
So just in case bad things happen, I wanted to create a 2nd Admin-user so I can still always access the VPS.

But after creating a new admin-user in DA I get the following error:

Code:
Error Creating User test

Details
Unix User created successfully
Error writing to %s: %s/home/tmp/testet.jrupjMError opening /home/tmp/testet.jrupjM for writing: No such file or directory

Looks like a permission is being set wrong in the home/user/tmp-directory right after the unix-user is created?
 

BBM

Verified User
Joined
Jun 8, 2013
Messages
387
Location
Dutch Mountains
The home/tmp directory does exist already and is owned by root (similar to my old VPS).
But they are empty in both cases.

Time to tinker is limited for me lately so I'll go ahead and restore the admin-account on the new VPS and hope things don't break enough for me to start over again from scratch :eek:)
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
6,373
Location
Maastricht
Maybe DA has no write access to it? I don't know.
I always protect /tmp and symlink /home/tmp and /var/tmp to /tmp which is chmod 1777.
 

BBM

Verified User
Joined
Jun 8, 2013
Messages
387
Location
Dutch Mountains
Sounds like a plan to do indeed.
I got the admin-account restored on the new box so all is well for that matter.
 
Top