At 11:23 PM 9/24/99 +1200, Ard Righ wrote [in part]:

> Ok, so the way it works is I change the file /etc/passwd to point to 
>/usr/home/usersname.
>
> I change the name of the /home to something like /ftp (would that be ok) ?
>
> Then create the symlink for /home to /usr/home ?
>
> Using the instructions I've been given  :o)
>
> Anything I've missed ? 
>

You're doing too much here. I (and someone else) suggested two alternative
solutions, and you're trying to implement parts of both. Here are the two,
separated out:

1. In /etc/passwd, change the sixth entry on each of the line that reads
        /home/userid
to
        /usr/home/userid
(where "userid" will be the individual's login name, as it appears in the
first field of the line).

Exception: leave user ftp's home directory as /home/ftp

Then mv or create the home directories in /usr/home

2. Change the mount point of /home to something else. You do that by
creating the mount point (e.g., "mkdir /ftp"), then editing /etc/fstab to
specify the newly created mount point as the mount location for the volume.

Now get rid of the old /home ("rmdir /home") and replace it with a symlink
to /usr/home ("ln -s /usr/home /home").

Finally (this hasn't been mentioned before, I don't think), edit /etc/passwd
to change user ftp's home directory from /home/ftp to /ftp . Then make sure
/ftp has the same internal structure and contents as does /home/ftp
(anonymous ftp requires that a few programs be duplicated in /ftp/bin,
/ftp/etc, and /ftp/lib). 

------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
Palo Alto, CA                                    [EMAIL PROTECTED]        
----------------------------------------------------------------

Reply via email to