Adding a user at the system level

jlpeifer

Verified User
Joined
Jun 6, 2006
Messages
107
I have a person who I want to grant SSH access to one of the domains on my site, but I want this person to have a unique un/pw.

Is it possible to add a user at the system level without messing up DA? For instance, by using the "useradd" at the system level?
 
That works, and it doesn't mess up DirectAdmin.

But you'll have to figure out a permissions schema which will allow him to do whatever it is you want him to be able to do.

For example, you can add the user's group to his account (in the /etc/group file), but then you may have to give the user permissions you'd otherwise not want to give it.

Alternatively you can user useradd to set up the account, change the home directory to the home directory of the account he needs to manage, and change the UID/GID in his record in the /etc/passwd file to be the same as that for the user for which he'd need the same rights ... but then you can't tell from your logs which user did the login and anything else.

Ownership, permissions, and security ... that's a book in itself.

Jeff
 
Back
Top