<?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: view crontab -l as non root user in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/view-crontab-l-as-non-root-user/m-p/2897530#M104265</link>
    <description>Thanks all for your hints for tools like Sudo and Super, but scheduling a job as root which output crontab -l to a file is the simpliest way.  Thanks Steve.&lt;BR /&gt;&lt;BR /&gt;Regards to all,&lt;BR /&gt;&lt;BR /&gt;Franky</description>
    <pubDate>Wed, 05 Feb 2003 16:00:41 GMT</pubDate>
    <dc:creator>Franky Leeuwerck_1</dc:creator>
    <dc:date>2003-02-05T16:00:41Z</dc:date>
    <item>
      <title>view crontab -l as non root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/view-crontab-l-as-non-root-user/m-p/2897525#M104260</link>
      <description>How can a non root user get the output of the crontab -l command for root ?&lt;BR /&gt;(only viewing is necessary, not editing)&lt;BR /&gt;&lt;BR /&gt;Franky&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Feb 2003 15:45:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/view-crontab-l-as-non-root-user/m-p/2897525#M104260</guid>
      <dc:creator>Franky Leeuwerck_1</dc:creator>
      <dc:date>2003-02-05T15:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: view crontab -l as non root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/view-crontab-l-as-non-root-user/m-p/2897526#M104261</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Go to &lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.6/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.6/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Install sudo&lt;BR /&gt;&lt;BR /&gt;sudo-1.6.6&lt;BR /&gt;A package to allow commands to be run as the superuser. Sudo determines who is an authorised user by consulting your /etc/sudoers database. The program prompts for a user's password to initiate a validation period of N minutes, here N is defined at installation time. N.B. There is no easy way to prevent a user from gaining a root shell if he has access to commands that are shell scripts or that allow shell escapes.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;              regards&lt;BR /&gt;&lt;BR /&gt;               Steve Steel&lt;BR /&gt;&lt;BR /&gt;Note. this is public domain</description>
      <pubDate>Wed, 05 Feb 2003 15:54:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/view-crontab-l-as-non-root-user/m-p/2897526#M104261</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2003-02-05T15:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: view crontab -l as non root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/view-crontab-l-as-non-root-user/m-p/2897527#M104262</link>
      <description>sudo-1.6.6 (8 May 2002)&lt;BR /&gt;A package to allow commands to be run as the superuser &lt;BR /&gt;&lt;BR /&gt;super-3.9.7 (29 Apr 1997)&lt;BR /&gt;Super allows users to execute commands as a superuser &lt;BR /&gt;&lt;BR /&gt;both can be found here:&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/" target="_blank"&gt;http://hpux.cs.utah.edu/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;search for super or sudo</description>
      <pubDate>Wed, 05 Feb 2003 15:54:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/view-crontab-l-as-non-root-user/m-p/2897527#M104262</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2003-02-05T15:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: view crontab -l as non root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/view-crontab-l-as-non-root-user/m-p/2897528#M104263</link>
      <description>I tried this but not sure what other effects it would have.&lt;BR /&gt;chmod 444 /var/spool/cron/crontabs/root&lt;BR /&gt;&lt;BR /&gt;more /var/spool/cron/crontabs/root</description>
      <pubDate>Wed, 05 Feb 2003 15:55:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/view-crontab-l-as-non-root-user/m-p/2897528#M104263</guid>
      <dc:creator>Ken Hubnik_2</dc:creator>
      <dc:date>2003-02-05T15:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: view crontab -l as non root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/view-crontab-l-as-non-root-user/m-p/2897529#M104264</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You could just run a cronjob every hour or so which does crontab -l to another file&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;             steve Steel</description>
      <pubDate>Wed, 05 Feb 2003 15:56:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/view-crontab-l-as-non-root-user/m-p/2897529#M104264</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2003-02-05T15:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: view crontab -l as non root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/view-crontab-l-as-non-root-user/m-p/2897530#M104265</link>
      <description>Thanks all for your hints for tools like Sudo and Super, but scheduling a job as root which output crontab -l to a file is the simpliest way.  Thanks Steve.&lt;BR /&gt;&lt;BR /&gt;Regards to all,&lt;BR /&gt;&lt;BR /&gt;Franky</description>
      <pubDate>Wed, 05 Feb 2003 16:00:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/view-crontab-l-as-non-root-user/m-p/2897530#M104265</guid>
      <dc:creator>Franky Leeuwerck_1</dc:creator>
      <dc:date>2003-02-05T16:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: view crontab -l as non root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/view-crontab-l-as-non-root-user/m-p/2897531#M104266</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;sudo will help you,&lt;BR /&gt;this will available at the link posted by Steve&lt;BR /&gt;&lt;BR /&gt;giving the permision for that user to read can view crontab of root</description>
      <pubDate>Wed, 05 Feb 2003 16:01:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/view-crontab-l-as-non-root-user/m-p/2897531#M104266</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2003-02-05T16:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: view crontab -l as non root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/view-crontab-l-as-non-root-user/m-p/2897532#M104267</link>
      <description>Hi guys,&lt;BR /&gt;&lt;BR /&gt;I'm not a "sudo" or "super" expert, but I'm afraid they work on command basis, and not on parameter level.  So if you allow somebody to use a command through sudo or super they will also be able to use:&lt;BR /&gt;crontab -e user&lt;BR /&gt;crontab -r user&lt;BR /&gt;next to the wanted crontab -l user&lt;BR /&gt;&lt;BR /&gt;Hope I'm wrong however.&lt;BR /&gt;&lt;BR /&gt;Otherwise regular dump to a file, accessible by the required user, would be the least insecure option.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Thierry.</description>
      <pubDate>Wed, 05 Feb 2003 16:12:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/view-crontab-l-as-non-root-user/m-p/2897532#M104267</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2003-02-05T16:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: view crontab -l as non root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/view-crontab-l-as-non-root-user/m-p/2897533#M104268</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;A very easy way to **view** cron file of any user is the followin:&lt;BR /&gt;&lt;BR /&gt;Every cron files are created into /var/spool/cron/crontabs directory. A user have a file with a specific restrictive mode, generally readable only by the owner. If you expand mode readable permission (a risky security factor) to group or other user you can access this file with a simple "cat /var/spool/cron/crontabs/root"&lt;BR /&gt;&lt;BR /&gt;Rgds.</description>
      <pubDate>Wed, 05 Feb 2003 16:15:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/view-crontab-l-as-non-root-user/m-p/2897533#M104268</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2003-02-05T16:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: view crontab -l as non root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/view-crontab-l-as-non-root-user/m-p/2897534#M104269</link>
      <description>I like Thierry's answer.  Just create another entry in the root crontab that runs crontab -l and outputs it to a file.  Then you don't have to worry about changing permissions on the files (which could possibly be changed back next time crontab -e is run).&lt;BR /&gt;&lt;BR /&gt;Sudo has many uses but you have to be careful with it.  I remember going to a site where they had given sudo permissions to vi!  Hmmm, if you can start vi with root permissions, not much you can't do.  Same thing with crontab, which could allow anyone to create a cron job to give themselves a root account.&lt;BR /&gt;&lt;BR /&gt;Chuck</description>
      <pubDate>Thu, 06 Feb 2003 04:42:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/view-crontab-l-as-non-root-user/m-p/2897534#M104269</guid>
      <dc:creator>Chuck Higgins</dc:creator>
      <dc:date>2003-02-06T04:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: view crontab -l as non root user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/view-crontab-l-as-non-root-user/m-p/2897535#M104270</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It's a good idea anyway to backup your cron files using "crontab -l &amp;gt; filename" - it's saved me on a number of occasions without having to resort to tapes...&lt;BR /&gt;&lt;BR /&gt;rgds, Robin</description>
      <pubDate>Thu, 06 Feb 2003 08:45:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/view-crontab-l-as-non-root-user/m-p/2897535#M104270</guid>
      <dc:creator>Robin Wakefield</dc:creator>
      <dc:date>2003-02-06T08:45:50Z</dc:date>
    </item>
  </channel>
</rss>

