<?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: Prblm in Delegation of Rights ... Plz help in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/prblm-in-delegation-of-rights-plz-help/m-p/3376245#M13983</link>
    <description>Hello Maaz,&lt;BR /&gt;&lt;BR /&gt;Edit the  /etc/sudoers using "visudo"&lt;BR /&gt;&lt;BR /&gt;#visudo&lt;BR /&gt;&lt;BR /&gt;Place and entry &lt;BR /&gt;&lt;BR /&gt;marshall     hostname= NOPASSWD: /bin/cp -R /home /home/marshal/homedirbackup&lt;BR /&gt;&lt;BR /&gt;marshall     hostname= NOPASSWD: /bin/cp -R /opt /home/marshal/optdirbackup&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And save the entry. Now execute as&lt;BR /&gt;&lt;BR /&gt;#sudo /bin/cp -R /home /home/marshal/homedirbackup&lt;BR /&gt;#/bin/cp -R /opt /home/marshal/optdirbackup&lt;BR /&gt;Now you can be able to copy all the entries of home  and /opt directories&lt;BR /&gt;&lt;BR /&gt;Note: Change the hostname to your hostname. The permissions of the copied file will be same as the original files.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Senthil Murugan&lt;BR /&gt;</description>
    <pubDate>Fri, 10 Sep 2004 01:08:48 GMT</pubDate>
    <dc:creator>Senthilmurugan</dc:creator>
    <dc:date>2004-09-10T01:08:48Z</dc:date>
    <item>
      <title>Prblm in Delegation of Rights ... Plz help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/prblm-in-delegation-of-rights-plz-help/m-p/3376244#M13982</link>
      <description>Dear All,&lt;BR /&gt;&lt;BR /&gt;there is an ordinary user named 'marshall'. i want, even have to give marshall backup rights, i.e. he can take backup of ANY files/folder in the /home and /opt directories.&lt;BR /&gt;&lt;BR /&gt;Any1 can plz let me know what I have to wirte in /etc/sudoers, to acheive the task, i mentioned above&lt;BR /&gt;&lt;BR /&gt;Thanks in Advance&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Maaz&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Sep 2004 00:10:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/prblm-in-delegation-of-rights-plz-help/m-p/3376244#M13982</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2004-09-10T00:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Prblm in Delegation of Rights ... Plz help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/prblm-in-delegation-of-rights-plz-help/m-p/3376245#M13983</link>
      <description>Hello Maaz,&lt;BR /&gt;&lt;BR /&gt;Edit the  /etc/sudoers using "visudo"&lt;BR /&gt;&lt;BR /&gt;#visudo&lt;BR /&gt;&lt;BR /&gt;Place and entry &lt;BR /&gt;&lt;BR /&gt;marshall     hostname= NOPASSWD: /bin/cp -R /home /home/marshal/homedirbackup&lt;BR /&gt;&lt;BR /&gt;marshall     hostname= NOPASSWD: /bin/cp -R /opt /home/marshal/optdirbackup&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And save the entry. Now execute as&lt;BR /&gt;&lt;BR /&gt;#sudo /bin/cp -R /home /home/marshal/homedirbackup&lt;BR /&gt;#/bin/cp -R /opt /home/marshal/optdirbackup&lt;BR /&gt;Now you can be able to copy all the entries of home  and /opt directories&lt;BR /&gt;&lt;BR /&gt;Note: Change the hostname to your hostname. The permissions of the copied file will be same as the original files.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Senthil Murugan&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Sep 2004 01:08:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/prblm-in-delegation-of-rights-plz-help/m-p/3376245#M13983</guid>
      <dc:creator>Senthilmurugan</dc:creator>
      <dc:date>2004-09-10T01:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Prblm in Delegation of Rights ... Plz help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/prblm-in-delegation-of-rights-plz-help/m-p/3376246#M13984</link>
      <description>Hello Maaz,&lt;BR /&gt;&lt;BR /&gt;For the previous reply the, owner of the copied file will be "root" only .To preserve the file permissions use "-p" option with the cp command&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Senthil Murugan&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Sep 2004 01:15:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/prblm-in-delegation-of-rights-plz-help/m-p/3376246#M13984</guid>
      <dc:creator>Senthilmurugan</dc:creator>
      <dc:date>2004-09-10T01:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Prblm in Delegation of Rights ... Plz help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/prblm-in-delegation-of-rights-plz-help/m-p/3376247#M13985</link>
      <description>&lt;BR /&gt;Actually there is a switch to cp that is even better for backup/archive jobs than -p:&lt;BR /&gt;&lt;BR /&gt;-a or --archive (same as -dpR)&lt;BR /&gt;&lt;BR /&gt;==================================&lt;BR /&gt;-d     same as --no-dereference -- preserve=link&lt;BR /&gt;-p     same as --preserve=mode,ownership,timestamps&lt;BR /&gt;-R, -r, --recursive&lt;BR /&gt;              copy directories recursively&lt;BR /&gt;==================================&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Ross&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Sep 2004 22:42:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/prblm-in-delegation-of-rights-plz-help/m-p/3376247#M13985</guid>
      <dc:creator>Ross Minkov</dc:creator>
      <dc:date>2004-09-10T22:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Prblm in Delegation of Rights ... Plz help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/prblm-in-delegation-of-rights-plz-help/m-p/3376248#M13986</link>
      <description>Dear Senthil Murugan  &lt;BR /&gt;I m highly Thankful to u, for ur kind support.&lt;BR /&gt;U have solved my prblm&lt;BR /&gt;following line, i add in the /etc/sudoers&lt;BR /&gt;  &lt;BR /&gt;marshall CRM1 = NOPASSWD: /bin/tar -cpvf /home/marshal/* /opt&lt;BR /&gt;marshall CRM1 = NOPASSWD: /bin/tar -cpvf /home/marshal/* /home and its working 100%.&lt;BR /&gt;&lt;BR /&gt;Again Many Thanks&lt;BR /&gt;&lt;BR /&gt;And Ross Minkov, thanks for ur asistance as well. I higly apprecitae ur's suggestion&lt;BR /&gt; &lt;BR /&gt;Best Regards&lt;BR /&gt;Maaz</description>
      <pubDate>Sat, 11 Sep 2004 00:14:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/prblm-in-delegation-of-rights-plz-help/m-p/3376248#M13986</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2004-09-11T00:14:43Z</dc:date>
    </item>
  </channel>
</rss>

