I have used a simple fact to (very) naively determine "real" users. It runs on
each client:
$ cat localusers.rb
Facter.add("localusers") do
setcode do
%x{USERS=`/bin/getent passwd | /bin/grep /home | /bin/awk -F: \'{print
$1}\'`; echo $USERS | sed -e \'s/ /,/g\'}.chomp
end
en
+--
| On 2010-08-30 15:43:44, Daniel Pittman wrote:
|
| You probably want to note that this will collect users from, for example, NIS
| or LDAP directories when run, not just "local" /etc/passwd users. Different
| people
+--
| On 2010-09-24 10:06:10, windowsrefund wrote:
|
| I'm running 0.25.4 patched with Martin's iptype (3399) fix. The zone
| type appears to be unable to create zones on Opensolaris nv_134. I'm
| thinking this is related
+--
| On 2010-12-17 10:38:54, Don Jackson wrote:
|
| I was attempting to set up some cron jobs via puppet.
|
| I was trying to get cron to mail the output of the cron jobs to a specific
user, so I was
| attempting to set