Hi,
I wonder if it is possible to create a user webmin. If possible, how to give access to different modules?
Hi,
I wonder if it is possible to create a user webmin. If possible, how to give access to different modules?
So it's been a long time I've used webmin but what I remember it was quite possible to create a user webmin. It is also possible to rely webmin based on unix user (/etc/passwd and /etc/shadow)
Thank you.
I have made my request to create a user via webmin interface is quite feasible and described on the web site. What I seek is a way to create a user command line ...
I saw that webmin users are stored in /etc/webmin/miniserv.users
The password is encrypted and access to different modules is not very friendly but it is a start.
Password in webmin is based on the principle of encryption linux (/etc/shadow).
To create a new webmin user:
1 - create a Linux user with the useradd command
2 - change the password with the command: passwd
3 - open the file /etc/shadow, to point to the line for your user, copy the first two fields and put in the password file for webmin and add at the end of the line ":0::"
Example:
the user created is webadmin.
the shadow line of the file:
webadmin:$1$rw620k6x$e9UZLfra8wv3vXEqzF.3g/:14358:0:99999:7:::
line in the file "miniserv.users" will be:
webadmin:$1$rw620k6x$e9UZLfra8wv3vXEqzF.3g/:0::
Bookmarks