Shell users home directory

Discussion in 'Installation/Configuration' started by Gijs, Aug 9, 2013.

  1. Gijs

    Gijs New Member


    Why is the shell users home directory set to /home/shelluser? Why isn't it just the same as normal FTP users? Can it be automatically set to the same as FTP-users, just in the home directory?

    If I go to /etc/passwd, I can change the home directory of Shell Users to /web but not to just /.

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Like on any unix like system, each shell user on Linux has its own home directory which resides under /home. In a chrooted enviroment, /home is relative to the chroot / directory.

  3. Gijs

    Gijs New Member

    Than will it be a security thread if I set it manually to /web?
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    No. But all your ssh users should be aware that uploads to their home directory (which is normally a private directory) are accessible over web by http.
  5. Gijs

    Gijs New Member

    Good point, thanks!
  6. davide.p

    davide.p New Member

    In that way I can access the /home/$sshuser directory via http?

    Ta! Have a nice day.

    Sorry for my bad english.
  7. Gijs

    Gijs New Member

    I guess he meant that the home directory is /web in that case which is accessible via HTTP

Share This Page