View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 1 post ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Adding a Webmin User
PostPosted: Thu Aug 26, 2010 11:44 pm 
Offline
Joined: Wed May 09, 2007 8:47 pm
Posts: 367
Location: Minnesota- Brrrrr!
I tried to find a command for the command line, but was unsuccessful. Instaead this is what I found The state of the system was:

Code:
[root@mythtv ~]# cat /etc/webmin/miniserv.users
root::0
[root@mythtv ~]# cat /etc/webmin/webmin.acl
root: acl adsl-client apache at backup-config bandwidth bind8 burner change-user cluster-copy cluster-cron cluster-passwd cluster-shell cluster-software cluster-useradmin cluster-usermin cluster-webmin cron custom dhcpd dnsadmin dovecot exim exports fdisk fetchmail file filter firewall format fsdump grub htaccess-htpasswd idmapd init inittab ipfilter ipfw krb5 ldap-client ldap-server lilo logrotate lpadmin lvm mailboxes mailcap man mount mysql net nis openslp pacman pam passwd phpini postfix postgresql ppp-client proc procmail proftpd pserver quota raid rbac samba servers shell smf software spam squid sshd status stunnel syslog-ng syslog tcpwrappers telnet time tunnel updown useradmin usermin webmin webminlog xinetd zones


Based on this article, I added the following to /etc/webmin/miniserv.users

Quote:
myusername:hash_from_etc/shadow:0


After restart:

Code:
sv restart webmin


This allowed me to logon, but with no functionality. To add functionality visit /etc/webmin/webmin.acl and add the user privileges to the list. Just in case:

Code:
myusername: acl adsl-client apache at backup-config bandwidth bind8 burner change-user cluster-copy cluster-cron cluster-passwd cluster-shell cluster-software cluster-useradmin cluster-usermin cluster-webmin cron custom dhcpd dnsadmin dovecot exim exports fdisk fetchmail file filter firewall format fsdump grub htaccess-htpasswd idmapd init inittab ipfilter ipfw krb5 ldap-client ldap-server lilo logrotate lpadmin lvm mailboxes mailcap man mount mysql net nis openslp pacman pam passwd phpini postfix postgresql ppp-client proc procmail proftpd pserver quota raid rbac samba servers shell smf software spam squid sshd status stunnel syslog-ng syslog tcpwrappers telnet time tunnel updown useradmin usermin webmin webminlog xinetd zones


Ideally, there would be a command like useradd that would add the user and the password has would not be needed /etc/webmin/miniserv.users. Maybe someone can suggest a more elegant method for managing passwords and adding users.

_________________
R7.3: 0.22.20091023-1, Hauppauge PVR-500 (Philips FQ1236A MK4), Gigabyte Gigabyte EG45M-UD2H, E5200 2.4Ghz, 2GB RAM, NVIDIA GEFORCE 256MB


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: Google [Bot] and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu