<?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 Content Server on AIX: 401 Unauthorized error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/content-server-on-aix-401-unauthorized-error/m-p/9647231#M1763720</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have Content Server installed on an AIX 6.1 server. Everything works fine until I turn adminsecurity on (=1).&lt;/P&gt;&lt;P&gt;When I do that, it asks for a login. Neither my SAP account nor my AIX account works.&lt;/P&gt;&lt;P&gt;I did some research that says that the entries in /etc/shadow needs to be the same as /etc/password.&lt;/P&gt;&lt;P&gt;Well, here's my issue, AIX doesn't have a /etc/shadow file. It has an /etc/security/passwd (which contains the password) and an /etc/security/user (which contains settings of the user). Has anyone had any experience with this? I want to have admin security on, and I'd prefer to not have to use NIS, but if I have to, I will.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/258186" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my cs.conf file entries:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;[ContentServer]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;TraceLevel=warning&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;AdminSecurity=1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;AdminSecurityGroup=sigmasys&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ContentStorageHost=sgm251.itsso.gc.ca&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ContentStorageName=SD1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;StorageDriver=FSStorage&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;PSEDir=/home/sd1adm/security&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ContRepRoot=/usr/app/novus_cs/sd1/contrep&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Storage=ContentStorage.DLL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;[contRep-A6]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ContRepRoot=/usr/app/novus_cs/sd1/contrep&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Aug 2013 19:31:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-08-06T19:31:45Z</dc:date>
    <item>
      <title>Content Server on AIX: 401 Unauthorized error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/content-server-on-aix-401-unauthorized-error/m-p/9647231#M1763720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have Content Server installed on an AIX 6.1 server. Everything works fine until I turn adminsecurity on (=1).&lt;/P&gt;&lt;P&gt;When I do that, it asks for a login. Neither my SAP account nor my AIX account works.&lt;/P&gt;&lt;P&gt;I did some research that says that the entries in /etc/shadow needs to be the same as /etc/password.&lt;/P&gt;&lt;P&gt;Well, here's my issue, AIX doesn't have a /etc/shadow file. It has an /etc/security/passwd (which contains the password) and an /etc/security/user (which contains settings of the user). Has anyone had any experience with this? I want to have admin security on, and I'd prefer to not have to use NIS, but if I have to, I will.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/258186" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my cs.conf file entries:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;[ContentServer]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;TraceLevel=warning&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;AdminSecurity=1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;AdminSecurityGroup=sigmasys&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ContentStorageHost=sgm251.itsso.gc.ca&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ContentStorageName=SD1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;StorageDriver=FSStorage&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;PSEDir=/home/sd1adm/security&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ContRepRoot=/usr/app/novus_cs/sd1/contrep&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Storage=ContentStorage.DLL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;[contRep-A6]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ContRepRoot=/usr/app/novus_cs/sd1/contrep&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2013 19:31:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/content-server-on-aix-401-unauthorized-error/m-p/9647231#M1763720</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-06T19:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Content Server on AIX: 401 Unauthorized error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/content-server-on-aix-401-unauthorized-error/m-p/9647232#M1763721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anthony,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Content server Admin security fails with shadow passwords enabled in the&lt;/P&gt;&lt;P&gt;UNIX OS.&lt;/P&gt;&lt;P&gt;401 Unauthorized (bad local password)&lt;/P&gt;&lt;P&gt;Content Server with AdminSecurity enabled tries to read the users&lt;/P&gt;&lt;P&gt;hashed password details from standard /etc/passwd file. This entry is&lt;/P&gt;&lt;P&gt;missing for the user if the shadow password is enabled in UNIX OS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Content Server Adminsecurity feature cannot be used unless we have the&lt;BR /&gt;hashed password in the /etc/passwd file.&lt;/P&gt;&lt;P&gt;There are two workarounds for this.&lt;/P&gt;&lt;P&gt;1)Bring the hashed password from the shadow file only previlaged to the&lt;BR /&gt;root user (The shadow password management varies among variuos flavours&lt;BR /&gt;of UNIX - on linux it is stored in /etc/shadow) to /etc/passwd file&lt;/P&gt;&lt;P&gt;2)Turn Off AdminSecurity by setting parameter&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AdminSecurity = 0&lt;BR /&gt;in cs.Conf file installed with Content server installation.&lt;BR /&gt;(PLEASE NOTE Content Server Installation by default sets this parameter&lt;BR /&gt;to 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have not recieved any request from the customer regarding this issue. They either transfer the password or switch off the adminSecurity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri', 'sans-serif'; color: #1f497d; font-size: 11pt;"&gt;However for document related operations like upload/download,he can still keep the secuirty active, by activating the check signature and sending the certificates to the CS. When the signature is active,&amp;nbsp; KPRO will generate a url to content server which will contain secKey and the content server will create a new secKey and verify that against the url sent. If the secKey is same, then the operation will continue else an un-authorize 401 error is thrown.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri', 'sans-serif'; color: #1f497d; font-size: 11pt;"&gt;If you still require the AdminSecurity at OS level as well then you need to go for the NIS only.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri', 'sans-serif'; color: #1f497d; font-size: 11pt;"&gt;Best Regards,&lt;BR /&gt;Sneha&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 04:46:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/content-server-on-aix-401-unauthorized-error/m-p/9647232#M1763721</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-12T04:46:27Z</dc:date>
    </item>
  </channel>
</rss>

