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