[Samba] root user in smbldap...how to change home

John H Terpstra jht at samba.org
Mon Feb 7 22:39:28 GMT 2005

On Monday 07 February 2005 15:20, David Trask wrote:
> Hi,
> I finally have my profiles problem squared away....
> I've done away with the Administrator user in smbldap-tools by running
> smbldap-populate -a root
> instead of just plain
> smbldap-populate
> Thus root is now the samba admin.  BUT....when I run getent passwd my
> system shows the home directory as /home/root instead of /root....how can
> I change this...or better yet how can I have my cake and eat it too in the
> sense that when I set up my Samba/LDAP server that the root user has the
> /root directory as home by default?

The way I have resolved this is by way of a symbolic link from /home/root 
-> /root

The other way you can solve this is my changing the actual home directory for 
root using the smbldap-usermod tool.

- John T.

> David N. Trask
> Technology Teacher/Coordinator
> Vassalboro Community School
> dtrask at vcs.u52.k12.me.us
> (207)923-3100

John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
Other books in production.

More information about the samba mailing list