09.12.2012 Views

SUSE LINUX Documentation - Index of

SUSE LINUX Documentation - Index of

SUSE LINUX Documentation - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.3 Encrypting Partitions and Files . . . . . . . . . . . . . . . . . . . 116<br />

4.4 Confining Privileges with AppArmor . . . . . . . . . . . . . . . . 119<br />

4.5 Security and Confidentiality . . . . . . . . . . . . . . . . . . . . 128<br />

5 Access Control Lists in Linux 141<br />

5.1 Traditional File Permissions . . . . . . . . . . . . . . . . . . . . 141<br />

5.2 Advantages <strong>of</strong> ACLs . . . . . . . . . . . . . . . . . . . . . . . 143<br />

5.3 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . 143<br />

5.4 Handling ACLs . . . . . . . . . . . . . . . . . . . . . . . . . . 144<br />

5.5 ACL Support in Applications . . . . . . . . . . . . . . . . . . . . 152<br />

5.6 For More Information . . . . . . . . . . . . . . . . . . . . . . 152<br />

6 System Monitoring Utilities 153<br />

6.1 List <strong>of</strong> Open Files: ls<strong>of</strong> . . . . . . . . . . . . . . . . . . . . . 153<br />

6.2 User Accessing Files: fuser . . . . . . . . . . . . . . . . . . . . 155<br />

6.3 File Properties: stat . . . . . . . . . . . . . . . . . . . . . . . 155<br />

6.4 USB Devices: lsusb . . . . . . . . . . . . . . . . . . . . . . . 156<br />

6.5 Information about a SCSI Device: scsiinfo . . . . . . . . . . . . . 156<br />

6.6 Processes: top . . . . . . . . . . . . . . . . . . . . . . . . . 157<br />

6.7 Process List: ps . . . . . . . . . . . . . . . . . . . . . . . . . 158<br />

6.8 Process Tree: pstree . . . . . . . . . . . . . . . . . . . . . . 159<br />

6.9 Who Is Doing What: w . . . . . . . . . . . . . . . . . . . . . . 160<br />

6.10 Memory Usage: free . . . . . . . . . . . . . . . . . . . . . . 160<br />

6.11 Kernel Ring Buffer: dmesg . . . . . . . . . . . . . . . . . . . . 161<br />

6.12 File Systems and Their Usage: mount, df, and du . . . . . . . . . . 161<br />

6.13 The /proc File System . . . . . . . . . . . . . . . . . . . . . . 162<br />

6.14 PCI Resources: lspci . . . . . . . . . . . . . . . . . . . . . . 165<br />

6.15 System Calls <strong>of</strong> a Program Run: strace . . . . . . . . . . . . . . . 166<br />

6.16 Library Calls <strong>of</strong> a Program Run: ltrace . . . . . . . . . . . . . . . 167<br />

6.17 Specifying the Required Library: ldd . . . . . . . . . . . . . . . . 168<br />

6.18 Additional Information about ELF Binaries . . . . . . . . . . . . . . 168<br />

6.19 Interprocess Communication: ipcs . . . . . . . . . . . . . . . . . 169<br />

6.20 Time Measurement with time . . . . . . . . . . . . . . . . . . . 169<br />

Part III System 171<br />

7 32-Bit and 64-Bit Applications in a 64-Bit System Environment 173<br />

7.1 Runtime Support . . . . . . . . . . . . . . . . . . . . . . . . 173<br />

7.2 S<strong>of</strong>tware Development . . . . . . . . . . . . . . . . . . . . . . 174<br />

7.3 S<strong>of</strong>tware Compilation on Biarch Platforms . . . . . . . . . . . . . . 174<br />

7.4 Kernel Specifications . . . . . . . . . . . . . . . . . . . . . . . 176

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!