Question about Webmin, Virtualmin, and Usermin

12 posts / 0 new
Last post
#1 Tue, 12/23/2008 - 19:28

Question about Webmin, Virtualmin, and Usermin

Hello guys.

I currently have Webmin and Virtualmin installed and it works great, I mean IT IS AWESOME.

Now one of my friends would like to have access to one of my MySQL databases.

My question is, should I just make him a Webmin user and then click only allow the MySQL database module to show up? That would make him be able to edit all of the db right?

Or should I install usermin?

Is it possible to add a user in Virtualmin under a virtual server so he can only access that virtual server's db?

I already gave him an FTP account on one of my virtual servers. And I want to give him access to one of the databases under that virtual server.


Tue, 12/23/2008 - 19:59

That's actually fairly straight forward to do, and you might be able to tie in an FTP account with this as well if you like.

When you log into Virtualmin, choose the domain name you'd like him to be associated with.

Go into Edit Mail and FTP Users, and hit "Add a user to this server".

From that screen, you can add a user and tweak the permissions you want.

You can add him to any databases owned by that Virtual Server, you can give the account FTP permissions, and you can choose whether or not he should have any email access.

Tue, 12/23/2008 - 20:05 (Reply to #2)

Hmm I can't seem to edit my posts here, it says I've hit a bug in the forum.

I only have 3 features enabled too.

Apache, Log rotation, and MySQL database.

Do i need to enable Webmin login?

Tue, 12/23/2008 - 20:14 (Reply to #3)

Hmm ok I tried creating 'tempuser'. And I also enabled webmin logins.

When I try to login to the webmin panel, it's not letting me login with that username.

Do I login with just tempuser? Or tempuser.domain? tempuser@domain? Or what? Because I just tried it with plain tempuser + the password I specified and it's not letting me login.

Tue, 12/23/2008 - 21:09 (Reply to #4)
Joe's picture

<div class='quote'>Do I login with just tempuser? Or tempuser.domain? tempuser@domain? Or what?</div>

The answer to that question could be &quot;yes&quot; in all cases. But, it depends on configuration.

You'll want to look at the &quot;IMAP/FTP login&quot; field on the Mail and FTP Users page.


Check out the forum guidelines!

Tue, 12/23/2008 - 22:33 (Reply to #5)

Hmm I can't seem to find that one. That's in Virtualmin too right?

Wed, 12/24/2008 - 20:10 (Reply to #6)

Yeah, even without mail enabled, you should be able to see that.

He's just referring to a column within the table when you click on &quot;Edit FTP Users&quot;. The column will be labeled &quot;FTP Login&quot; -- that's what your user will use to log into the system.

Tue, 12/23/2008 - 20:04

I only have the EDIT FTP users.

Tue, 12/23/2008 - 20:06 (Reply to #8)

That's okay, Email may not be enabled from that domain.

But within Edit FTP users, you should be able to create a database user (no, now that you mention it, that's not 100% intuitive :-) as well as an FTP user.

Thu, 12/25/2008 - 00:20

I think I got it to work.

I enabled webmin login, and then when I enabled it on that domain, I saw the EXTRA ADMIN section? That's where I added him since he'll be maintaining one of our main dbs for our website. Is this the right way to give it out?

Fri, 12/26/2008 - 05:25 (Reply to #10)

You should be able to add FTP/database/Webmin users via the Edit FTP Users screen.

You should not have to use the &quot;Extra Admin&quot; function (which sets up the user with more permissions than they need for simple database access).

Fri, 12/26/2008 - 10:32

Well when I make one with the adduser only, it adds them to the list but there's no webmin entry in the webmin users list. The only ones that are there are the domain owner and the extra admin.

Topic locked