<?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: Creating new user with specified permission in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104851#M87275</link>
    <description>&lt;BR /&gt;Thanks Robert (and thanks to all!!)...&lt;BR /&gt;&lt;BR /&gt;Just change file's owner and file's security and now new user can only get specified file.&lt;BR /&gt;&lt;BR /&gt;You guys save my life! :D&lt;BR /&gt;&lt;BR /&gt;Thread can be closed, thanks again to all....&lt;BR /&gt;</description>
    <pubDate>Tue, 20 Nov 2007 08:35:01 GMT</pubDate>
    <dc:creator>smsc_1</dc:creator>
    <dc:date>2007-11-20T08:35:01Z</dc:date>
    <item>
      <title>Creating new user with specified permission</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104840#M87264</link>
      <description>&lt;BR /&gt;Hello,&lt;BR /&gt;I need to create a new user on OpenVMS 7.3.1 using MC AUTHORIZE.&lt;BR /&gt;&lt;BR /&gt;That user can be ONLY get file via FTP and must be locked to home directory...&lt;BR /&gt;&lt;BR /&gt;Witch is the correct permission to add to that user?? &lt;BR /&gt;&lt;BR /&gt;Please help!&lt;BR /&gt;Thanks ;)&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Nov 2007 09:12:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104840#M87264</guid>
      <dc:creator>smsc_1</dc:creator>
      <dc:date>2007-11-19T09:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user with specified permission</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104841#M87265</link>
      <description>smsc,&lt;BR /&gt;&lt;BR /&gt;There are many ways to do this. In many cases, I use the ADDUSER procedure in SYS$EXAMPLES and then customize the account with that as a starting point.&lt;BR /&gt;&lt;BR /&gt;As a starting point, I would set /NOINTERACTIVE and /NOINTERACTIVE, /NOBATCH, and /NOREMOTE. I would likely also make their account captive, with no ability to spawn subprocesses. I would put their login file in a different directory, protected from modification, and I would check SYS$MANAGER:SYLOGIN.COM to ensure that it is not using any files in the user's default directory for processing.&lt;BR /&gt;&lt;BR /&gt;Of course, there may be additional or different requirements depending upon your individual installation.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Mon, 19 Nov 2007 09:55:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104841#M87265</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2007-11-19T09:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user with specified permission</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104842#M87266</link>
      <description>&lt;BR /&gt;Thanks for reply, but I think my question is a little bit simple than your solution... :) &lt;BR /&gt;I already added an user with following commands:&lt;BR /&gt;&lt;BR /&gt;UAF&amp;gt; add FTPDAT /UIC=[202,202]&lt;BR /&gt;%UAF-I-ADDMSG, user record successfully added&lt;BR /&gt;%UAF-I-RDBADDMSGU, identifier FTPDAT value [000202,000202] added to rights database&lt;BR /&gt;&lt;BR /&gt;UAF&amp;gt; MOD FTPDAT /Owner="FTPDAT" /Account=FTPDAT /Device=SMSC_SYS /Directory=[SMSC.TMP] /Password=FTPDAT /Nopwdexpired /Flags=Nodisus&lt;BR /&gt;&lt;BR /&gt;Now that user has following privileges:&lt;BR /&gt;&lt;BR /&gt;Authorized Privileges: &lt;BR /&gt;  NETMBX       TMPMBX&lt;BR /&gt;Default Privileges: &lt;BR /&gt;  NETMBX       TMPMBX&lt;BR /&gt;&lt;BR /&gt;But if I try to FTP using FTPDAT user I got:&lt;BR /&gt;&lt;BR /&gt;FTP&amp;gt; get trans.x&lt;BR /&gt;200 TYPE set to IMAGE.&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;550 insufficient privilege or file protection violation&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So, I think I need to add some provileges to FTPDAT user... But Witch one???&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Nov 2007 10:03:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104842#M87266</guid>
      <dc:creator>smsc_1</dc:creator>
      <dc:date>2007-11-19T10:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user with specified permission</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104843#M87267</link>
      <description>Did you create the directory?&lt;BR /&gt;&lt;BR /&gt;$ cre/dir SMSC_SYS:[SMSC.TMP]/own=ftpdat&lt;BR /&gt;&lt;BR /&gt;Ken</description>
      <pubDate>Mon, 19 Nov 2007 10:16:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104843#M87267</guid>
      <dc:creator>Ken Robinson</dc:creator>
      <dc:date>2007-11-19T10:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user with specified permission</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104844#M87268</link>
      <description>&lt;BR /&gt;Oh Yes! Directory already created...&lt;BR /&gt;More Info:&lt;BR /&gt;&lt;BR /&gt;I used a list of privileges of other (super) user and now FTP works. Privileges are:&lt;BR /&gt;&lt;BR /&gt;CMKRNL,GRPNAM,IMPERSONATE,LOG_IO,NETMBX,OPER,PHY_IO,PRMGBL,PSWAPM,READALL,SYSGBL,SYSLCK,SYSNAM,SYSPR&lt;BR /&gt;V,TMPMBX,WORLD&lt;BR /&gt;&lt;BR /&gt;So I think one of these give FTP transfer privilege... But what?? &lt;BR /&gt;</description>
      <pubDate>Mon, 19 Nov 2007 10:30:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104844#M87268</guid>
      <dc:creator>smsc_1</dc:creator>
      <dc:date>2007-11-19T10:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user with specified permission</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104845#M87269</link>
      <description>smsc,&lt;BR /&gt;&lt;BR /&gt;Please turn off all of those extra privileges.&lt;BR /&gt;&lt;BR /&gt;The most likely problem that the account is that some file is protected. Turning ON all of those privileges has created an account that can compromise the integrity of your system.&lt;BR /&gt;&lt;BR /&gt;All that an account needs, in the technical sense, to do an FTP connection is NETMBX and TMPMBX. The rest is governed by the files used in the process.&lt;BR /&gt;&lt;BR /&gt;Take a look at the OpenVMS Guide to System Security, and read the information about enabling auditing on file accesses. Most likely, a predecessor or colleague has protected some files, possibly more than should have been done.&lt;BR /&gt;&lt;BR /&gt;The Audit alarms can be used to identify precisely which file(s) are at issue, and the protection can be examined.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Mon, 19 Nov 2007 10:44:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104845#M87269</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2007-11-19T10:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user with specified permission</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104846#M87270</link>
      <description>&lt;BR /&gt;Ops! :(&lt;BR /&gt;Owner of directory was other user... So...&lt;BR /&gt;&lt;BR /&gt;Adding NETMBX and TMPMBX as privilegs is enought for FTP transfer...&lt;BR /&gt;&lt;BR /&gt;Above privileges permits to "ftpdat user" to override directory owner, but what's the privileges for that??&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Nov 2007 10:50:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104846#M87270</guid>
      <dc:creator>smsc_1</dc:creator>
      <dc:date>2007-11-19T10:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user with specified permission</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104847#M87271</link>
      <description>&lt;BR /&gt;First of all thanks @ all... :)&lt;BR /&gt;&lt;BR /&gt;Tried one by one, and the correct privileges was: SYSPRV&lt;BR /&gt;&lt;BR /&gt;No I need to LOCK that user in HOME DIRECTORY... How I can perform that?&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Nov 2007 11:06:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104847#M87271</guid>
      <dc:creator>smsc_1</dc:creator>
      <dc:date>2007-11-19T11:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user with specified permission</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104848#M87272</link>
      <description>smsc,&lt;BR /&gt;&lt;BR /&gt;SYSPRV should be removed also. It effectively allows a user to go around ALL security restrictions.&lt;BR /&gt;&lt;BR /&gt;If the directory is named &lt;DISK&gt;:[XYZ], then the command to reset the ownership of the directory is:&lt;BR /&gt;&lt;BR /&gt;   SET FILE/OWNER=&lt;USER-IDENTIFIER&gt; &lt;DISK&gt;:[000000]XYZ.DIR&lt;BR /&gt;&lt;BR /&gt;Then do a DIRECTORY/SECURITY on the file. The protections should probably be:&lt;BR /&gt;  SYSTEM: RWED&lt;BR /&gt;  OWNER:  RWED&lt;BR /&gt;  GROUP:  0&lt;BR /&gt;  WORLD:  0&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;&lt;/DISK&gt;&lt;/USER-IDENTIFIER&gt;&lt;/DISK&gt;</description>
      <pubDate>Mon, 19 Nov 2007 12:13:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104848#M87272</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2007-11-19T12:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user with specified permission</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104849#M87273</link>
      <description>smsc,&lt;BR /&gt;&lt;BR /&gt;There is no direct way to prevent them from changing directory with the CD command.&lt;BR /&gt;&lt;BR /&gt;What must be ensured is that they are not able to read anything on the system. This generally means ensuring that all files have no WORLD access (presuming that the restricted user is in a separate Group).&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Mon, 19 Nov 2007 12:22:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104849#M87273</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2007-11-19T12:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user with specified permission</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104850#M87274</link>
      <description>You may use the alternate FTP server HGFTP (found on the freeware CD's available via OpenVMS homepage). This server mays run in parallel to the standard FTP server (using a different port). &lt;BR /&gt;It allows to specify exactly the directories any given FTP user may set default into. You may also limit the available commands for a user.&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
      <pubDate>Mon, 19 Nov 2007 13:13:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104850#M87274</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2007-11-19T13:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user with specified permission</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104851#M87275</link>
      <description>&lt;BR /&gt;Thanks Robert (and thanks to all!!)...&lt;BR /&gt;&lt;BR /&gt;Just change file's owner and file's security and now new user can only get specified file.&lt;BR /&gt;&lt;BR /&gt;You guys save my life! :D&lt;BR /&gt;&lt;BR /&gt;Thread can be closed, thanks again to all....&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Nov 2007 08:35:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104851#M87275</guid>
      <dc:creator>smsc_1</dc:creator>
      <dc:date>2007-11-20T08:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user with specified permission</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104852#M87276</link>
      <description>smsc,&lt;BR /&gt;&lt;BR /&gt;My pleasure!&lt;BR /&gt;&lt;BR /&gt;The thread has to be closed by the user who opened it.&lt;BR /&gt;&lt;BR /&gt;The thread originator is also responsible for awarding points for useful answers.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Tue, 20 Nov 2007 11:40:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104852#M87276</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2007-11-20T11:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user with specified permission</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104853#M87277</link>
      <description>Hello,&lt;BR /&gt;For your FTPDAT account, you can add an Identifier in AUTHORIZE and then set the file ownerships to that identifier, FTPDAT.  You would do this to the login directory and files contained therein.&lt;BR /&gt;&lt;BR /&gt;E.g.,&lt;BR /&gt;$ mcr authorize&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;$ set def sys$system&lt;BR /&gt;$ run authorize&lt;BR /&gt;&lt;BR /&gt;UAF&amp;gt; add/ident/value=uic:[x,y] ftpdat&lt;BR /&gt;UAF&amp;gt; show ftpdat&lt;BR /&gt;   The uaf record will now show that your particular UIC [x,y] is equated to identifier FTPDAT (or whatever you want your identifier to be called).&lt;BR /&gt;UAF&amp;gt; mod ftpdat /flags=(captive,restricted)&lt;BR /&gt;&lt;BR /&gt;Then,&lt;BR /&gt;&lt;BR /&gt;$ set file/own=FTPDAT ftpdat.dir&lt;BR /&gt;$ set file/own=FTPDAT [ftpdat]*.*;*&lt;BR /&gt;&lt;BR /&gt;$ set prot=(w:r) ftpdat.dir&lt;BR /&gt;$ set prot=(w:r) [ftpdir]*.*;*&lt;BR /&gt;$ dir/prot/own ftpdir.dir&lt;BR /&gt;$ dir/prot/own[ftpdir]&lt;BR /&gt;&lt;BR /&gt;Be sure you use the correct disc drive specification.&lt;BR /&gt;&lt;BR /&gt;If you do this, you will have the utmost protection on this account.  If you do all this, you will have FREAKY security on THIS ACCOUNT!</description>
      <pubDate>Tue, 20 Nov 2007 20:45:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/creating-new-user-with-specified-permission/m-p/4104853#M87277</guid>
      <dc:creator>DECxchange</dc:creator>
      <dc:date>2007-11-20T20:45:27Z</dc:date>
    </item>
  </channel>
</rss>

