Skip to main content

Posts

SmbK4 can't connect

I installed Smb4K and ran it. When I attempted to attach to my Mac (Samba) server, I get this error: smbmnt must be installed suid root for direct user mounts (1000,1000) smbmnt failed: 1 Here's the command I entered to fix it: sudo chmod a+s /usr/bin/smbmnt a+s means "set the suid for all users." That did it.

Notable tar Usages

From the gnu.org site: For example, here is how you might copy a directory's contents from one disk to another, while preserving the dates, modes, owners and link-structure of all the files therein. In this case, the transfer medium is a pipe , which is one a Unix redirection mechanism: $ cd sourcedir; tar -cf - . | (cd targetdir; tar -xf -) Here's a sample: sudo tar cvzf /media/MyBook500-ext3/Volume/home-2007-10-20.tgz /home/

Copy a Directory using tar

Another way to copy directory hierarchies is to use the tar utility, described in section 6.3.7 . The following sequence of commands copies a structure from the source directory to the destination directory: % cd source_dir ; tar cf - . | (cd destination_dir ; tar xfBp -) The " - " is used for the name of the tar file (argument to the f option) so that tar writes to the standard output or reads from the standard input, as appropriate.

Apache and the SUexecUserGroup directive

This is why the server was giving a 500 Internal Server Error when we'd run a script via a browser. From the file /home/httpd/vhosts/ /conf/httpd.conf: There was a directive: SUexecUserGroup user group (The user was a local username and group . The command takes these 2 arguments. It's a cgi wrapper for security and tells spawned scripts to be run as that user and group. It is not used by default. Read more about the whole thing here: http://httpd.apache.org/docs/2.0/suexec.html

Spam Assassin Upgrade Log

son of babbage June 21, 2005 Goal: Use yum to upgrade spamassassin to the most current version (3.03) Issue: Spamassassin 2.61 is already installed and yum won't upgrade it. Solution: Remove existing version and reinstall from the DAG repository. 1. Remove existing version This step will remove spamassassin, the Plesk spamassassin interface, psa-spamassassin, plus the spamassassin section in each user's .qmail file. [admin@localhost admin]$ sudo yum remove spamassassin ... I will do the following: [erase: spamassassin 2.61-3.i586] I will erase these to satisfy the dependencies: [deps: psa-spamassassin 7.0.3-fc1.build040611.14.i586] Is this ok [y/N]: y Running test transaction: Test transaction complete, Success! ===> Reading /etc/psa/psa.conf ... Delete spamassassin preferences from .qmail files for mailnames ... Erased: spamassassin 2.61-3.i586 psa-spamassassin 7.0.3-fc1.build040611.14.i586 Transaction(s)...

Making PCMCIA detection work in Babbage server

Server was preconfigured to have PCMCIA disabled. 1.) Found startup scripts were disabled. They had renamed the startup scripts in these runlevels (2-5) to kill scripts. # mv /etc/rc.d/rc2.d/K96pcmcia /etc/rc.d/rc2.d/S09pcmcia (repeat this for rc3.d, rc4.d, rc5.d directories). 2.) Still gettting "no pcmcia driver in /proc/devices" in /var/log/messages. Also get when you do 'cardctl -v -o' (-o means run once in foreground, -v means verbose) Check file /etc/sysconfig/pcmcia. It looked like: PCMCIA=no PCIC= PCIC_OPTS= CORE_OPTS= It should look like: [kws@localhost sysconfig]$ more pcmcia PCMCIA=yes PCIC=yenta_socket PCIC_OPTS= CORE_OPTS= This is a Dell laptop, all laptops seem to have the same config.

Installing Webmin on Fedora FC1

http://dag.wieers.com/ http://forums.fedoraforum.org/showthread.php?t=45920 http://stanton-finley.net/fedora_core_3_installation_notes.html#Yum Note that for FC3 or later, instead of added to /etc/yum.conf, you add a new file /etc/fum/repos.d/dag.repo (see above links). FC1: instructions: http://dag.wieers.com/home-made/apt/FAQ.php#B 1.) Add this section to /etc/yum.conf, or create the file /etc/yum.repos.d/dag.repo with these contents:) [dag] name=Dag RPM Repository for Fedora Core baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag gpgcheck=1 enabled=1 2.) Add key for dag to rpm: [root@localhost etc]# rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt 3.) Install webmin: (with the other dependencies): [root@localhost etc]# yum install webmin Gathering header information file(s) from server(s) Server: Fedora Core 1 - i386 - Base Server: Dag RPM Repository for Fedora Core Server: Fedora Core 1 - i386 - Released Updates Finding updated packages Downloading n...

rsync web pages

rsync is an open source utility that provides fast incremental file transfer, available under the GNU General Public License version 2. rsync is hosted at http://samba.org/ .

IRM - The Information Resource Manager

IRM is a PHP, Pear & MySQL based computer inventory system: IRM, the Information Resource Manager, is a powerful web-based asset tracking and trouble ticket system built for IT departments and HelpDesks. It keeps detailed information about each computer, as well as providing a trouble ticket system, an FAQ system, and a Knowledgebase

Qmail Help

Help for Qmail is on the way at: The Qmail home page: http://www.qmail.org/ - select a mirror. The qmail HOWTO v2: http://www.flounder.net/qmail/qmail-howto.html