[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Reply to: