Menu

#2980 Users Missed In /etc/shadow

1.380
closed-fixed
5
2007-11-30
2007-11-29
Denis M
No

When creating users from batch file, some users don't appear in /etc/shadow. These are ones that have spaces as last 5 fields, min:max:warn:inactive:expire

Discussion

  • Jamie Cameron

    Jamie Cameron - 2007-11-29

    Logged In: YES
    user_id=129364
    Originator: NO

    Could you post the batch file you are trying to use to this bug report? It sounds like there may be a syntax error in the min and max fields..

     
  • Denis M

    Denis M - 2007-11-30

    Logged In: YES
    user_id=1948494
    Originator: YES

    create:user1:::1000:User One:/home/user1:/bin/bash:::::
    create:user2:::1000:User Two:/home/user2:/bin/bash: : : : :

    In this example, user1 will be created properly, while user2 will be missed in /etc/shadow.

     
  • Jamie Cameron

    Jamie Cameron - 2007-11-30

    Logged In: YES
    user_id=129364
    Originator: NO

    The real problem is that a space for the min/max days is not valid. I will prevent this in the next Webmin release..

     
  • Jamie Cameron

    Jamie Cameron - 2007-11-30
    • status: open --> closed-fixed
     

Log in to post a comment.