<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Limiting FTP access to only one directory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727879#M946196</link>
    <description>Forgot something.&lt;BR /&gt;&lt;BR /&gt;For the power users, make sure they are not in the ftponly group, and do not add the /./ at the back of their home directories in the /etc/passwd file.&lt;BR /&gt;&lt;BR /&gt;For the ftp only users, their home directory will be seen as the root directory now. They will not be able to "see" anything else, because they do not have access to the "ls" command anymore. You need to do the following in each one's home directory:&lt;BR /&gt;&lt;BR /&gt;mkdir usr&lt;BR /&gt;mkdir usr/bin&lt;BR /&gt;cp /usr/bin/ls usr/bin/ls&lt;BR /&gt;chmod -R 555 usr&lt;BR /&gt;chown -R bin:bin usr&lt;BR /&gt;&lt;BR /&gt;This gives them the ls command (which will allow for directory listings)&lt;BR /&gt;&lt;BR /&gt;N&lt;BR /&gt;</description>
    <pubDate>Tue, 21 May 2002 10:01:27 GMT</pubDate>
    <dc:creator>Niel Greeff_1</dc:creator>
    <dc:date>2002-05-21T10:01:27Z</dc:date>
    <item>
      <title>Limiting FTP access to only one directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727862#M946179</link>
      <description>Hello experts,&lt;BR /&gt;&lt;BR /&gt;We have one application which requires users to upload image files to my L1000 HP9000 server running HP-UX 11.&lt;BR /&gt;&lt;BR /&gt;Unfortunately, we are not yet able to design a JSP application that can allow us to do so.&lt;BR /&gt;&lt;BR /&gt;We are thinking about a simple solution where we would install a graphical FTP software that will allow the end-users to upload their files.&lt;BR /&gt;&lt;BR /&gt;Our problem is that with this setup, the end-users are able to browse through all the directories on the server.&lt;BR /&gt;&lt;BR /&gt;Is there a way to restrict access to only one directory to a user? &lt;BR /&gt;&lt;BR /&gt;Thank you in advance for your guidance.&lt;BR /&gt;&lt;BR /&gt;best regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Tue, 21 May 2002 02:53:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727862#M946179</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2002-05-21T02:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting FTP access to only one directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727863#M946180</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;hi&lt;BR /&gt;&lt;BR /&gt;  Use 'rsh' for that particular user&lt;BR /&gt;&lt;BR /&gt;CTK</description>
      <pubDate>Tue, 21 May 2002 02:59:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727863#M946180</guid>
      <dc:creator>Vijeesh CTK</dc:creator>
      <dc:date>2002-05-21T02:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting FTP access to only one directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727864#M946181</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You need to have a look at the man page for 'ftpaccess'. Even if your using a GUI based application the permissions should still be restrictive to the designated directory.&lt;BR /&gt;&lt;BR /&gt;In the /etc/passwd file, the sample entry is: &lt;BR /&gt;&lt;BR /&gt;guest:&lt;PASSWD&gt;:100:92:My Guest Account:/ftp/./intray:/etc/ftponly &lt;BR /&gt;&lt;BR /&gt;When guest successfully logs in, the ftp server will chroot(/ftp) and then chdir to './intray'. The guest user will only be able to access the directory structure under /ftp (which will look and act as / to guest), just as an anonymous FTP user would. &lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;~Michael~&lt;/PASSWD&gt;</description>
      <pubDate>Tue, 21 May 2002 03:04:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727864#M946181</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-05-21T03:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting FTP access to only one directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727865#M946182</link>
      <description>Dear Mr. Vijeesh CTK &lt;BR /&gt;&lt;BR /&gt;Thank you for the fast reply.&lt;BR /&gt;&lt;BR /&gt;Not clear about "rsh"&lt;BR /&gt;&lt;BR /&gt;please ellaborate.&lt;BR /&gt;&lt;BR /&gt;Is it a software on the client?&lt;BR /&gt;&lt;BR /&gt;please an example&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;Yogeeraj</description>
      <pubDate>Tue, 21 May 2002 03:06:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727865#M946182</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2002-05-21T03:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting FTP access to only one directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727866#M946183</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This could be better for your requirements:&lt;BR /&gt;&lt;BR /&gt;Explanation here:&lt;BR /&gt;&lt;A href="http://www.wu-ftpd.org" target="_blank"&gt;http://www.wu-ftpd.org&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Software can be found here from the porting centre.&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Networking/FTP/wu_ftpd-2.6.1/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Networking/FTP/wu_ftpd-2.6.1/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;~Michael~</description>
      <pubDate>Tue, 21 May 2002 03:10:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727866#M946183</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-05-21T03:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting FTP access to only one directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727867#M946184</link>
      <description>Step-by-step (as the root user)&lt;BR /&gt;&lt;BR /&gt;1. cp /usr/newconfig/etc/ftpd/ftpaccess&lt;BR /&gt; /etc/ftpd/ftpaccess&lt;BR /&gt;&lt;BR /&gt;2. create a group for ftp users called ftponly&lt;BR /&gt;&lt;BR /&gt;3. create the new ftp user (say nielg) and restrict hime to /home/nielg&lt;BR /&gt;&lt;BR /&gt;useradd -m -d /home/nielg -s /usr/bin/false -g ftponly nielg&lt;BR /&gt;&lt;BR /&gt;4. Add this false shell to the file (just add the  /usr/bin/false line to the file)&lt;BR /&gt;&lt;BR /&gt;5. Change the /etc/inetd.conf file (the ftp line) to read:&lt;BR /&gt;ftp  tcp stream nowait root /usr/lbin/ftpd ftpd -a&lt;BR /&gt;&lt;BR /&gt;6. Now edit the /etc/passwd file and change the directory setting for the user: add /./ at the back of the directory&lt;BR /&gt;&lt;BR /&gt;(if the line used to read:&lt;BR /&gt;nielg:98732jgjh:100:103::/home/nielg:/usr/bin/false&lt;BR /&gt;&lt;BR /&gt;Make it :&lt;BR /&gt;&lt;BR /&gt;nielg:98732jgjh:100:103::/home/nielg/./:/usr/bin/false&lt;BR /&gt;&lt;BR /&gt;7. Restart inetd "inetd -c"&lt;BR /&gt;&lt;BR /&gt;That should be it&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope it helps&lt;BR /&gt;N</description>
      <pubDate>Tue, 21 May 2002 03:18:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727867#M946184</guid>
      <dc:creator>Niel Greeff_1</dc:creator>
      <dc:date>2002-05-21T03:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting FTP access to only one directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727868#M946185</link>
      <description>&lt;BR /&gt;hi&lt;BR /&gt;&lt;BR /&gt; u have to specify rsh for ur user&lt;BR /&gt;&lt;BR /&gt;eg&lt;BR /&gt;&lt;BR /&gt;mbr034:m9uORGYWXHAmQ:1034:1000:Cl. No. = 34:/usr1/setl/member/mbr034:/usr/bin/rsh&lt;BR /&gt;&lt;BR /&gt;one of my user's passwd entry&lt;BR /&gt;&lt;BR /&gt;and Micheal's suggestion is also good here too i have done it thats creating ftp group&lt;BR /&gt;&lt;BR /&gt;CTK</description>
      <pubDate>Tue, 21 May 2002 03:22:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727868#M946185</guid>
      <dc:creator>Vijeesh CTK</dc:creator>
      <dc:date>2002-05-21T03:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting FTP access to only one directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727869#M946186</link>
      <description>Oops - sorry&lt;BR /&gt;&lt;BR /&gt;My step 5 should be : Add the entry to the /etc/shells file (just add the line /usr/bin/false)</description>
      <pubDate>Tue, 21 May 2002 03:23:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727869#M946186</guid>
      <dc:creator>Niel Greeff_1</dc:creator>
      <dc:date>2002-05-21T03:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting FTP access to only one directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727870#M946187</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;'rsh' = restricted shell which is on the HP-UX server.&lt;BR /&gt;&lt;BR /&gt;Michael</description>
      <pubDate>Tue, 21 May 2002 03:38:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727870#M946187</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-05-21T03:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting FTP access to only one directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727871#M946188</link>
      <description>Thank you all for your replies.&lt;BR /&gt;==========================&lt;BR /&gt;Niel Greeff &lt;BR /&gt;==========================&lt;BR /&gt;Have gone through the steps.&lt;BR /&gt;The last line about "7. Restart inetd "inetd -c" " worries me a bit. &lt;BR /&gt;Can i do it on a production server? Will it not disconnect all connected users?&lt;BR /&gt;Have a look at the attachment too.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;==========================&lt;BR /&gt;Mr. Michael Tully &lt;BR /&gt;Mr. Vijeesh CTK &lt;BR /&gt;==========================&lt;BR /&gt;Still does not work.&lt;BR /&gt;See attached a sample of the screen i get.&lt;BR /&gt;The user can see the whole tree structure.&lt;BR /&gt;Below the line from /etc/passwd:&lt;BR /&gt;bn:iwhBIpeNlXxFI:128:20:FTP-Brinda Nattoo,PDD-PHX,,:/prod/webroot/pdd/croquis:/usr/bin/rsh&lt;BR /&gt;&lt;BR /&gt;Please advise.&lt;BR /&gt;Will i really need to replace my FTP server for it work?&lt;BR /&gt;</description>
      <pubDate>Tue, 21 May 2002 03:56:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727871#M946188</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2002-05-21T03:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting FTP access to only one directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727872#M946189</link>
      <description>The inetd -c will re-read the inetd.conf and is OK for a running system (see man inetd)</description>
      <pubDate>Tue, 21 May 2002 04:07:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727872#M946189</guid>
      <dc:creator>Niel Greeff_1</dc:creator>
      <dc:date>2002-05-21T04:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting FTP access to only one directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727873#M946190</link>
      <description>&lt;BR /&gt;hi&lt;BR /&gt;&lt;BR /&gt;  ok so u want the user to not view onther directories. then niel's way is good.. I am having same thing in my production server. U can do inetd -c , it wil rerad the configuration file&lt;BR /&gt;&lt;BR /&gt;CTK</description>
      <pubDate>Tue, 21 May 2002 04:15:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727873#M946190</guid>
      <dc:creator>Vijeesh CTK</dc:creator>
      <dc:date>2002-05-21T04:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting FTP access to only one directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727874#M946191</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Use ftpaccess to restrict FTP access to specific users or directories. man ftpaccess for more information.&lt;BR /&gt;&lt;BR /&gt;You may want to look at this link as well:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://web.hpl.hp.com/services/rcsweb/techs/post-host/ftp/ftpaccess.html" target="_blank"&gt;http://web.hpl.hp.com/services/rcsweb/techs/post-host/ftp/ftpaccess.html&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;With regards to inetd -c, it only sends a SIGHUP to the inetd daemon and re-reads the configuration file during the reloading. This is different from a SIGTERM which occurs when you run inetd -k (which kills the daemon). There is no observable impact to running inetd -c. The reloading is so fast that your users will not detect it at all.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Tue, 21 May 2002 04:19:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727874#M946191</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-05-21T04:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting FTP access to only one directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727875#M946192</link>
      <description>hello,&lt;BR /&gt;thank you all for the replies.&lt;BR /&gt;&lt;BR /&gt;I was trying Mr. Niel Greeff option.&lt;BR /&gt;&lt;BR /&gt;The problem now is that ALL other users can no longer ftp to the server!!&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;I need normal ftp access for all the users in the group "IT"&lt;BR /&gt;&lt;BR /&gt;Changes made:&lt;BR /&gt;-----------------------------------------------&lt;BR /&gt;a. cp /usr/newconfig/etc/ftpd/ftpaccess /etc/ftpd/ftpaccess&lt;BR /&gt;b. Created group ftp only.&lt;BR /&gt;# cat /etc/group|grep ftp&lt;BR /&gt;ftponly::104:bn&lt;BR /&gt;&lt;BR /&gt;c. Modified existing user profiles:&lt;BR /&gt;# cat /etc/passwd|grep bn&lt;BR /&gt;bn:kxYRxp1j9zS0A:128:20:FTP-Brinda Nattoo,PDD-PHX,,:/prod/webroot/pdd/croquis/./&lt;BR /&gt;:/usr/bin/false&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;d. Check /etc/inetd.conf&lt;BR /&gt;# cat /etc/inetd.conf|grep ftp&lt;BR /&gt;ftp          stream tcp nowait root /usr/lbin/ftpd     ftpd -l -u 002 -a&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;e. Created file /etc/shells&lt;BR /&gt;# more /etc/shells&lt;BR /&gt;/usr/bin/false&lt;BR /&gt;#&lt;BR /&gt;-----------------------------------------------&lt;BR /&gt;&lt;BR /&gt;Now it works for user "bn" however all other users can no longer FTP. It gives error message: "530 User deg access denied..."&lt;BR /&gt;&lt;BR /&gt;Please help!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Yogeeraj</description>
      <pubDate>Tue, 21 May 2002 09:02:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727875#M946192</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2002-05-21T09:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting FTP access to only one directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727876#M946193</link>
      <description>The problem is the /etc/shells file.&lt;BR /&gt;&lt;BR /&gt;This file contains all the shells that are allowed to be used as FTP shells. If no /etc/shells file exsists, the system will allow the default POSIX shell (sh) to be used. Once you added this file and only the /usr/bin/false shell, only users with that shell will be allowed to ftp into this machine. The solution is to add the shell(s) for the other user(s) you want to allow ftp access to this file. To add the default shell /sbin/sh to the /etc/shells file &lt;BR /&gt;&lt;BR /&gt;Hope that will finaly solve the problem.&lt;BR /&gt;&lt;BR /&gt;N&lt;BR /&gt;</description>
      <pubDate>Tue, 21 May 2002 09:35:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727876#M946193</guid>
      <dc:creator>Niel Greeff_1</dc:creator>
      <dc:date>2002-05-21T09:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting FTP access to only one directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727877#M946194</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;thank you for the fast reply.&lt;BR /&gt;&lt;BR /&gt;I have added additional lines to the /etc/shells:&lt;BR /&gt;==============================================&lt;BR /&gt;# cat /etc/shells&lt;BR /&gt;/usr/bin/false&lt;BR /&gt;/usr/bin/sh&lt;BR /&gt;/usr/bin/ksh&lt;BR /&gt;/usr/bin/csh&lt;BR /&gt;#&lt;BR /&gt;==============================================&lt;BR /&gt;All users are able to login now. &lt;BR /&gt;&lt;BR /&gt;However,&lt;BR /&gt;a. The restricted users can see their root directory (as restricted) but not the sub-directories. (see attachment)&lt;BR /&gt;b. The power users are experiencing the same as above.&lt;BR /&gt;&lt;BR /&gt;Any more hints will be most welcomed.&lt;BR /&gt;&lt;BR /&gt;thank you in advance&lt;BR /&gt;&lt;BR /&gt;Best Regards &lt;BR /&gt;yogeeraj&lt;BR /&gt;</description>
      <pubDate>Tue, 21 May 2002 09:47:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727877#M946194</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2002-05-21T09:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting FTP access to only one directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727878#M946195</link>
      <description>oops! the attachment.&lt;BR /&gt;;)</description>
      <pubDate>Tue, 21 May 2002 09:50:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727878#M946195</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2002-05-21T09:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting FTP access to only one directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727879#M946196</link>
      <description>Forgot something.&lt;BR /&gt;&lt;BR /&gt;For the power users, make sure they are not in the ftponly group, and do not add the /./ at the back of their home directories in the /etc/passwd file.&lt;BR /&gt;&lt;BR /&gt;For the ftp only users, their home directory will be seen as the root directory now. They will not be able to "see" anything else, because they do not have access to the "ls" command anymore. You need to do the following in each one's home directory:&lt;BR /&gt;&lt;BR /&gt;mkdir usr&lt;BR /&gt;mkdir usr/bin&lt;BR /&gt;cp /usr/bin/ls usr/bin/ls&lt;BR /&gt;chmod -R 555 usr&lt;BR /&gt;chown -R bin:bin usr&lt;BR /&gt;&lt;BR /&gt;This gives them the ls command (which will allow for directory listings)&lt;BR /&gt;&lt;BR /&gt;N&lt;BR /&gt;</description>
      <pubDate>Tue, 21 May 2002 10:01:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727879#M946196</guid>
      <dc:creator>Niel Greeff_1</dc:creator>
      <dc:date>2002-05-21T10:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting FTP access to only one directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727880#M946197</link>
      <description />
      <pubDate>Tue, 21 May 2002 10:46:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727880#M946197</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2002-05-21T10:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting FTP access to only one directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727881#M946198</link>
      <description>Check the primary group for the bn user. Make sure that this user is in group 104 (change in the /etc/passwd file or use the usermod command)&lt;BR /&gt;&lt;BR /&gt;What happens to the power users ? Can they not log in ? or can they not change to any other directory ? or not see any other directory ?</description>
      <pubDate>Tue, 21 May 2002 11:16:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-ftp-access-to-only-one-directory/m-p/2727881#M946198</guid>
      <dc:creator>Niel Greeff_1</dc:creator>
      <dc:date>2002-05-21T11:16:07Z</dc:date>
    </item>
  </channel>
</rss>

