Jason Amato
2009-Nov-24 15:18 UTC
[Puppet Users] SLES 10 client keeps removing and re-adding accounts to groups
SLES 10 clients keeps removing and re-adding accounts to groups. Can''t use this product in production as a result, I''d like to use it though. Using clients 25.1 with master 25.1 This keeps re-occuring with every single puppet client run: Nov 24 09:57:09 puppetd[26915]: (//unixuser/User[jdoe]/groups) groups changed ''wheel'' to ''unixadm,wheel'' Nov 24 09:57:09 shadow[27044]: account removed from group - account=jdoe, group=wheel, gid=10, by=0 Nov 24 09:57:09 shadow[27044]: account removed from group - account=jdoe, group=video, gid=33, by=0 Nov 24 09:57:09 shadow[27044]: account removed from group - account=jdoe, group=dialout, gid=16, by=0 Nov 24 09:57:09 shadow[27044]: account added to group - account=jdoe, group=dialout, gid=16, by=0 Nov 24 09:57:09 shadow[27044]: account added to group - account=jdoe, group=video, gid=33, by=0 Nov 24 09:57:09 shadow[27044]: account added to group - account=jdoe, group=wheel, gid=10, by=0 I saw a previous post with similar issue with no solution here: http://groups.google.com/group/puppet-users/browse_thread/thread/63204f14d25a1cdf/25ce2c2326e4e40b?hl=en&q=eaiadmin#25ce2c2326e4e40b any ideas anyone? -- 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.
Dan Bode
2009-Nov-25 00:50 UTC
Re: [Puppet Users] SLES 10 client keeps removing and re-adding accounts to groups
Hi Jason,> SLES 10 clients keeps removing and re-adding accounts to groups. > Can''t use this product in production as a result, I''d like to use it > though. > Using clients 25.1 with master 25.1 > > This keeps re-occuring with every single puppet client run: > Nov 24 09:57:09 puppetd[26915]: (//unixuser/User[jdoe]/groups) groups > changed ''wheel'' to ''unixadm,wheel'' > Nov 24 09:57:09 shadow[27044]: account removed from group - > account=jdoe, group=wheel, gid=10, by=0 > Nov 24 09:57:09 shadow[27044]: account removed from group - > account=jdoe, group=video, gid=33, by=0 > Nov 24 09:57:09 shadow[27044]: account removed from group - > account=jdoe, group=dialout, gid=16, by=0 > Nov 24 09:57:09 shadow[27044]: account added to group - account=jdoe, > group=dialout, gid=16, by=0 > Nov 24 09:57:09 shadow[27044]: account added to group - account=jdoe, > group=video, gid=33, by=0 > Nov 24 09:57:09 shadow[27044]: account added to group - account=jdoe, > group=wheel, gid=10, by=0 > > I saw a previous post with similar issue with no solution here: > > http://groups.google.com/group/puppet-users/browse_thread/thread/63204f14d25a1cdf/25ce2c2326e4e40b?hl=en&q=eaiadmin#25ce2c2326e4e40b > > any ideas anyone? > > -- > >Can you post the code that is causing this issue? Also, are you familiar with the ralsh utility? You can verify how the user provider on SUSE works from the command line. #get current properties for jdoe>ralsh user jdoe#create joe if required>ralsh user jdoe ensure=present#create a new user group>ralsh group testgroup ensure=present#add group to user>ralsh user jdoe groups=testgroupregards, -Dan -- 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.
Jason Amato
2009-Nov-25 16:33 UTC
[Puppet Users] Re: SLES 10 client keeps removing and re-adding accounts to groups
Using ralsh led me in the right direction, thanks. SLES (SuSE) complains about this and RHEL does not. If I use '' gid => 100'' (which points to group unix) and include that same group in the ''groups => [''staff'',''unix''] '' list, then SLES complains and acts funny. Removing the group ''unix'' from the ''groups =>'', stops the complaining in SLES. before: user { ''joed'': shell => ''/bin/bash'', uid => ''1000'', groups => [''group'',''unix''], gid => ''100'', ensure => ''present'' } after: user { ''joed'': shell => ''/bin/bash'', uid => ''1000'', groups => [''group''], gid => ''100'', ensure => ''present'' } -- 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.
Maybe Matching Threads
- default backend = rid not showing full group information for users
- default backend = rid not showing full group information for users
- dovecot 2.2.0 corrupts mailboxes?
- quota-related crash for doveadm dsync operation
- doveadm search not showing expected results