<?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 ftpshell and umask in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpshell-and-umask/m-p/5065297#M437609</link>
    <description>&lt;BR /&gt;&lt;BR /&gt;Folks,&lt;BR /&gt;FTP Client Server: SOlaris 8&lt;BR /&gt;FTP Server: 11.11/S16K-A&lt;BR /&gt;&lt;BR /&gt;One of my users needs ftp access to a production system (he is stuck with ftp since all his scripts are ftp scripts and cannot switch to sftp), I set him up with /usr/bin/ftpshell as his shell, all I've in ftpshell is 'exit 1', the ownership/permissions to the ftpshell are bin:bin/555.&lt;BR /&gt;It works.&lt;BR /&gt;&lt;BR /&gt;His scripts run from a solaris 8 machine (FTP client).&lt;BR /&gt;&lt;BR /&gt;The default umask system-wide is 022 (755), but when he puts files it inherits 640, I want it to be 644 (by default, when he puts files into this directory), should I be messing with ftpaccess file? I want this specific for this user only - all his files should be 644 since there are other groups that needs access (Read only) and I can't put them in the 'group'&lt;BR /&gt;&lt;BR /&gt;I need a quick fix - no time for chroot/sftp or anything of that sort, we will slowly switch him to sftp - hopefully soon, but for now, need a temporary fix to the current setup.&lt;BR /&gt;&lt;BR /&gt;Please advise.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shabu</description>
    <pubDate>Mon, 27 Aug 2007 13:40:26 GMT</pubDate>
    <dc:creator>Shabu Khan-2</dc:creator>
    <dc:date>2007-08-27T13:40:26Z</dc:date>
    <item>
      <title>ftpshell and umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpshell-and-umask/m-p/5065297#M437609</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Folks,&lt;BR /&gt;FTP Client Server: SOlaris 8&lt;BR /&gt;FTP Server: 11.11/S16K-A&lt;BR /&gt;&lt;BR /&gt;One of my users needs ftp access to a production system (he is stuck with ftp since all his scripts are ftp scripts and cannot switch to sftp), I set him up with /usr/bin/ftpshell as his shell, all I've in ftpshell is 'exit 1', the ownership/permissions to the ftpshell are bin:bin/555.&lt;BR /&gt;It works.&lt;BR /&gt;&lt;BR /&gt;His scripts run from a solaris 8 machine (FTP client).&lt;BR /&gt;&lt;BR /&gt;The default umask system-wide is 022 (755), but when he puts files it inherits 640, I want it to be 644 (by default, when he puts files into this directory), should I be messing with ftpaccess file? I want this specific for this user only - all his files should be 644 since there are other groups that needs access (Read only) and I can't put them in the 'group'&lt;BR /&gt;&lt;BR /&gt;I need a quick fix - no time for chroot/sftp or anything of that sort, we will slowly switch him to sftp - hopefully soon, but for now, need a temporary fix to the current setup.&lt;BR /&gt;&lt;BR /&gt;Please advise.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shabu</description>
      <pubDate>Mon, 27 Aug 2007 13:40:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftpshell-and-umask/m-p/5065297#M437609</guid>
      <dc:creator>Shabu Khan-2</dc:creator>
      <dc:date>2007-08-27T13:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: ftpshell and umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpshell-and-umask/m-p/5065298#M437610</link>
      <description>"chmod" is a valid ftp command.&lt;BR /&gt;Just put the chmod command in the script this is being run and set it however it needs to be.</description>
      <pubDate>Mon, 27 Aug 2007 13:47:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftpshell-and-umask/m-p/5065298#M437610</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2007-08-27T13:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: ftpshell and umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpshell-and-umask/m-p/5065299#M437611</link>
      <description>chmod/umask is not a valid command on the ftp client that solaris 8 ships with, that would have been too easy ...</description>
      <pubDate>Mon, 27 Aug 2007 13:48:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftpshell-and-umask/m-p/5065299#M437611</guid>
      <dc:creator>Shabu Khan-2</dc:creator>
      <dc:date>2007-08-27T13:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: ftpshell and umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpshell-and-umask/m-p/5065300#M437612</link>
      <description>Ok, simple.  Convert to HPUX.  :-)</description>
      <pubDate>Mon, 27 Aug 2007 13:49:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftpshell-and-umask/m-p/5065300#M437612</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2007-08-27T13:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: ftpshell and umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpshell-and-umask/m-p/5065301#M437613</link>
      <description>Shalom Shabu,&lt;BR /&gt;&lt;BR /&gt;BTW, normally its a very minor change to take an ftp script to sftp. If you give me a sample, I'll show you what I mean. Also, you can go password free with sftp making the authentication work without hardcoding it into scripts.&lt;BR /&gt;&lt;BR /&gt;To your question:&lt;BR /&gt;&lt;BR /&gt;ftpaccess&lt;BR /&gt;&lt;BR /&gt;That file can be used to configure a default umask. So long as you don't want execute, which will not be permitted.&lt;BR /&gt;&lt;BR /&gt;How is that for simple?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.wu-ftpd.org/man/ftpaccess.html" target="_blank"&gt;http://www.wu-ftpd.org/man/ftpaccess.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.macosxhints.com/archive/index.php/t-13827.html" target="_blank"&gt;http://forums.macosxhints.com/archive/index.php/t-13827.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 27 Aug 2007 13:51:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftpshell-and-umask/m-p/5065301#M437613</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-08-27T13:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: ftpshell and umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpshell-and-umask/m-p/5065302#M437614</link>
      <description>&lt;BR /&gt;Thanks Steve.&lt;BR /&gt;I messed with ftpaccess and used the upload directive and was able to get that working.&lt;BR /&gt;&lt;BR /&gt;I understand converting to sftp would be easier with the auth keys in place and all that, but it is out of my control, my user has over a dozen scripts that he needs to modifiy, eventually we will have him take the sftp/ssh route.&lt;BR /&gt;&lt;BR /&gt;Thanks for your assistance.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shabu</description>
      <pubDate>Mon, 27 Aug 2007 14:32:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftpshell-and-umask/m-p/5065302#M437614</guid>
      <dc:creator>Shabu Khan-2</dc:creator>
      <dc:date>2007-08-27T14:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: ftpshell and umask</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpshell-and-umask/m-p/5065303#M437615</link>
      <description>Closing this out.</description>
      <pubDate>Mon, 27 Aug 2007 14:33:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftpshell-and-umask/m-p/5065303#M437615</guid>
      <dc:creator>Shabu Khan-2</dc:creator>
      <dc:date>2007-08-27T14:33:23Z</dc:date>
    </item>
  </channel>
</rss>

