Solved

Regarding cron and swlist

Posted on 2006-11-01
3
314 Views
Last Modified: 2013-12-06
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.

2. How do i a start/stop the cron daemon. Is there any commands to do it?

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?
swlist

0
Comment
Question by:pigeon5566
3 Comments
 
LVL 6

Accepted Solution

by:
JJSmith earned 25 total points
ID: 17942827

1) Use crontab -e to initially create your contab file.

2) The cron daemon is a high level system process that is started when you boot the system and stop when you shutdown. Root is allowed to stop/start by hand by:

     /sbin/init.d/cron  stop

      or

     /sbin/init.d/cron  start

3) swlist will by default list software installed on the local host. If you want to list software in a depot then use the -d flag;

    swlist -d @ /somedir/some.depot


    try a man swlist

    or run it interactively - swlist -i

Cheers
JJ
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now