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:
|
|