Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-03-2003, 05:03 PM   #1
Registered: Feb 2002
Posts: 586

Rep: Reputation: 30
Add user to Webmin through SHELL?

Is it possible to add user for Webmin through shell ? Webmin version 0.970
Old 12-05-2003, 02:00 PM   #2
Registered: Sep 2003
Distribution: Mandrake, Slack, Debian and PicoBSD
Posts: 181

Rep: Reputation: 31
yes, but they have to be a system user.
I created a new user in webmin using lynx (called cheesy), then grepped /etc/webmin for his name to see where he was mentioned and what had been added - it's a good learning experience.

vi /etc/webmin/miniserv.users

looks like:

x = uses the users system password
hashedpassword = the actual password for non-system user. (and no, I haven't worked out how to calculate them)

Now you need to specify what they can access.

vi /etc/webmin/webmin.acl (if it doesn't exist, create it.)

root: acl at autorpm backup bsdexports burner cdbackup cpan cron custom dfsadmin
dnsadmin download fdisk file firewall format fsdump hpuxexports inetd init inittab
lilo logviewer man mount net nettools pam passwd proc quota raid rinetd servers
sgiexports shell shorewall software status syslog time useradmin usermin webmin
webminlog xinetd updown
cheesy: backup init cdbackup burner passwd shell custom quota mount download
xinetd file fsdump lilo firewall raid logviewer net nettools pam fdisk cpan proc at
cron shorewall software inittab man syslog time status updown usermin useradmin
webminlog webmin servers acl rinetd
Keep each user part on one line (no returns), single-spaced. I've split it here to avoid screwing the LQ board up.

Most of the modules are obvious, I gave cheesy complete access (note, I don't use all the webmin modules, so I've uninstalled them - create a test "access all areas" user using lynx to see what yours would look like.

Restart webmin for the new user(s) to take effect.

Works on Webmin 1.110, but to be honest, using lynx is easier and faster on the command line, unless you're adding a lot of users through a script.


(and of course, YMMV).

Last edited by frogman; 12-05-2003 at 02:49 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to list user in Linux box, add an user to a group! steady_lfcfan Linux - Newbie 12 01-27-2013 01:14 PM
user home dir doesn't create when new user add dev_mohamed Linux - Software 3 01-12-2007 01:08 AM
Help! Cannot Add a User to User Manager or Change Root Password lennysokol Linux - General 2 06-25-2005 09:59 AM
Add a user thorugh SHELL? mikeshn Linux - General 4 01-08-2003 10:31 PM
Add User Shell Script DAC Programming 2 10-13-2002 03:12 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:08 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration