|
Literature
Africa |
Linux Administration Notes<< | AdminNotes | >> Other Pages
Random Password GeneratorOn PSI is installed APG (using the DAG rpm), a password generator that makes 'readable' passwords. Please use it to generate your new password... $ apg -M NsCL SloFlewk7 Skyrolg9 6Okqueg3 AtNeenCyt6 Dewpaij8 efKoolt6 Remember that you can change your password from any PSI pc using yppasswd. Attansic L2 Ethernet driver for the psidaq PC at ithembaMisc
ACL (Access Control Lists) on Linux(for 2.6 kernels only) SELinuxSELinux, or Security Enhanced Linux, is a system to define more fine-grained permissions for files, programs, users, etc. In brief, it is based on a concept of "types" - a program subject to SELinux, like
If you have SElinux enabled, and you have problems with permissions,
See for example Web Pages. There are many switches that can be tuned with If you have more "permanent" problems,
To make sure things start after a rebootJust as an example .... sudo chkconfig mysqld on Text-mode screensaverto activate full DPMS screen saver in text mode like you get in X11, you can put this in
for n in 1 2 3 4 5 6 7 8 9 10 11; do
setterm -powersave powerdown > /dev/tty$n
setterm -powerdown 1 > /dev/tty$n
setterm -store > /dev/tty$n
done
printconf
# printconf-tui --Xexport > printconf.xml # printconf-tui --Ximport < printconf.xml I was being unable to stop the browsing; it did work after adding a Enabling ssh access from a new IP address rangeEach IP address has to be explicitly allowed by the firewall. This is done by editing the iptables by editing and running the script. /home/admpsi/bin/fw.psi.sh Then if it's OK /sbin/service iptables save limiting the rights of an SSH login
get the SSHd fingerprint on the server:[sergio@psi ~]$ ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key.pub 1024 38:95:1c:67:03:35:e4:1d:10:46:2c:76:e2:5b:1e:b7 /etc/ssh/ssh_host_rsa_key.pub Enable Java Web Start (for JANIS)cd /usr/bin; sudo ln -sf /usr/java/j2sdk1.4.2_12/jre/javaws/javawsbin javaws
# Java Web Start application/x-java-jnlp-file; javaws %s Enable Java Plugin for Firefox on SL4cd /usr/lib/firefox-1.5.0.7/plugins/; sudo ln -sf /usr/lib/mozilla/plugins/* . Server BackupIn oder to backup the server, we need a place to put the data. This is one of the other machines in the group. If it is one of the Sun machines, format the extra space on the machine using: Then make the backups mount point Then mount that partition by adding the following line to And export it by adding the following line to History of incidentsPower Failure Unfortunately, power failure is commonplace at the university. This can lead to a number problems in a machine that was rudely dumped.
sudo service ypbind start sudo service autofs start 2006 Feb 21: Schonlan Firewall Schonlan stopped receiving mail. Wits had changed the mail server for maintenance and the firewall was blocking it.
Updating the firewall: Added the line FRIENDS[2]=146.141.15.5 to /root/fw.schonlan.sh then ran the script. Then called /etc/init.d/iptables save so that it is standard at boot.
2005 Nov 14: Squirrelmail error Symptoms: At the Squirrelmail login after putting name and password the following error is encountered: "Error connecting to IMAP server: localhost. 111 : Connection refused" imap was verified to be listening with [root@SchonLAN log]# netstat -tl | grep -i imap \\ tcp 0 0 *:imaps *:* LISTEN \\ tcp 0 0 *:imap *:* LISTEN Solution: Squirrelmail connects on port 1143 which is an imap connection cached by imapproxy. It appears that imapproxy didn't come up again properly after a related to a power failure early Sunday morning. Restarted the imapproxy server which repaired the error.
Note: Now that we use Dovecot instead of UW-IMAPd, we do not need imapproxy to have good performance on the webmail, so it is not installed and the above cannot happen.
|