Doesnt create system user after creating new site

Discussion in 'General' started by tio289, Mar 7, 2010.

  1. tio289

    tio289 Member

    Hello, I use IspConfig 3.0.1.6 and when I create new site them ispconfig doesnt create system user. I must do it manualy alltimes. Can anybody help me with this problem? thanks.

    My Server - Debian Lenny Perfect Server - Howtoforge Howto.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    grep sshusers /etc/group
     
  3. tio289

    tio289 Member

    Code:
    s0:~# grep sshusers /etc/group
    sshusers:x:5002:
    sshusers:x:5002:web1,web2,web3,web4,web5,web6,web7,web8,web9
    
    this is only few users, not all site users are in the group sshusers
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess the manually created users are missing, as ispconfig requires seom special parameters for its users. Instead of creating the users manually, it would have been better that you asked us to help you find the problem.

    Please check the /etc/group and /etc/gshadow files, if there are really two lines for the sshuers group, delete the lines which do not contain any users. Then check the syntax of the files with the command:

    grpck
     
  5. tio289

    tio289 Member

    Thank you very much. I delete duplicities from these files and all working ok.

    P.S. I created users manualy, but I set right UID (50xx), right shell (/bin/false), right home directory (/var/www/clients/clientx/webxx), right group (clientx), login alloved with No password , warnining days 7, maximum days 9999.

    Is it ok?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Looks fine. Please test if a login is really not possible to these users with ssh without password, just to be sure. And you should add them to the sshusers group too.
     

Share This Page