Path: | lib/facter/id.rb |
Last Update: | Sun Oct 21 20:29:25 -0400 2012 |
Fact: id
Purpose: Internal fact used to specity the program to return the currently running user id.
Resolution:
On all Unixes bar Solaris, just returns "whoami". On Solaris, parses the output of the "id" command to grab the username, as Solaris doesn't have the whoami command.
Caveats: