Submitted by gl3ny on Mon, 07/05/2010 - 13:56
If I add a new ftp user user under a domain, then change the shell for that user to bin/sh to allow sftp access, that user gets permission to access modify files for that domain.
How can I add a user similar to root that can act as an admin and oversee all domains?
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Mon, 07/05/2010 - 17:03 Comment #1
There's a couple of ways of doing this, depending on what kind of access you want to allow.
If you want to create a Virtualmin login that is equivalent to root, do this :
root
user, scroll down to the bottom of the page, then click CloneTo create an SFTP / SSH user with root permissions, do this :
0
Submitted by gl3ny on Wed, 07/07/2010 - 08:44 Comment #2
This has worked but I still have to create 2 user accounts for the same person. If there is a way to create just one that would be better which will have those permissions, that would be better!
If is not possible or wise then two would fine however there could be many account creations for the same user which could get very complicated at the time the user forgets a password or something.
For instance now I want to create a subversion server for a few of the domains...
Is there a way to get one of the users, either the virtualmin or sftp login to automatically show up as a user of any domain when it is created?
Thanks for you help!
Submitted by andreychek on Wed, 07/07/2010 - 09:03 Comment #3
Well, to do what you were looking for above, Jamie described how to create a second user with root privileges.
That user has a lot of capabilities, so you wouldn't want to use them unless you needed to.
In that regard, you probably want to have two users... one user for performing administrative tasks, and the other for doing normal user things.
Is there a way to get one of the users, either the virtualmin or sftp login to automatically show up as a user of any domain when it is created?
Just like the "root" user, the user you're creating above doesn't belong to a given Virtual Server. It has permissions across the entire server, it's not limited to one domain.
However, you can use Virtualmin's GUI to change the password... you can go into Webmin -> System -> Change Password, and change your user's password from there.
Submitted by Issues on Wed, 07/21/2010 - 14:19 Comment #4
Automatically closed -- issue fixed for 2 weeks with no activity.