Hi Voytek,

I have used the process you describe with now problem several times, so
don�t worry about using it.

You can also use the vipw command instead of editing the files directly.
This will avoid passwd/shadow inconsistencies.

Cheers...

Enrique Vila.-


-----Mensaje original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre
de Voytek Eymont
Enviado el: Monday, July 28, 2003 12:55 PM
Para: [EMAIL PROTECTED]
Asunto: [SLUG] editing passwd: alters home dir location ? or


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
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

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

Reply via email to