I sent you some mail but it keeps bouncing back - hope nobody minds if I
post it to the list....
thanks Phil - another top answer....
...did I ask you already if you wanted a job? Good pay, based in Nottinghill
- a good team of IT people doing some really cool stuff with kids... Let me
know if your interested....
I had a good look through your Createusers scripts and was wondering how
difficult it would be to adapt those scripts to building the directories and
links you have outlined below?
I guess sooner or later I will have to get my hands dirty and start learning
how to do this kind of thing... How did you start? Know any good places to
go to where I can learn about this kind of stuff - this is shell scripting
right? I've heard perl is really useful but I have no real programming
I'm having a few problems with using Createusers on my Redhat 6.2 box. I
wonder if you could help as I'm desperate to transfer the hundreds of
accounts over to this machine.....
The shell scripts create the user accounts with the
following error line:
/usr/sbin/createusers: /usr/sbin/autopasswd: No Such File or Directory
the accounts work fine - but only if I change the passwords. Any ideas?
From: Phil Jones
Sent: Wednesday, January 24, 2001 10:24 AM
Subject: Re: Getting rid of the tilde
You need to create user directories under the Apache document root and set
permissions of the directories so that each user can write to their own
directory but only read others. Then set up a symlink in each user's home
directory pointing to their personal directory under the Apache document
The command for making symlinks is ln.
Eg, these commands as root will set up for a user called user1 in the
# make directory in Apache document root for user1. The Apache document
# varies according to the Linux distribution. On Red Hat 7.0, the
# root is /var/www/html.
# set owner of new directory
chown user1.users /var/www/html/user1
# set permissions of new directory, 744 = owner read, write, execute,
# all others read only
chmod 744 /var/www/html/user1
# create symbolic link: myweb in user's home to point to user's directory
# Apache document root
ln -s /var/www/html/user1 /home/user1/myweb
As an alternative, try installing Web User Interface. It scans the system
looking for personal home pages and builds an index. Then your young ones
don't have to type the URL containing the ~ character at all - instead,
can just click the link. Web User Interface is free software available at
. The advantage of this option is you don't have to
the configuration of your system.