Ubuntu Jailkit multiple problems

Discussion in 'Installation/Configuration' started by globiws, Jun 27, 2012.

  1. globiws

    globiws New Member

    I've just done a new clean install of ISPConfig on Ubuntu 12.04

    When I SSH in as a user, I get multiple issues:

    [email protected]:~$ wget google.com
    --2012-06-27 15:15:06-- http://google.com/
    Resolving google.com (google.com)... failed: Name or service not known.
    wget: unable to resolve host address `google.com'
    [email protected]:~$ scp google.com .
    unknown user 5004
    [email protected]:~$ whoami
    whoami: cannot find name for user ID 5004

    WGET cannot resolve DNS.
    SCP gives a strange error.
    WHOAMI doesn't know much at all.

    this is an extract from my /etc/passwd:
    web1:x:5004:5005::/var/www/clients/client2/web1/./home/web1:/bin/false
    s2globi:x:5004:5005::/var/www/clients/client2/web1/./home/s2globi:/usr/sbin/jk_chrootsh

    I've read ALL the forums and can't find an answer.

    Please help.
    Thanks,
    -Andreas
     
  2. globiws

    globiws New Member

    Another strange issue is when I'm logged in as a web user and do an LS -AL, the ownership of files is NOT WEBn:CLIENTn, but the UID:

    drwxr-xr-x 6 5004 5005 4096 Jun 6 18:41 inc
    -rw-r--r-- 1 5004 5005 1934 Mar 11 2011 index.BCK.php
    -rw-r--r-- 1 5004 5005 4953 Jun 6 18:43 index.php
     
  3. Steveorevo

    Steveorevo Member HowtoForge Supporter

Share This Page