<?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: User sercurity issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948791#M413201</link>
    <description>Cong,&lt;BR /&gt;&lt;BR /&gt;well groups looks good.&lt;BR /&gt;&lt;BR /&gt;When you are creating a file from the user: kibs , whats the permission are u getting.&lt;BR /&gt;&lt;BR /&gt;Login; kibs&lt;BR /&gt;pw: **&lt;BR /&gt;&lt;BR /&gt;# touch abc &lt;BR /&gt;# ls -l abc&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Raj.</description>
    <pubDate>Tue, 27 Dec 2005 05:05:43 GMT</pubDate>
    <dc:creator>Raj D.</dc:creator>
    <dc:date>2005-12-27T05:05:43Z</dc:date>
    <item>
      <title>User sercurity issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948774#M413184</link>
      <description>Hi all,&lt;BR /&gt;I have a question, seems tradition question but I don't how to solve it now....&lt;BR /&gt;&lt;BR /&gt;The question is:&lt;BR /&gt;I want prevent unauthorize user's permission.&lt;BR /&gt;For example:&lt;BR /&gt;There are 20 users in my system: user1, user2...user20.&lt;BR /&gt;Each user belong to a group. for example: group1, group 2...group20.&lt;BR /&gt;&lt;BR /&gt;So how to prevent unauthorize access between these user?( delete file, change owner, change file content, remove file, remove dir....etc......?&lt;BR /&gt;In my system, event the user A in group operator still can delete or do any operation with files and directorys that own by user B in group dba.&lt;BR /&gt;I'am really stuck...&lt;BR /&gt;Please helps&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;Hoang Chi Cong</description>
      <pubDate>Tue, 27 Dec 2005 02:39:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948774#M413184</guid>
      <dc:creator>Hoang Chi Cong_1</dc:creator>
      <dc:date>2005-12-27T02:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: User sercurity issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948775#M413185</link>
      <description>Set the sticky bit on the dirs.&lt;BR /&gt;chmod 1777 /dir_user1 and so on.</description>
      <pubDate>Tue, 27 Dec 2005 02:46:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948775#M413185</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-12-27T02:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: User sercurity issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948776#M413186</link>
      <description>1) Setting up umask such that, all files and dirs have only read permission for others. &lt;BR /&gt;&lt;BR /&gt;2) Sticky bit to directories. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Tue, 27 Dec 2005 02:50:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948776#M413186</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-12-27T02:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: User sercurity issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948777#M413187</link>
      <description>Hi Cong ,&lt;BR /&gt;&lt;BR /&gt;To restict other group memebers not to access/delete the files , you can set permission also , remove from the group &amp;amp; other field.&lt;BR /&gt;&lt;BR /&gt;-rwxr--r-- : Read only/not writable for group and others.&lt;BR /&gt;-rwx------ : No Read no write for group and others.&lt;BR /&gt;&lt;BR /&gt;Check also the ownership and group membership on those file(s)/dir(s).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.</description>
      <pubDate>Tue, 27 Dec 2005 02:53:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948777#M413187</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-12-27T02:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: User sercurity issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948778#M413188</link>
      <description>Hi Cong(agian),&lt;BR /&gt;&lt;BR /&gt;you can also check this link to get an idea about understanding unix permissions:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Understanding UNIX permissions :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1. &lt;A href="http://www.zzee.com/solutions/unix-permissions.shtml" target="_blank"&gt;http://www.zzee.com/solutions/unix-permissions.shtml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;2. &lt;A href="http://www.perlfect.com/articles/chmod.shtml" target="_blank"&gt;http://www.perlfect.com/articles/chmod.shtml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;3. &lt;A href="http://www.library.yale.edu/~lso/workstation/docs/permissions/" target="_blank"&gt;http://www.library.yale.edu/~lso/workstation/docs/permissions/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Raj.</description>
      <pubDate>Tue, 27 Dec 2005 03:00:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948778#M413188</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-12-27T03:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: User sercurity issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948779#M413189</link>
      <description>Thanks all,&lt;BR /&gt;&lt;BR /&gt;To RAC: I don't like to set the sticky bit because it may dangerous...HP-UX just C2 security level :( (Just in trusted mode) but my server doens't run in trusted mode.&lt;BR /&gt;&lt;BR /&gt;To Arunvijai: How to set the umask?&lt;BR /&gt;&lt;BR /&gt;Each user has a big number of files and directorys.&lt;BR /&gt;&lt;BR /&gt;To Raj D. :&lt;BR /&gt;I have tried this solution before but nothing change! The other user still can delete the file that not own!&lt;BR /&gt;&lt;BR /&gt;Any idea?&lt;BR /&gt;&lt;BR /&gt;Hoang Chi Cong</description>
      <pubDate>Tue, 27 Dec 2005 03:32:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948779#M413189</guid>
      <dc:creator>Hoang Chi Cong_1</dc:creator>
      <dc:date>2005-12-27T03:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: User sercurity issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948780#M413190</link>
      <description>Hi Cong ,&lt;BR /&gt;&lt;BR /&gt;If other users still able to delete the files after setting he proper permission , seems some problem. Have you set any other permission like acl. You can check # lsacl filename&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can again check with chmod .&lt;BR /&gt;&lt;BR /&gt;You can remove existing permission from dir(s) and file(s) using chmod and give a try:&lt;BR /&gt;&lt;BR /&gt;# chmod go-rwx  file_name&lt;BR /&gt;(also check the files owner and group membership)&lt;BR /&gt;# try deleting and check.&lt;BR /&gt;&lt;BR /&gt;You can check the users primary and other group membership using # id username.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;cheers,&lt;BR /&gt;Raj.</description>
      <pubDate>Tue, 27 Dec 2005 03:40:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948780#M413190</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-12-27T03:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: User sercurity issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948781#M413191</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Here is output when I make a example follow your hint:&lt;BR /&gt;&lt;BR /&gt;&amp;lt;&amp;gt;ll&lt;BR /&gt;total 200&lt;BR /&gt;-rwx------   1 osst       dba          49208 May 12  2005 UBBCONFIG.050511&lt;BR /&gt;-rwx------   1 osst       dba          49208 Dec 27 15:46 tmp.txt&lt;BR /&gt;&amp;lt;&amp;gt;id&lt;BR /&gt;uid=103(osst) gid=102(dba)   &lt;BR /&gt;&lt;BR /&gt;&amp;lt;&amp;gt;lsacl tmp.txt&lt;BR /&gt;lsacl: file "tmp.txt": Function is not available (errno = 251)&lt;BR /&gt;&lt;BR /&gt;-------------------------------------&lt;BR /&gt;&lt;BR /&gt;&amp;lt;&amp;gt;id&lt;BR /&gt;uid=105(kibs) gid=103(opr)&lt;BR /&gt;&amp;lt;&amp;gt;ll&lt;BR /&gt;total 200&lt;BR /&gt;-rwx------   1 osst       dba          49208 May 12  2005 UBBCONFIG.050511&lt;BR /&gt;-rwx------   1 osst       dba          49208 Dec 27 15:46 tmp.txt&lt;BR /&gt;&amp;lt;&amp;gt;rm -f tmp.txt&lt;BR /&gt;&amp;lt;&amp;gt;   ---&amp;gt;can delete!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Hoang Chi Cong</description>
      <pubDate>Tue, 27 Dec 2005 03:52:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948781#M413191</guid>
      <dc:creator>Hoang Chi Cong_1</dc:creator>
      <dc:date>2005-12-27T03:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: User sercurity issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948782#M413192</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;You can just set umask to every user in their profile by editing .profile &lt;BR /&gt;umask=022 (default) &lt;BR /&gt;&lt;BR /&gt;-Arun &lt;BR /&gt;</description>
      <pubDate>Tue, 27 Dec 2005 03:54:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948782#M413192</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-12-27T03:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: User sercurity issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948783#M413193</link>
      <description>Hi Arunvijai&lt;BR /&gt;&lt;BR /&gt;I have just done.&lt;BR /&gt;Very strange: nothing change even add umask=022 in .profile file :(:(</description>
      <pubDate>Tue, 27 Dec 2005 04:04:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948783#M413193</guid>
      <dc:creator>Hoang Chi Cong_1</dc:creator>
      <dc:date>2005-12-27T04:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: User sercurity issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948784#M413194</link>
      <description>Hi Cong,&lt;BR /&gt;Looks strange though , Can you also check user osst is member of which groups.  &lt;BR /&gt;Also if u create a new file , what permission it gets by default.&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Raj.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Dec 2005 04:05:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948784#M413194</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-12-27T04:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: User sercurity issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948785#M413195</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;The osst user is member of "dba" group only. The kibs user is memner of "opr" group only.&lt;BR /&gt;&lt;BR /&gt;When I create a new file, the permission is 666:&lt;BR /&gt;-rw-rw-rw-   1 osst       dba             75 Dec 27 16:12 newfile.txt&lt;BR /&gt;&lt;BR /&gt;Thanks again</description>
      <pubDate>Tue, 27 Dec 2005 04:15:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948785#M413195</guid>
      <dc:creator>Hoang Chi Cong_1</dc:creator>
      <dc:date>2005-12-27T04:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: User sercurity issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948786#M413196</link>
      <description>Hi Cong, When you have 666 permission, anyone can delete it. You need to set the umask to appropriate value. Check # man umask for more details. &lt;BR /&gt;UMASK Values&lt;BR /&gt;============&lt;BR /&gt;           0400  ( a=rwx,u-r)  Read by owner&lt;BR /&gt;           0200  ( a=rwx,u-w)  Write by owner&lt;BR /&gt;           0100  ( a=rwx,u-x)  Execute (search in directory) by owner&lt;BR /&gt;           0040  ( a=rwx,g-r)  Read by group&lt;BR /&gt;           0020  ( a=rwx,g-w)  Write by group&lt;BR /&gt;           0010  ( a=rwx,g-x)  Execute/search by group&lt;BR /&gt;           0004  ( a=rwx,o-r)  Read by others&lt;BR /&gt;           0002  ( a=rwx,o-w)  Write by others&lt;BR /&gt;           0001  ( a=rwx,o-x)  Execute/search by others&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Tue, 27 Dec 2005 04:20:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948786#M413196</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-12-27T04:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: User sercurity issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948787#M413197</link>
      <description>A very good link about umask, &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.unix.org.ua/orelly/networking/puis/ch05_03.htm" target="_blank"&gt;http://www.unix.org.ua/orelly/networking/puis/ch05_03.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Tue, 27 Dec 2005 04:23:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948787#M413197</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-12-27T04:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: User sercurity issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948788#M413198</link>
      <description>Cong,&lt;BR /&gt;&lt;BR /&gt;Well  ,&lt;BR /&gt;&lt;BR /&gt;The id shows that the user is kibs and kibs is member of group "opr" group only.&lt;BR /&gt;&lt;BR /&gt;But when you created a new file see the ownership of the file becomes ostt and group becomes dba.&lt;BR /&gt;&lt;BR /&gt;"When I create a new file, the permission is 666: &lt;BR /&gt;-rw-rw-rw- 1 osst dba 75 Dec 27 16:12 newfile.txt "&lt;BR /&gt;&lt;BR /&gt;Hence you are able to delete the files owning by ostt , and group dba.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;check who else are member of opr group.&lt;BR /&gt;# cat /etc/group | egrep -i '(opr|dba)'&lt;BR /&gt;&lt;BR /&gt;Also check # who am i , from logging from kibs.&lt;BR /&gt;&lt;BR /&gt;Seems there is some group &amp;amp; membership issues,&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Raj.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Dec 2005 04:23:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948788#M413198</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-12-27T04:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: User sercurity issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948789#M413199</link>
      <description>sorry for my bad explain!&lt;BR /&gt;&lt;BR /&gt;That file was creare under osst user right!&lt;BR /&gt;- Fisrt, login with osst user then create the newfile.txt&lt;BR /&gt;- Then I change the file's permission from 666 to 700.&lt;BR /&gt;- Login with kibs user and try to delete this file----&amp;gt; can delete it!&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Dec 2005 04:30:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948789#M413199</guid>
      <dc:creator>Hoang Chi Cong_1</dc:creator>
      <dc:date>2005-12-27T04:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: User sercurity issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948790#M413200</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;&amp;lt;&amp;gt;cat /etc/group | egrep -i '(opr|dba)'&lt;BR /&gt;dba::102:&lt;BR /&gt;opr::103:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;&amp;gt;who am i&lt;BR /&gt;kibs       pts/tc       Dec 27 16:34&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please helps</description>
      <pubDate>Tue, 27 Dec 2005 04:37:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948790#M413200</guid>
      <dc:creator>Hoang Chi Cong_1</dc:creator>
      <dc:date>2005-12-27T04:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: User sercurity issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948791#M413201</link>
      <description>Cong,&lt;BR /&gt;&lt;BR /&gt;well groups looks good.&lt;BR /&gt;&lt;BR /&gt;When you are creating a file from the user: kibs , whats the permission are u getting.&lt;BR /&gt;&lt;BR /&gt;Login; kibs&lt;BR /&gt;pw: **&lt;BR /&gt;&lt;BR /&gt;# touch abc &lt;BR /&gt;# ls -l abc&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Raj.</description>
      <pubDate>Tue, 27 Dec 2005 05:05:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948791#M413201</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-12-27T05:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: User sercurity issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948792#M413202</link>
      <description>Cong,&lt;BR /&gt;&lt;BR /&gt;well groups looks good.&lt;BR /&gt;&lt;BR /&gt;When you are creating a file from the user: kibs , whats the permission are u getting.&lt;BR /&gt;&lt;BR /&gt;Login; kibs&lt;BR /&gt;pw: **&lt;BR /&gt;&lt;BR /&gt;$ touch abc &lt;BR /&gt;$ ls -l abc&lt;BR /&gt;(it should be $, nor # as its a normal user)&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Raj.</description>
      <pubDate>Tue, 27 Dec 2005 05:06:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948792#M413202</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-12-27T05:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: User sercurity issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948793#M413203</link>
      <description>you are missing one important point here. the ability to delete a file does not have anything to do with perms of a file. It depends upon the perms of the directory under which that file lies. so if user has write perms to directory, he can delete files under that directory whether he has write perms to file or not.</description>
      <pubDate>Tue, 27 Dec 2005 05:07:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-sercurity-issue/m-p/4948793#M413203</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-12-27T05:07:13Z</dc:date>
    </item>
  </channel>
</rss>

