Results 1 to 4 of 4

Thread: How to create a user webmin via command line in Linux

  1. #1
    Join Date
    May 2008
    Posts
    351

    How to create a user webmin via command line in Linux

    Hi,

    I wonder if it is possible to create a user webmin. If possible, how to give access to different modules?

  2. #2
    Join Date
    Jan 2006
    Posts
    4,221

    Re: How to create a user webmin via command line in Linux

    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)

  3. #3
    Join Date
    May 2008
    Posts
    351

    Re: How to create a user webmin via command line in Linux

    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.

  4. #4
    Join Date
    May 2008
    Posts
    1,304

    Re: How to create a user webmin via command line in Linux

    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::

Similar Threads

  1. Importance of Command Line User Environment in Linux
    By aFRODITA in forum Operating Systems
    Replies: 4
    Last Post: 12-11-2010, 07:31 AM
  2. Replies: 5
    Last Post: 11-11-2010, 11:10 AM
  3. How to create a .ISO File and burn a CD, via command-line
    By Dubeyji in forum Windows Software
    Replies: 6
    Last Post: 15-09-2010, 06:00 AM
  4. Winrar: Create SFX via Command Line
    By magicT in forum Windows Software
    Replies: 3
    Last Post: 03-07-2009, 01:26 PM
  5. Create shortcuts in the command line
    By DarenHawk in forum Software Development
    Replies: 4
    Last Post: 27-04-2009, 11:11 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,727,075,864.44895 seconds with 17 queries