<?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: New files are creating with the ownership nobody:sys in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/new-files-are-creating-with-the-ownership-nobody-sys/m-p/5059124#M436313</link>
    <description>&lt;!--!*#--&gt;Yes, This is created by Samba filesystem with default permissions&lt;BR /&gt;&lt;BR /&gt;Here are some of the relevant parts in smb.conf&lt;BR /&gt;***************************************************************************************************&lt;BR /&gt;# Uncomment this if you want a guest account, you must add this to /etc/passwd&lt;BR /&gt;# otherwise the user "nobody" is used&lt;BR /&gt;;  guest account = pcguest&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;#============================ Share Definitions ==============================&lt;BR /&gt;[homes]&lt;BR /&gt;   comment = Home Directories&lt;BR /&gt;   browseable = no&lt;BR /&gt;# This one is useful for people to share files&lt;BR /&gt;[tmp]&lt;BR /&gt;   comment = Temporary file space&lt;BR /&gt;   path = /tmp&lt;BR /&gt;   read only = no&lt;BR /&gt;# Un-comment the following and create the netlogon directory for Domain Logons&lt;BR /&gt;; [netlogon]&lt;BR /&gt;;   comment = Network Logon Service&lt;BR /&gt;;   path = /var/opt/samba/netlogon&lt;BR /&gt;;   guest ok = yes&lt;BR /&gt;;   writable = no&lt;BR /&gt;&lt;BR /&gt;# Un-comment the following to provide a specific roving profile share&lt;BR /&gt;# the default is to use the user's home directory&lt;BR /&gt;;[Profiles]&lt;BR /&gt;;    path = /var/opt/samba/profiles&lt;BR /&gt;;    browseable = no&lt;BR /&gt;;    guest ok = yes&lt;BR /&gt;&lt;BR /&gt;# A private directory, usable only by fred. Note that fred requires write&lt;BR /&gt;# access to the directory.&lt;BR /&gt;;[fredsdir]&lt;BR /&gt;;   comment = Fred's Service&lt;BR /&gt;;   path = /usr/somewhere/private&lt;BR /&gt;;   valid users = fred&lt;BR /&gt;;   public = no&lt;BR /&gt;;   writable = yes&lt;BR /&gt;;   printable = no&lt;BR /&gt;# a service which has a different directory for each machine that connects&lt;BR /&gt;# this allows you to tailor configurations to incoming machines. You could&lt;BR /&gt;# also use the %U option to tailor it by user name.&lt;BR /&gt;# The %m gets replaced with the machine name that is connecting.&lt;BR /&gt;;[pchome]&lt;BR /&gt;;  comment = PC Directories&lt;BR /&gt;;  path = /usr/pc/%m&lt;BR /&gt;;  public = no&lt;BR /&gt;;  writable = yes&lt;BR /&gt;# A publicly accessible directory, read/write to all users. Note that all files&lt;BR /&gt;# created in the directory by users will be owned by the default user, so&lt;BR /&gt;# any user with access can delete any other user's files. Obviously this&lt;BR /&gt;# directory must be writable by the default user. Another user could of course&lt;BR /&gt;# be specified, in which case all files would be owned by that user instead.&lt;BR /&gt;;[public]&lt;BR /&gt;;   path = /usr/somewhere/else/public&lt;BR /&gt;;   public = yes&lt;BR /&gt;;   only guest = yes&lt;BR /&gt;;   writable = yes&lt;BR /&gt;;   printable = no&lt;BR /&gt;# The following two entries demonstrate how to share a directory so that two&lt;BR /&gt;# users can place files there that will be owned by the specific users. In this&lt;BR /&gt;# setup, the directory should be writable by both users and should have the&lt;BR /&gt;# sticky bit set on it to prevent abuse. Obviously this could be extended to&lt;BR /&gt;# as many users as required.&lt;BR /&gt;;[myshare]&lt;BR /&gt;;   comment = Mary's and Fred's stuff&lt;BR /&gt;;   path = /usr/somewhere/shared&lt;BR /&gt;;   valid users = mary fred&lt;BR /&gt;;   public = no&lt;BR /&gt;;   writable = yes&lt;BR /&gt;;   printable = no&lt;BR /&gt;;   create mask = 0765&lt;BR /&gt;*****************************************************&lt;BR /&gt;"# Uncomment this if you want a guest account, you must add this to /etc/passwd"&lt;BR /&gt;&lt;BR /&gt;Do I need to add guest account 'pcguest' in /etc/passwd?&lt;BR /&gt;&lt;BR /&gt;***************************************&lt;BR /&gt;&lt;BR /&gt;Host1:/Dir#id&lt;BR /&gt;uid=0(root) gid=3(sys) groups=0(root),1(other),2(bin),4(adm),5(daemon),6(mail),7(lp),20(users)&lt;BR /&gt;************************************************************************************************&lt;BR /&gt;&lt;BR /&gt;Please let me know what changes I need to make in smb.conf file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Is there any scripts like iaschangeowner (for BES/BDOC) to change file ownership in samba?</description>
    <pubDate>Fri, 20 Jul 2007 07:57:34 GMT</pubDate>
    <dc:creator>Benoy Easaw</dc:creator>
    <dc:date>2007-07-20T07:57:34Z</dc:date>
    <item>
      <title>New files are creating with the ownership nobody:sys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-files-are-creating-with-the-ownership-nobody-sys/m-p/5059120#M436309</link>
      <description>&lt;!--!*#--&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;I have an issue with my HP-UX 11.23 system on IA64.&lt;BR /&gt;&lt;BR /&gt;When I logon with the user root and try to create a File/directory in a particular FS it create with the ownership nobody:sys .  The ownership of the FS is root:sys with full permission. Even after changing the ownership of the FS to other user I’m getting the same issue. But if I logon to the system with a user other than root I can create the files in the same FS without any issue. So the issue occurs only with the root login. &lt;BR /&gt;&lt;BR /&gt;There are a few filessystem with this issue but not all. For egs I can create any file/dir  in / with ownership root:sys. The filesystems with the issue are in Service guard Cluster. The issue started after the SG configuration. But there is no issue with the file systems in the secondary node. The SG is working fine. So this looks like nothing to do with the SG config. Because the issue persists regardless the package running on the primary or secondary node. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Can some one help me to resolve this issue?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Benoy Easaw</description>
      <pubDate>Thu, 19 Jul 2007 09:19:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-files-are-creating-with-the-ownership-nobody-sys/m-p/5059120#M436309</guid>
      <dc:creator>Benoy Easaw</dc:creator>
      <dc:date>2007-07-19T09:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: New files are creating with the ownership nobody:sys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-files-are-creating-with-the-ownership-nobody-sys/m-p/5059121#M436310</link>
      <description>Is the filesystem a NFS mount?&lt;BR /&gt;&lt;BR /&gt;If yes, is it setuid on the remote host for nobody?&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 19 Jul 2007 13:54:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-files-are-creating-with-the-ownership-nobody-sys/m-p/5059121#M436310</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2007-07-19T13:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: New files are creating with the ownership nobody:sys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-files-are-creating-with-the-ownership-nobody-sys/m-p/5059122#M436311</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;This could be created by a CIFS/Samba filesystem with unusual default permissions or NFS as mentioned above.&lt;BR /&gt;&lt;BR /&gt;Its easier to configure for NFS in the remote /etc/exports file.&lt;BR /&gt;&lt;BR /&gt;It would appear that this has been done by design.&lt;BR /&gt;&lt;BR /&gt;I would guess that SG is being used to cluster CIFS or NFS and the problem is in /etc/exports or smb.conf&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 19 Jul 2007 14:27:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-files-are-creating-with-the-ownership-nobody-sys/m-p/5059122#M436311</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-07-19T14:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: New files are creating with the ownership nobody:sys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-files-are-creating-with-the-ownership-nobody-sys/m-p/5059123#M436312</link>
      <description>Just check the source of the filesystem:&lt;BR /&gt; &lt;BR /&gt;bdf /particular_Directory/sub_directory...&lt;BR /&gt; &lt;BR /&gt;Network filesystems are not very secure so the default mount privilege from the server (the lefthand portion of the bdf line) is root=nobody, ie, UID=-2. And you do NOT want root privileges in a filesystem on a remote box unless there are really good reasons. If these are filesystems shared within the cluster, then you might consider adding root privilege to the exports file (hint: man exports)</description>
      <pubDate>Thu, 19 Jul 2007 14:35:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-files-are-creating-with-the-ownership-nobody-sys/m-p/5059123#M436312</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-07-19T14:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: New files are creating with the ownership nobody:sys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-files-are-creating-with-the-ownership-nobody-sys/m-p/5059124#M436313</link>
      <description>&lt;!--!*#--&gt;Yes, This is created by Samba filesystem with default permissions&lt;BR /&gt;&lt;BR /&gt;Here are some of the relevant parts in smb.conf&lt;BR /&gt;***************************************************************************************************&lt;BR /&gt;# Uncomment this if you want a guest account, you must add this to /etc/passwd&lt;BR /&gt;# otherwise the user "nobody" is used&lt;BR /&gt;;  guest account = pcguest&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;#============================ Share Definitions ==============================&lt;BR /&gt;[homes]&lt;BR /&gt;   comment = Home Directories&lt;BR /&gt;   browseable = no&lt;BR /&gt;# This one is useful for people to share files&lt;BR /&gt;[tmp]&lt;BR /&gt;   comment = Temporary file space&lt;BR /&gt;   path = /tmp&lt;BR /&gt;   read only = no&lt;BR /&gt;# Un-comment the following and create the netlogon directory for Domain Logons&lt;BR /&gt;; [netlogon]&lt;BR /&gt;;   comment = Network Logon Service&lt;BR /&gt;;   path = /var/opt/samba/netlogon&lt;BR /&gt;;   guest ok = yes&lt;BR /&gt;;   writable = no&lt;BR /&gt;&lt;BR /&gt;# Un-comment the following to provide a specific roving profile share&lt;BR /&gt;# the default is to use the user's home directory&lt;BR /&gt;;[Profiles]&lt;BR /&gt;;    path = /var/opt/samba/profiles&lt;BR /&gt;;    browseable = no&lt;BR /&gt;;    guest ok = yes&lt;BR /&gt;&lt;BR /&gt;# A private directory, usable only by fred. Note that fred requires write&lt;BR /&gt;# access to the directory.&lt;BR /&gt;;[fredsdir]&lt;BR /&gt;;   comment = Fred's Service&lt;BR /&gt;;   path = /usr/somewhere/private&lt;BR /&gt;;   valid users = fred&lt;BR /&gt;;   public = no&lt;BR /&gt;;   writable = yes&lt;BR /&gt;;   printable = no&lt;BR /&gt;# a service which has a different directory for each machine that connects&lt;BR /&gt;# this allows you to tailor configurations to incoming machines. You could&lt;BR /&gt;# also use the %U option to tailor it by user name.&lt;BR /&gt;# The %m gets replaced with the machine name that is connecting.&lt;BR /&gt;;[pchome]&lt;BR /&gt;;  comment = PC Directories&lt;BR /&gt;;  path = /usr/pc/%m&lt;BR /&gt;;  public = no&lt;BR /&gt;;  writable = yes&lt;BR /&gt;# A publicly accessible directory, read/write to all users. Note that all files&lt;BR /&gt;# created in the directory by users will be owned by the default user, so&lt;BR /&gt;# any user with access can delete any other user's files. Obviously this&lt;BR /&gt;# directory must be writable by the default user. Another user could of course&lt;BR /&gt;# be specified, in which case all files would be owned by that user instead.&lt;BR /&gt;;[public]&lt;BR /&gt;;   path = /usr/somewhere/else/public&lt;BR /&gt;;   public = yes&lt;BR /&gt;;   only guest = yes&lt;BR /&gt;;   writable = yes&lt;BR /&gt;;   printable = no&lt;BR /&gt;# The following two entries demonstrate how to share a directory so that two&lt;BR /&gt;# users can place files there that will be owned by the specific users. In this&lt;BR /&gt;# setup, the directory should be writable by both users and should have the&lt;BR /&gt;# sticky bit set on it to prevent abuse. Obviously this could be extended to&lt;BR /&gt;# as many users as required.&lt;BR /&gt;;[myshare]&lt;BR /&gt;;   comment = Mary's and Fred's stuff&lt;BR /&gt;;   path = /usr/somewhere/shared&lt;BR /&gt;;   valid users = mary fred&lt;BR /&gt;;   public = no&lt;BR /&gt;;   writable = yes&lt;BR /&gt;;   printable = no&lt;BR /&gt;;   create mask = 0765&lt;BR /&gt;*****************************************************&lt;BR /&gt;"# Uncomment this if you want a guest account, you must add this to /etc/passwd"&lt;BR /&gt;&lt;BR /&gt;Do I need to add guest account 'pcguest' in /etc/passwd?&lt;BR /&gt;&lt;BR /&gt;***************************************&lt;BR /&gt;&lt;BR /&gt;Host1:/Dir#id&lt;BR /&gt;uid=0(root) gid=3(sys) groups=0(root),1(other),2(bin),4(adm),5(daemon),6(mail),7(lp),20(users)&lt;BR /&gt;************************************************************************************************&lt;BR /&gt;&lt;BR /&gt;Please let me know what changes I need to make in smb.conf file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Is there any scripts like iaschangeowner (for BES/BDOC) to change file ownership in samba?</description>
      <pubDate>Fri, 20 Jul 2007 07:57:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-files-are-creating-with-the-ownership-nobody-sys/m-p/5059124#M436313</guid>
      <dc:creator>Benoy Easaw</dc:creator>
      <dc:date>2007-07-20T07:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: New files are creating with the ownership nobody:sys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-files-are-creating-with-the-ownership-nobody-sys/m-p/5059125#M436314</link>
      <description>I'm not sure if I understand the problem but you can give a try to the force user option in smb.conf.</description>
      <pubDate>Fri, 20 Jul 2007 09:36:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-files-are-creating-with-the-ownership-nobody-sys/m-p/5059125#M436314</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-07-20T09:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: New files are creating with the ownership nobody:sys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-files-are-creating-with-the-ownership-nobody-sys/m-p/5059126#M436315</link>
      <description>&lt;!--!*#--&gt;Hello All,&lt;BR /&gt;&lt;BR /&gt;I could not find any issue with the smb.conf file because Iâ  m using the same (default) smb.conf file in my secondary node and there is no such issue. Even without the smb.conf file Iâ  m getting the same error in my primary node.&lt;BR /&gt;&lt;BR /&gt;My question is why the issue occurs only when I logon with the user â  rootâ  ?  With other users logins I can create files/directory with out any issue in the same file system. &lt;BR /&gt;&lt;BR /&gt;How can I use the force user option in smb.conf.&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Jul 2007 09:29:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-files-are-creating-with-the-ownership-nobody-sys/m-p/5059126#M436315</guid>
      <dc:creator>Benoy Easaw</dc:creator>
      <dc:date>2007-07-23T09:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: New files are creating with the ownership nobody:sys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-files-are-creating-with-the-ownership-nobody-sys/m-p/5059127#M436316</link>
      <description>In your smb.conf file, in each share, add:&lt;BR /&gt;&lt;BR /&gt;        force user = userid1&lt;BR /&gt;        force group = groupid1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Group is optional...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Jul 2007 09:32:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-files-are-creating-with-the-ownership-nobody-sys/m-p/5059127#M436316</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2007-07-23T09:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: New files are creating with the ownership nobody:sys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-files-are-creating-with-the-ownership-nobody-sys/m-p/5059128#M436317</link>
      <description>Did you verify that the smbusers file is the same on both nodes?</description>
      <pubDate>Mon, 23 Jul 2007 10:15:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-files-are-creating-with-the-ownership-nobody-sys/m-p/5059128#M436317</guid>
      <dc:creator>Heironimus</dc:creator>
      <dc:date>2007-07-23T10:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: New files are creating with the ownership nobody:sys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-files-are-creating-with-the-ownership-nobody-sys/m-p/5059129#M436318</link>
      <description>I'm openning another thread with more clear info.</description>
      <pubDate>Tue, 24 Jul 2007 12:34:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-files-are-creating-with-the-ownership-nobody-sys/m-p/5059129#M436318</guid>
      <dc:creator>Benoy Easaw</dc:creator>
      <dc:date>2007-07-24T12:34:18Z</dc:date>
    </item>
  </channel>
</rss>

