Unix Help!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • x2dio
    Confirmed User
    • Jun 2003
    • 101

    #1

    Unix Help!

    How can i lock a subdomain user to its home directory?


    is just for 1 account I don't need it on the entire server.


    Running Ensim 3.5 / Linux 7.3

    Thanks
    <hahahahaha src="http://www.x2dio.com/sig/sig.swf" quality=high type="application/x-shockwave-flash" width="100" height="100" menu="false"></hahahahaha><br><br>x2dio.com - Design Overload - Coming Soon<br>
    203814376
  • x2dio
    Confirmed User
    • Jun 2003
    • 101

    #2
    Im also looking for some reliable server Admins out there, please contact me at


    AOL " flashlvl " must have some references too.


    <hahahahaha src="http://www.x2dio.com/sig/sig.swf" quality=high type="application/x-shockwave-flash" width="100" height="100" menu="false"></hahahahaha><br><br>x2dio.com - Design Overload - Coming Soon<br>
    203814376

    Comment

    • Babaganoosh
      ♥♥♥ Likes Hugs ♥♥♥
      • Nov 2001
      • 15841

      #3
      Just limiting FTP?
      I like pie.

      Comment

      • xxxoutsourcing
        Confirmed User
        • Oct 2003
        • 3888

        #4
        SSH and/or FTP SFTP

        xxxoutsourcing.com
        ICQ:119936 | Aim:xxxoutsourcing | MSN:msn@ xxxoutsourcing.com | Yahoo:xxxoutsourcing
        Submitters, Designers, Programmers, Cartoonist, Creative Writers, Video & Photo Editors
        Convert your Paysite into a cartoon site convert2toons.com

        Comment

        • fsfaz
          Confirmed User
          • Apr 2003
          • 747

          #5
          Best of luck being completly successful locking him down on a shell (ssh). You can try chmod'ing but it doesn't always work properly.

          With FTP, not sure what FTP server your using and since your running Ensim, I'm not familiar with it. You may want to look up the documentation on the FTP Server your running or you can try this:

          Create a file with your favorite editor called "ftpchroot" in /etc and put just the users name in the file.

          May work but I doubt it.

          Post the FTP server your using and maybe we can help.

          Comment

          • x2dio
            Confirmed User
            • Jun 2003
            • 101

            #6
            Using PROFTPD
            <hahahahaha src="http://www.x2dio.com/sig/sig.swf" quality=high type="application/x-shockwave-flash" width="100" height="100" menu="false"></hahahahaha><br><br>x2dio.com - Design Overload - Coming Soon<br>
            203814376

            Comment

            • fsfaz
              Confirmed User
              • Apr 2003
              • 747

              #7
              Originally posted by x2dio
              Using PROFTPD

              It's called chroot and here's the man page on the directive.

              Note: Not sure where the config file is located espeically since you are running Ensim.


              http://www.proftpd.org/docs/directiv...faultRoot.html

              Comment

              • egonetworks
                Confirmed User
                • Jan 2004
                • 6706

                #8
                chroot and jail are the tools you'd need - I could have sworn that Ensim locked accounts into their private directory; or was that just a lie they told during marketing?

                Comment

                • icedemon
                  Confirmed User
                  • Jun 2003
                  • 1022

                  #9
                  Here is what you do for ProFTPd.

                  SSH to your server. Look for the proftpd.conf file. It's usually in /etc/proftpd.conf. You can do a "locate proftpd.conf" if it isn't in the /etc directory. Open it with vi or pico.
                  pico -w /etc/proftpd.conf
                  Add this
                  DefaultRoot ~
                  This will chroot them to their home directory that is listed in /etc/passwd
                  You might want to open /etc/passwd with vi or pico to make sure their home directory is where you want it.
                  Clips4Sale.com

                  Comment

                  Working...