rhce25 (in progress!)
Terms
undefined, object
copy deck
- cat /proc/meminfo
- show memory status, size,active,inactive...
- system-config-printer
- graphical print setup utility
- -Z chcon restorecon
- the 3 things important to remember about SElinux
- rpm -qd pam
- find where my pam docs are
- /etc/security
- files in ___ may affect how some PAM modules perform their tests
- /var/log/dmesg
- kernel boot messages found here
- yum provides /etc/inittab
- yum equivalent to "rpm -qf /etc/inittab"
- yum list '*xen*'
- list all packages where part of name contains: xen
- swappiness
- edit /proc/sys/net/ipv4/___ to increase swap frequency (chris recommends set this to zero for best performance)
- single user mode
- ____ bypasses PAM
- /2
- in crontab first column, ____ means "every 2 minutes"
- list updates
- To find out if there are updates available for your system use the command: yum ____
- rc.sysinit
- file ____ sets clock, sys name, fs check...
- targeted policy
- SElinux ____ is loaded at install time - most local processes are unconfined
- selinux=0
- grub argument ____ will totally disable selinux
- pseudoterminal
- what you get when you run xterm
- 2
- bootloader is boot step #
- /sbin/runlevel
- show current and previous runlevels
- PAE
- the kernel for multiple processors and up to 16G RAM
- crontab -u bob /tmp/bobcron
- install contents of /tmp/bobcron to bob's crontab
- yum list installed '*gnome*'
- yum equivalent to "rpm -qa | grep gnome"
- modprobe -r pcspkr
- turn PC speaker off (for this session only)
- ppd
- file with this suffix is a cups description (driver) file
- -i
- then only rpm switch to use for kernel updates (not -U, not -F!)
- ip_forward
- boolean whether IP forwarding works in /proc/sys/net/ipv4/____
- sys
- hardware is under /proc/____
- /etc/cups
- directory with config files for printing
- rpm -qi bash
- rpm equivalent to: yum info bash . rpm will display the build host but yum will not.
- /etc/modprobe.d/blacklist
- permanently turn off a module via this file
- /etc/pam.d
- PAM config files kept in ____
- yum list installed man-pages
- to see if man-pages is installed or availabe
- unconfined
- in SElinux, processes are either restricted or ____
- rpm -k /tmp/my.rpm
- after you importa key with rpm, use ___ to verify /tmp/my.rpm
- /etc/sysconfig/selinux
- file ___ sets the SELinux mode and type of policy to use.
- getsebool -a | grep ftp
- ___ shows me SELinux boolean values related to ftp
- setsebool
- set SELinux boolean values with ___
- xinetd
- you can turn off tftp by turning off tftp OR turning off ____
- chkconfig
- immediately starts/stops an *xinetd-managed* service, eg tftp
- public_content_t
- ____ is a good SELinux type for ftp, http, etc. use "chcon -R" with this type
- gpasswd -a bob wheel
- add bob to the wheel group
- du -sh /lib/modules/(2.5*5/ or whatever version you have)
- all the drivers for this machine take up 44Meg; here is how I know:
- 1
- bios is boot step #
- HAL
- ___ contains a snapshot of all connected devices
- 3
- kernel is boot step #
- 6
- rc#.d is boot step #
- 4
- init is boot step #
- setup
- from grub command prompt, you can run ___ to re-do your grub
- /etc/modprobe.conf
- edit __ to use aliases or pass parameters to module, or what commands to run when a module is removed
- system-config-display --noui --reconfig
- how to reconfigure x when x isn't running -- works 90% of the time
- udev
- devices on demand (like "hot plug")
- lspci
- run ____ to start debugging what's up with your wireless device
- yum update kernel
- yum command to update kernel
- t
- t/f ? Day of week and day of month are OR not AND, in cron
- /etc/rc.d/rc.local
- linked in from runlevels 2,3,4,5 as S99local
- grub-md5-crypt
- ____ to give me the md5 encryption string for my passwd
- /etc/udev/rules.d
- ___ contains config files for permissions, filenames for hot-plug devices. For instance "when I insert drive named ... then back up ... to it"
- /lib/security
- pam modules kept in ___
- Xen
- the kernel needed for virtualization
- init
- process #1
- sysctl -a
- list current permanent /proc related settings
- rpm -qf `which yum`
- this rpm command finds what package yum was from
- service
- immediately start or stop a standalone service with ____
- lsmod
- provides list of loaded modules
- 5
- rc.sysinit is boot step #
- grub-install /dev/hda
- if MBR is corrupted, and your hard drive is /dev/hda, run /sbin/____
- mkinitrd /boot/initrd-$(uname -r).img $(uname -r)
- how to make a new initrd
- 8
- X is boot step #
- ntsysv
- use ____ if you don't have xwindows to run system-config-services
- rpm --import RPM-
- run ____-GPG-KEY-redhat-release to verify signature before package install
- targeted
- ____ SELinux mode only cares about its restricted list
- :631/printers
- if you have no x gui and want to config printers, go to http://localhost___
- 7
- rc.local is boot step #
- 631
- cups default port for setting up printers
- startx
- in run level 3, get your x windows started (without changing runlevel) with ___