 




<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Can anyone provide a list of &#8220;Best Practices&#8221; or recommended commands to secure from command line users&#8230;???</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/can-anyone-provide-a-list-of-best-practices-or-recommended-commands-to-secure-from-command-line-users/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/can-anyone-provide-a-list-of-best-practices-or-recommended-commands-to-secure-from-command-line-users/</link>
	<description></description>
	<lastBuildDate>Fri, 24 May 2013 12:30:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/can-anyone-provide-a-list-of-best-practices-or-recommended-commands-to-secure-from-command-line-users/#comment-80127</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Tue, 10 Aug 2010 05:45:38 +0000</pubDate>
		<guid isPermaLink="false">#comment-80127</guid>
		<description><![CDATA[One way to answer this is to create a simple user profile with no authority but with command-line access. Then run this command:&lt;pre&gt;
DSPOBJD OBJ(*ALL/*ALL)
        OBJTYPE(*CMD)
        OUTPUT(*OUTFILE)
        OUTFILE(QTEMP/CMD)&lt;/pre&gt;
Use RUNQRY or SQL to create a list of names that begin with STR*, END*, CFG*, CLR*, CPY*, RMV*, RST*, SAV*, ADD*, CRT*, CHG* and WRK*. You probably should include DSP*, HLD*, RLS*, GRT*, RVK*, EDT*, OVR*, PRT*, RCL* and RNM*. Other than those, you probably should review the rest on an individual basis to see if you want them included. You need to look at all of the others because you can&#039;t afford to skip commands such as CALL which obviously trumps almost all of the others.

Then feed the list into a CL program that grants *EXCLUDE authority for each individual on the list.

Note that you need to run this against *ALL commands in *ALL libraries, not just QSYS. Commands from 3rd-party products or utilities shouldn&#039;t be missed nor home-grown commands.

If that seems excessive, be aware that a command that seems as harmless as ADDMSGD can lead directly to total control of your system. Many commands can be as powerful as ADDMSGD. (Long-time AS/400 developers can recall when IBM finally changed QCPFMSG to restrict users from changing it. The same vulnerability exists in every other message file that might be found anywhere on your system.)

Tom]]></description>
		<content:encoded><![CDATA[<p>One way to answer this is to create a simple user profile with no authority but with command-line access. Then run this command:
<pre>
DSPOBJD OBJ(*ALL/*ALL)
        OBJTYPE(*CMD)
        OUTPUT(*OUTFILE)
        OUTFILE(QTEMP/CMD)</pre>
<p>Use RUNQRY or SQL to create a list of names that begin with STR*, END*, CFG*, CLR*, CPY*, RMV*, RST*, SAV*, ADD*, CRT*, CHG* and WRK*. You probably should include DSP*, HLD*, RLS*, GRT*, RVK*, EDT*, OVR*, PRT*, RCL* and RNM*. Other than those, you probably should review the rest on an individual basis to see if you want them included. You need to look at all of the others because you can&#8217;t afford to skip commands such as CALL which obviously trumps almost all of the others.</p>
<p>Then feed the list into a CL program that grants *EXCLUDE authority for each individual on the list.</p>
<p>Note that you need to run this against *ALL commands in *ALL libraries, not just QSYS. Commands from 3rd-party products or utilities shouldn&#8217;t be missed nor home-grown commands.</p>
<p>If that seems excessive, be aware that a command that seems as harmless as ADDMSGD can lead directly to total control of your system. Many commands can be as powerful as ADDMSGD. (Long-time AS/400 developers can recall when IBM finally changed QCPFMSG to restrict users from changing it. The same vulnerability exists in every other message file that might be found anywhere on your system.)</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: woodengineer</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/can-anyone-provide-a-list-of-best-practices-or-recommended-commands-to-secure-from-command-line-users/#comment-69217</link>
		<dc:creator>woodengineer</dc:creator>
		<pubDate>Mon, 19 Oct 2009 16:03:06 +0000</pubDate>
		<guid isPermaLink="false">#comment-69217</guid>
		<description><![CDATA[According to IBM, the best practice is to secure the data.  Once the data is secure you do not need to worry about the commands.  Its probably also easier to secure the data than the commands because you know your data files and libraries.  Keeping up with IBM&#039;s commands and exit points could consume a lot of your time.

The group profile feature is a handy to secure data efficiently.  When users are hired or fired, just delete the group profile reference from the user&#039;s profile and you are covered.]]></description>
		<content:encoded><![CDATA[<p>According to IBM, the best practice is to secure the data.  Once the data is secure you do not need to worry about the commands.  Its probably also easier to secure the data than the commands because you know your data files and libraries.  Keeping up with IBM&#8217;s commands and exit points could consume a lot of your time.</p>
<p>The group profile feature is a handy to secure data efficiently.  When users are hired or fired, just delete the group profile reference from the user&#8217;s profile and you are covered.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iseriesvet</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/can-anyone-provide-a-list-of-best-practices-or-recommended-commands-to-secure-from-command-line-users/#comment-56935</link>
		<dc:creator>iseriesvet</dc:creator>
		<pubDate>Tue, 07 Oct 2008 17:17:53 +0000</pubDate>
		<guid isPermaLink="false">#comment-56935</guid>
		<description><![CDATA[Maybe the question is what do your users with command line access (excluding administrators) need access too?  The common thing I have done is to remove command line access, but provide a menu that will perform the items that they need to perform.  There may even be things that can be filled in for the user when prompting the command, to restrict the access even further.  I have also written some basic programs that perform functions with adopted authority, so the user doesn&#039;t need a high level of security to perform these functions.

Please also remember that if you install Iseries Navigator, many things can be done from there - but it is quite easy to limit what the users can do in this utility.  However, if you don&#039;t limit them there the back door is wide open.  I can even execute CL commands (or their equivalents) from the DB function in Iseries Navigator, so having appropriate object level security is still important.]]></description>
		<content:encoded><![CDATA[<p>Maybe the question is what do your users with command line access (excluding administrators) need access too?  The common thing I have done is to remove command line access, but provide a menu that will perform the items that they need to perform.  There may even be things that can be filled in for the user when prompting the command, to restrict the access even further.  I have also written some basic programs that perform functions with adopted authority, so the user doesn&#8217;t need a high level of security to perform these functions.</p>
<p>Please also remember that if you install Iseries Navigator, many things can be done from there &#8211; but it is quite easy to limit what the users can do in this utility.  However, if you don&#8217;t limit them there the back door is wide open.  I can even execute CL commands (or their equivalents) from the DB function in Iseries Navigator, so having appropriate object level security is still important.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tpinky</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/can-anyone-provide-a-list-of-best-practices-or-recommended-commands-to-secure-from-command-line-users/#comment-56830</link>
		<dc:creator>tpinky</dc:creator>
		<pubDate>Wed, 01 Oct 2008 21:14:10 +0000</pubDate>
		<guid isPermaLink="false">#comment-56830</guid>
		<description><![CDATA[You can also look at this website on IBM System i Security Guide...

http://www.redbooks.ibm.com/abstracts/sg246668.html]]></description>
		<content:encoded><![CDATA[<p>You can also look at this website on IBM System i Security Guide&#8230;</p>
<p><a href="http://www.redbooks.ibm.com/abstracts/sg246668.html" rel="nofollow">http://www.redbooks.ibm.com/abstracts/sg246668.html</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/9 queries in 0.014 seconds using memcached
Object Caching 310/313 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-24 13:29:15 -->