| The cron file entries that Oak Pictures needs to run these scripts at their appropriate times are as follows: 0,5,15,20,25,30,35,40,45,50,55 * * * * /usr/local/bin/oriontest.sh 2&1> /dev/null 0,15,30,45 * * * * /usr/local/bin/suf.sh 2&1> /dev/null 5,15,25,35,45,55 * * * * /usr/local/bin/use.sh 2&1> /dev/null 30 6 * * 0,2,4,6 /usr/local/bin/orionrestart.sh 2&1> /dev/null To set the system so that all newly created files should have default permissions on them set to rw-rw-r--(664), follow these steps: 1. | Log in as root. | 2. | From the KDE kicker, click on the icon of a monitor to open a terminal shell. Optionally, from the menu, select System, Terminal, and then Konsole. | 3. | Type cd /etc. | 4. | Edit the profile file and change the default entry from umask 022 to umask 002. | TIP The profile file is only read when a shell is launched. You must launch a shell for the changes to take effect. To change the owner on all files beneath the /home/jackson directory to syed, follow these steps: 1. | Log in as root. | 2. | From the KDE kicker, click on the icon of a monitor to open a terminal shell. Optionally, from the menu, select System, Terminal, and then Konsole. | 3. | Type cd /home/jackson. | 4. | Type chown syed *.*. | To change the group associated with all files beneath this directory to root, type chgrp root *.*. TIP You can change owner and group in one command by entering chown syed.root *.*. To create a link named viewer in the /root folder to the /bin/zcat file, follow these steps: 1. | Log in as root. | 2. | From the KDE kicker, click on the icon of a monitor to open a terminal shell. Optionally, from the menu, select System, Terminal, and then Konsole. | 3. | Type ln /bin/zcat viewer. | 4. | Exit the terminal by typing exit. | Given the specific requirements for the two users to be added to the system, follow these steps: 1. | Log in as root and start YaST. | 2. | Choose Security and Users and then Edit and Create Users. | 3. | Click Add and enter wintel for the first user. Click Details and set the User ID to 1010. Click Next. | 4. | Click Password Settings and set the Maximum Number of Days for the Same Password to 90. Click Next. | 5. | Click Create. Repeat the process to add the next user. By default, all passwords are stored in the /etc/shadow file as opposed to /etc/passwd with SLES 9. | To change the default runlevel, follow these steps: 1. | Log in as root. | 2. | From the KDE kicker, click on the icon of a monitor to open a terminal shell. Optionally, from the menu, select System, Terminal, and then Konsole. | 3. | Type the command cd /etc. | 4. | Edit the inittab file and change the 5 in the line id:5:initdefault: to 4, and the new default runlevel will be 4. | 5. | Save the file and exit. The new default runlevel will apply the next time the system is booted. | To configure the static IP address configuration as given, follow these steps: 1. | Log in as root and start YaST. | 2. | Choose Network Devices and Network Card. | 3. | Click Change and Edit. The Network address setup will appear as shown in Figure 4.33. Figure 4.33. The settings for the network card.
| 4. | Click the Static Address Setup button and enter an IP address of 192.168.10.7 and a subnet mask of 255.255.255.0. | 5. | Click the Routing button and add a default router address of 192.168.10.101. Click OK. | 6. | Click Next and Finish. | 7. | Click Close and exit YaST. | To add (append) an entry to the end of /var/log/messages that the system has been configured on this date, run the following command from a terminal session: logger p local3.info "system configuration drastically changed". |