Exercise 22: Global Moving


To change the default runlevel, follow these steps:

1.

Log in as any user, and then su to 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, shown in Figure 4.26.

Figure 4.26. Edit the /etc/inittab file.


5.

Change the 5 in the line id:5:initdefault: to 4, and the new default runlevel will be 4.

6.

Save the file and exit. The new default runlevel will apply the next time the system is booted.

To change the ACLs on all files beneath /tmp, follow these steps:

1.

Log in as any user then su to 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 /tmp.

4.

Type the command getfacl /root/.fonts.cache-1 | setfacl --set-file=- * to change all the files beneath this directory.

NOTE

If you've logged in as a different user, the path to the .fonts.cache-1 file will be /home/<username>/.

5.

Exit the terminal by typing exit.



NovellR Linux Certification Practium Lab Manual
NovellR Linux Certification Practium Lab Manual
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 192

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net