[ Pobierz całość w formacie PDF ]
.The emergency disks, also called theboot/root floppies, are created with the setup program in most distributions of Linuxwhen the configuration is changed.You can usually create an emergency boot diskfrom the CD-ROM that the system came on, as well as obtain the necessary files fromFTP sites.After you have booted your machine with the emergency disk, you can mountthe disk partitions with the mount command.Forgetting the rootPasswordThis is an embarrassing and annoying problem, but luckily one easily fixed withLinux.(If only other UNIX systems were so easy!) To recover from a problem withthe root password, use a boot floppy and boot the system.Mount the rootpartition, and edit the /etc/passwd file to remove any password for root;then, reboot from the hard disk.After the system has booted, you can set a password again.WARNING: This pointsout one major security problem with Linux: Anyone with a boot floppy can get unrestrictedaccess to your system! On some systems, you can avoid this problem by setting thesystem BIOS to require a password before booting from a floppy drive.Setting the LoginMessageIf you have more than one user on the system, you can display information aboutthe system, its maintenance, or changes in a file called /etc/motd (messageof the day).The contents of this file are displayed whenever someone logs in.To change the /etc/motd file, use any text editor and save the contentsas ASCII.You can make the contents as long as you want, but readers usually appreciatebrevity.The /etc/motd file is useful for informing users of downtime, backups,or new additions.You can also use it to give a more personal feel to your system.SummarySystem administration is not a complicated subject, unless you want to get intothe nitty-gritty of your operating system and its configuration.For most Linux userswho use the operating system for their personal experimentation, the administrationsteps explained in this chapter should be sufficient for most purposes.If you wantto get into more detail, check out a good UNIX system administration book
[ Pobierz całość w formacie PDF ]