... the Network File System (NFS), which is used by Linux and Unix systems; and Samba,
which is the Linux implementation of the Server Message Block (SMB; a.k.a. Common Internet
Filesystem, or CIFS) ... of protocol
stacks, but in Linux both of these use TCP/IP.
Sharing with Unix or Linux: NFS
NFS is tightly woven into Linux and Unix systems, and it supports the filesystem features (suc...
... $1$ÅÀnFvá6Q$6T7hhyN2k74Fizf29eOH70
title Red Hat Linux (2.4 .7 10enterprise)
root (hd0,0)
kernel /boot/vmlinuz−2.4 .7 10enterprise ro root=/dev/hda1
initrd /boot/initrd−2.4 .7 10enterprise.img
title Red Hat Linux up (2.4 .7 10)
root ... /boot/vmlinuz−2.4 .7 10 ro root=/dev/hda1
initrd /boot/initrd−2.4 .7 10.img
title Red Hat Linux up (2.4 .7 10)
root (hd1,0)
kernel /boot/vmlinuz−2....
... the
filesystem that is currently being used.
Listing 4.5: Sample df Output
Filesystem 1k−blocks Used Available Use% Mounted on
/dev/hdb1 2016016 4 674 76 1446128 24% /
/dev/hdb6 75 58368 49 872 92 21 871 28 ...
229.888 ms
11 289.ATM7−0.XR1.STL1.ALTER.NET (152.63.89.1 57) 2049.869 ms 169 .71 6 ms
169.912 ms
12 193.ATM11−0−0.GW1.STL1.ALTER.NET (146.188.224.65) 179 . 874 ms
169 .75 6 ms 169....
... Disk Management 7
Chapter 7: Linux Files and Processes 7
Chapter 8: Software Administration 7
Chapter 9: Backup and Restore 7
Chapter 10: Printers and the Spooling Subsystem 7
Chapter 11: Serial ... of system administration that must be mastered before
more advanced system administration tasks can be undertaken.
Daily system administration tasks are an essential par...
... Id System
/dev/hdb1 2 57 1216 77 11200 5 Extended
/dev/hdb2 1 192 1542208+ fb Unknown
/dev/hdb3 193 256 514080 17 Hidden HPFS/NTFS
/dev/hdb5 2 57 516 2088418+ 6 FAT16
/dev/hdb6 5 17 7 17 1614501 7 ... discover the problem.
Checking Filesystem Integrity
At every boot, Linux checks that its filesystems were shut down correctly. If they weren't, Linux
initiates a filesystem ch...
... /local/bin)
Label: none
2 .
3583 37 ./local
374 625 ./local/bin
375 916 ./local/bin/ntpd
376 041 ./local/bin/sudo
375 9 17 ./local/bin/ntpdate
375 918 ./local/bin/ntptimeset
375 919 ./local/bin/ntpdc
You ... any
filesystem you use. The standard Linux dump utility handles ext2/ext3 filesystems,
but not FAT filesystems or the Reiser journaling filesystem. Trying to use dump on
such...
... Hat's rescue mode.
Rescue Mode
A Linux distribution's rescue mode boots a small but complete Linux system completely
independent of the installed Linux system. From this mode, you can mount ... 'user@speaker+ 179 ', file 1 'yacl−egcs.txt', size
4 172 , format 'l' at 18:06:54
Rank Owner/ID Class Job Files Size Time
active user@speaker+ 179 A 1...
... Linux, see The System Administrator's Guide, at
http://www.us.kernel.org/pub /linux/ libs/pam /Linux PAM−html/pam.html.
File Permissions
We talked about file permissions in Chapters 5 and 7, ... system and the best understood. Unfortunately, by itself it is insufficient to defend your
system adequately.
•
378
that affect all users.
In addition to providing an interface for set...
... ",variable
variable = variable+1
•
The Python script in Listing 17. 7 performs the same function as the Perl script in Listing 17. 6.
Listing 17. 7: An Example Python Script to Create a Menu
#!/usr/bin/python
import ... as shown in Listing 17. 4.
Listing 17. 4: A Sample /etc/training_list Data File
sam|501|34|A
tom|502|23|B
terry|503|43|B
john|504|12|C
mike|505| 67| D
sarah|506|45|C
le...