logo       

Re: Managehome not working in User type in Linux OS: msg#00215

sysutils.puppet.user

Subject: Re: Managehome not working in User type in Linux OS

On Oct 18, 2007, at 12:36 PM, Deepak Naidu wrote:

> I am using the user type function as below to create and manage
> user accounts in RHEL, CentOS, Ubuntu, FreeBSD & BSD,
>
> I have only tried on RHEL, CentOS it works fine for user creation,
> but not managing homedirectory.
>
> I ran puppetd –test in Ubuntu it showed the below message in debug
> mode
>
> Ubuntu(Debian), don’t create homedirectory unless –m arg is passed.
>
> [0;34mdebug: User[user1](provider=useradd): Executing '/usr/sbin/
> useradd -u 3100 -d /home/user1 -g 4000 -s /bin/bash -c user1 user1'^
> [[0m
I just looked at the code and it should work for you; maybe you're
using an older version?

--
On Bureaucracy....
The Pythagorean theorem contains 24 words. Archimedes
Principle, 67. The Ten Commandments, 179. The American Declaration of
Independence, 300. And recent legislation in Europe concerning when
and where to smoke, 23,942. -- The European, June 23-29, 1995
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise