Leon Meßner
2009-Jul-23 10:52 UTC
[Puppet Users] user provider on FreeBSD and manages_passwords, again.
Hi, i would like to use the user provider on freebsd to manage passwords. This isn''t implemented at the moment as Luke said in Message-Id: <5FE94839-099E-43A6-A2A6-411224D9B531@madstop.com>. If you run pw with -h $fd or -H $fd you can provide a password via the file descriptor with nunber $fd (already encrypted in the latter case). I never read ruby till yesterday, but it looks like the actual command is run somewhere far away from the pw.rb (nameservice.rb ?) using execute which does not take strings to pass as stdin ATM. One could do sth. like cmd = echo $passwd | $cmd or supply the password in a file (which execute can pass to stdin). Latter would need more than rewrites in the user provider right ? Perhaps someone else with ruby knowledge also needs this and i would be happy if i can help somehow. cheers, Leon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---