<?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: Regarding Cron and swlist in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-cron-and-swlist/m-p/5012296#M426727</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;1. You have done so.&lt;BR /&gt;&lt;BR /&gt;2.&lt;BR /&gt;/sbin/init.d/cron stop (or crond)&lt;BR /&gt;/sbin/init.d/cron start (or crond)&lt;BR /&gt;&lt;BR /&gt;No system handy right  now.&lt;BR /&gt;&lt;BR /&gt;3. swlist reads a database of installed depot or sd-ux comptabile programs installed on the system. It is kept in /var/sw&lt;BR /&gt;&lt;BR /&gt;swlist is designed to read this database. I'm not sure if its actually human readable as I've never tried to read it by hand.&lt;BR /&gt;&lt;BR /&gt;swlist -l product | grep -i name pattern&lt;BR /&gt;# usually helps you find installed software.&lt;BR /&gt;&lt;BR /&gt;Remember that not all software on an HP-UX system needs to be installed by sd-ux, therefore the list is almost never complete in the real world.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
    <pubDate>Sun, 05 Nov 2006 12:50:14 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2006-11-05T12:50:14Z</dc:date>
    <item>
      <title>Regarding Cron and swlist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-cron-and-swlist/m-p/5012295#M426726</link>
      <description>1.  I had created two new user in my HP-UNIX 11.0 system.  I did a crontab -l in these users but it gave permissions problem. So i added the new users  to /usr/lib/crontab.allow . When i do a crontab -l i am getting "can't open your crontab file" . How do i set crontab for the new users.&lt;BR /&gt;&lt;BR /&gt;2. How do i a start/stop the cron daemon. Is there any commands to do it?&lt;BR /&gt;&lt;BR /&gt;3.  When i do a swlist alone i am getting some output. From which directory it takes and list me the output. To which directory the depot is mapped in HP-UX systems. How do i find it?&lt;BR /&gt;swlist</description>
      <pubDate>Sun, 05 Nov 2006 12:03:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-cron-and-swlist/m-p/5012295#M426726</guid>
      <dc:creator>vind123</dc:creator>
      <dc:date>2006-11-05T12:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Cron and swlist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-cron-and-swlist/m-p/5012296#M426727</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;1. You have done so.&lt;BR /&gt;&lt;BR /&gt;2.&lt;BR /&gt;/sbin/init.d/cron stop (or crond)&lt;BR /&gt;/sbin/init.d/cron start (or crond)&lt;BR /&gt;&lt;BR /&gt;No system handy right  now.&lt;BR /&gt;&lt;BR /&gt;3. swlist reads a database of installed depot or sd-ux comptabile programs installed on the system. It is kept in /var/sw&lt;BR /&gt;&lt;BR /&gt;swlist is designed to read this database. I'm not sure if its actually human readable as I've never tried to read it by hand.&lt;BR /&gt;&lt;BR /&gt;swlist -l product | grep -i name pattern&lt;BR /&gt;# usually helps you find installed software.&lt;BR /&gt;&lt;BR /&gt;Remember that not all software on an HP-UX system needs to be installed by sd-ux, therefore the list is almost never complete in the real world.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
      <pubDate>Sun, 05 Nov 2006 12:50:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-cron-and-swlist/m-p/5012296#M426727</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-11-05T12:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Cron and swlist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-cron-and-swlist/m-p/5012297#M426728</link>
      <description>1.  As those users do a 'crontab -e' to edit the crontab file and set up cron jobs.&lt;BR /&gt;&lt;BR /&gt;If you are root you can do 'crontab -e username' to edit usernames crontab file or 'crontab -l username' to list it.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 05 Nov 2006 14:17:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-cron-and-swlist/m-p/5012297#M426728</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2006-11-05T14:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Cron and swlist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-cron-and-swlist/m-p/5012298#M426729</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;As for 'swlist', by default is reads the '/var/adm/sw' directory to ascertain the contents of your Installed Product Database (IPD).&lt;BR /&gt;&lt;BR /&gt;Most certainly, the files within '/var/adm/sw' are "human readable".  This, afterall, is part of the UNIX philosophy.  You should not attempt to manually edit the contents, however, but rather rely only on the standard SD tools ("swinstall', 'swremove', 'swverify', 'cleanup', etc.).&lt;BR /&gt;&lt;BR /&gt;If you should loose part or all of the IPD you will have a server that is simply not patch-able!&lt;BR /&gt;&lt;BR /&gt;If you want to list the contents of a depot as opposed to the IPD, use the '-d &lt;DEPOT&gt;' argument to 'swlist'.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;/DEPOT&gt;</description>
      <pubDate>Sun, 05 Nov 2006 14:30:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-cron-and-swlist/m-p/5012298#M426729</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-11-05T14:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Cron and swlist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-cron-and-swlist/m-p/5012299#M426730</link>
      <description>Friend,&lt;BR /&gt;&lt;BR /&gt;You can start and stop the cron daemons&lt;BR /&gt;&lt;BR /&gt;1&amp;gt; Login to root user&lt;BR /&gt;2) /sbin/init.d/cron stop&lt;BR /&gt;3) /sbin/init.d/cron start&lt;BR /&gt;&lt;BR /&gt;The default software directory is /var/adm/sw.  Usually swlist reads from default directory only.  By using SAM also you can find the default software depot.&lt;BR /&gt;&lt;BR /&gt;- Vivek</description>
      <pubDate>Mon, 06 Nov 2006 04:55:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-cron-and-swlist/m-p/5012299#M426730</guid>
      <dc:creator>Vivekanandan Somanathan</dc:creator>
      <dc:date>2006-11-06T04:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Cron and swlist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-cron-and-swlist/m-p/5012300#M426731</link>
      <description>Thanks a lot for the info.</description>
      <pubDate>Thu, 09 Nov 2006 10:16:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-cron-and-swlist/m-p/5012300#M426731</guid>
      <dc:creator>vind123</dc:creator>
      <dc:date>2006-11-09T10:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Cron and swlist</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-cron-and-swlist/m-p/5012301#M426732</link>
      <description>thx a lot.</description>
      <pubDate>Thu, 09 Nov 2006 10:18:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-cron-and-swlist/m-p/5012301#M426732</guid>
      <dc:creator>vind123</dc:creator>
      <dc:date>2006-11-09T10:18:00Z</dc:date>
    </item>
  </channel>
</rss>

