On Jul 22, 2010, at 3:30 PM, Don Harden wrote:

> err: //zabbix_agentd/User[zabbix]/uid: change from 489 to 109 failed:
> Could not set uid on user[zabbix]: Execution of '/usr/sbin/usermod -u
> 109 zabbix' returned 8: usermod: user zabbix is currently logged in

If you want the UID to be the same on every system, then it sounds like it was 
already created with the “wrong” value on some. You will most likely need to 
log in to each such system and fix some things by hand anyway. When you change 
a UID, `usermod` on some systems will fix ownership within a user’s home 
directory, but if the user owns any files elsewhere, you’ll need to fix them by 
hand. It can be a big project, but once the UID is fixed, Puppet won’t try to 
run `usermod` at all.

If you don’t care about keeping the UID consistent, then yeah, remove that line 
as suggested.

-- 
Rob McBroom
<http://www.skurfer.com/>

The magnitude of a problem does not affect its ownership.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to