Great Circle Associates Majordomo-Users
(October 1999)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: linking to Master Password
From: Christopher Adams <chris @ sparkie . osl . state . or . us>
Date: Fri, 8 Oct 1999 14:38:50 -0700 (PDT)
To: majordomo-users @ greatcircle . com

Using the archives for this list, I found a message about setting up a 
master password so that an administrator can easily work with all the 
lists. I assumed that this meant that I could keep all the individual 
passwords for each list and just link them all to a single password. So, 
I tried the shell script mentioned and it seemed to work. However, I soon 
discovered that it when it set hard links to all my 140 list password 
files, it also changed them all to the master password. So, now I have a 
list of list passwords that have hard links, but have not figured out how 
to unlink them. I deleted the master password, but all the files are now 
linked together, so I have to delete each one and set a new password in 
order to delete the link to that particular list. What a headache! 
Fortunately, I have backups to these files. 

What did I do wrong? Here is the script.

#!/bin/sh
for L in `/bin/ls -1 | grep -v '\.'`; do
rm -f $L.passwd
ln MASTER.PASSWD $L.passwd
done

Christopher Adams
Automated Systems
Oregon State Library
chris@sparkie.osl.state.or.us





Follow-Ups:
Indexed By Date Previous: Re: the dreaded "Reply-To" header
From: Jeffrey Goldberg <J.Goldberg@Cranfield.ac.uk>
Next: Re: linking to Master Password
From: "Roger B.A. Klorese" <rogerk@QueerNet.ORG>
Indexed By Thread Previous: Second Try - Can You Help Me Out?
From: "William B. (Beau) Sanders" <beau@pm-systems.com>
Next: Re: linking to Master Password
From: "Roger B.A. Klorese" <rogerk@QueerNet.ORG>

Google
 
Search Internet Search www.greatcircle.com