I dunno that exercise sounds a little hairy to me.
Maybe I have not had the nads trying to give root something as insane
and insecure as ftp access.
By giving root access to ftp root will have complete access to
all files regardless what it's home directory should be.
 
> If I edit /etc/passwd
> 
> from
> user.org.au:x:517:517:user.org.au:/home/user.org.au:/bin/false
> to
> user.org.au:x:517:517:user.org.au:/home/user.org.au/www:/bin/false
> 
> am I altering the users' root ? or, the location where ftp will log him to
> ?
> 
> what I'm trying to do is:
> 
> I have web users, all they need, is to ftp (or, scp) files to their web
> server root, they do not need or have shell/telnet/ssh access.
> 
> I now have:
> 
> /home/user1.com.au    (owned by root)
> /home/user1.com.au/www        (owned by user1.com.au)
> 
> ftp login takes user to /home/user1.com.au
> 
> will I cause any probs editing /etc/passwd so 
> ftp login will take user to /home/user1.com.au/www directly ?
> 
> (hmmm, now that I typed it up, I'm not sure anymore if I should do that,
> anyhow)
> 
> (and, thanks to all for the help so far)
> 
> Voytek Eymont
-- 
Regards,

Kevin Saenz
 
Spinaweb
Your one stop shop for I.T solutions.
 
Ph: 02 4620 5130
Fax: 02 4625 9243
Mobile: 0418455661
Web: http://www.spinaweb.com.au

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to