Archive

Archive for the ‘LDOMs’ Category

View LDOM Configuration as a non-privileged user

November 3rd, 2009 admin No comments

If you try to view LDOM configuration information as a non-privileged user, you’ll probably be greeted with this:

$ /opt/SUNWldm/bin/ldm ls
Authorization failed

You can assign the “LDoms Review” profile to grant this privilege, i.e.:

$ su -
# usermod -P "LDoms Review" username
# profiles username
LDoms Review
Basic Solaris User
All
# exit

Now, you can view the LDOM Configuration as the non-privileged user to which the privilege was assigned

$ /opt/SUNWldm/bin/ldm ls
Name             State    Flags   Cons    VCPU  Memory   Util  Uptime
primary          active   -n-cv   SP      4     1G       0.3%  7d 23h 48m
test-domain      active   -n---   5000    6     4G       0.2%  7d 19h 55m

Cheers,
Kevin

Categories: LDOMs, Solaris Tags: