[Puppet Users] Re: Question about passwords

2009-04-30 Thread Rob McBroom
On 2009-Apr-29, at 6:22 PM, josbal wrote: > If a user1 on server1 has uid 502 and in puppet i define user1 to have > uid 500. When i add server1 to puppet, will puppet be able to change > all the file permissions associated with user1? Or will it orphan all > of user1's files? On many systems,

[Puppet Users] Re: Question about passwords

2009-04-29 Thread Robin Sheat
On Thursday 30 April 2009 00:24:41 Rob McBroom wrote: > There's probably a way to generate the encrypted string without the > account actually existing first, but I don't know it. On Linux: mkpasswd -m md5 will do it for you. -- Robin JabberID: http://www.kallisti.net.nz/blog |||

[Puppet Users] Re: Question about passwords

2009-04-29 Thread RijilV
2009/4/29 josbal : > > Further to this... > > If a user1 on server1 has uid 502 and in puppet i define user1 to have > uid 500. When i add server1 to puppet, will puppet be able to change > all the file permissions associated with user1? Or will it orphan all > of  user1's files? > > Thanks again.

[Puppet Users] Re: Question about passwords

2009-04-29 Thread josbal
Further to this... If a user1 on server1 has uid 502 and in puppet i define user1 to have uid 500. When i add server1 to puppet, will puppet be able to change all the file permissions associated with user1? Or will it orphan all of user1's files? Thanks again. On Apr 30, 8:19 am, josbal wrote

[Puppet Users] Re: Question about passwords

2009-04-29 Thread josbal
Thanks guys, This is what i was after. This ralsh thing makes thing alot easier :) Cheers. On Apr 30, 5:45 am, Nigel Kersten wrote: > On Wed, Apr 29, 2009 at 12:27 PM, Rob McBroom > wrote: > > > On 2009-Apr-29, at 11:58 AM, Nigel Kersten wrote: > > >> hah. I did actually read that, but I did

[Puppet Users] Re: Question about passwords

2009-04-29 Thread Nigel Kersten
On Wed, Apr 29, 2009 at 12:27 PM, Rob McBroom wrote: > > On 2009-Apr-29, at 11:58 AM, Nigel Kersten wrote: > >> hah. I did actually read that, but I didn't express myself well. >> >> I meant to point out explicitly that on OS X say, if you run this as >> non-root, you'll get a user resource defin

[Puppet Users] Re: Question about passwords

2009-04-29 Thread Rob McBroom
On 2009-Apr-29, at 11:58 AM, Nigel Kersten wrote: > hah. I did actually read that, but I didn't express myself well. > > I meant to point out explicitly that on OS X say, if you run this as > non-root, you'll get a user resource definition back, it just won't > contain the password. Ah, OK. Actu

[Puppet Users] Re: Question about passwords

2009-04-29 Thread Nigel Kersten
On Wed, Apr 29, 2009 at 8:26 AM, Rob McBroom wrote: > > On 2009-Apr-29, at 10:41 AM, Nigel Kersten wrote: > >> On Wed, Apr 29, 2009 at 5:24 AM, Rob McBroom >> wrote: >>> >>> You can get an example for your particular system by running this as >>> root: >>> >>>     ralsh user username >> >> Note

[Puppet Users] Re: Question about passwords

2009-04-29 Thread Rob McBroom
On 2009-Apr-29, at 10:41 AM, Nigel Kersten wrote: > On Wed, Apr 29, 2009 at 5:24 AM, Rob McBroom > wrote: >> >> You can get an example for your particular system by running this as >> root: >> >> ralsh user username > > Note that to read an existing password hash, you'll probably need to >

[Puppet Users] Re: Question about passwords

2009-04-29 Thread Mike Renfro
On 4/29/2009 7:24 AM, Rob McBroom wrote: > A related question I have: How do you assign an initial password when > the account is created, but prevent Puppet from making that the > password every 30 minutes (should the user want to change it)? I think the vast majority of people use Puppet t

[Puppet Users] Re: Question about passwords

2009-04-29 Thread Nigel Kersten
On Wed, Apr 29, 2009 at 5:24 AM, Rob McBroom wrote: > > On 2009-Apr-28, at 5:51 PM, josbal wrote: > >> After reading through all the documentation I can find and reading the >> "Pulling Strings with Puppet" book i understand how easy it is to >> create and maintain users and groups across all pup

[Puppet Users] Re: Question about passwords

2009-04-29 Thread Rob McBroom
On 2009-Apr-28, at 5:51 PM, josbal wrote: > After reading through all the documentation I can find and reading the > "Pulling Strings with Puppet" book i understand how easy it is to > create and maintain users and groups across all puppet clients, but > how do you define the passwords that go al