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

Re: Proper Use of adduser.conf



On Thursday 09 June 2011 04:13:27 pm Martin McCormick wrote:
> 	We have set up a backup server and the samba share
> accounts we have on the system need to be in a file system that
> is very large so I modified /etc/adduser.conf to put them in as
> follows:
>
> # The DHOME variable specifies the directory containing users' home
> # directories.
> DHOME=/srv/backups
>
> 	When I ran adduser, it appeared to work and placed the
> home directory in /srv/backups but if you su - testuser, it
> complains that there is no home directory.
>
> 	The rest of the adduser.conf file is left as is.
>
> 	Is there a way to make these accounts work normally even
> though they are in a different file system?
>
> Thank you.

How about adding a link in /home to /srv/backups as a part of the 
adduser script?

Mark


Reply to: