Re: Noob question -- setting up home folders
Thanks Tim,
Editing the passwd file worked like a charm! Once I chmod'd permissions for
the directory, my webmaster account could upload the website like a champ!
I think that it's weird that the new accounts aren't automatically makingn
the home directories ( I would expect that from NT land), but I found that
it was to my advantage to make the home directories first anyway. Now
everything works fine.
My best,
Dan
----- Original Message -----
From: "Tim Dijkstra" <newsuser@famdijkstra.org>
To: <debian-user@lists.debian.org>
Sent: Friday, November 08, 2002 10:24 AM
Subject: Re: Noob question -- setting up home folders
On Fri, 8 Nov 2002 09:53:23 -0600
"Dan Gapinski" <dan.gapinski@qsi-r2.com> wrote:
> 1-I made a different top-level directory called ./private. Then I gave
> the command:
> useradd -D -b /private -g groupname
> and then added users this way
> useradd user1
>
> The problem is that although the account logs in (via an ftp client),
> it goes straight to the root directory. In the console, I can log in
> and get a "No directory, logging in with HOME=/" message.
Do de dirs actually exist? They probably should have been made by
useradd, but just checking...
> 2-How dow I make a webmaster account go straight to /var/www?
edit /etc/passwd, its the 6th field. I think you can also do it with
usermod...
> Many thanks,
> Dan
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
Reply to: