Santiago:
> I logged as root and noticed there is no "Reboot" button near the
> shutdown one... Any idea why and how can I add it?
Are you using CDE login or GDM as your login screen? The following
command should report which one is online, and which is disabled.
svcs gdm cde-login
The above command works on Nevada. If you are using S10, then I
believe the SVC service names are different and you will have to
use some other command to tell which one you are using (perhaps
"ps -ef | grep gdm" and "ps -ef | grep dtlogin").
If you are using CDE login, then it uses gnome-sys-suspend to support
shutdown. gnome-sys-suspend does not support reboot. There is no way
to get a reboot button with CDE login.
If you are using GDM, you will probably need to do some additional
configuration to get reboot working.
1) Configure RBAC, so that users who should have shutdown/reboot
permission have the "solaris.system.shutdown" auth defined.
If you want reboot/shutdown to appear in the GDM login
screen, then you need to define this auth for the gdm
user.
2) Disable RBAC in GDM by unsetting the RBACSystemCommandKeys
configuration option in the GDM configuration.
3) You probably need to turn on SystemMenu=true in the GDM
configuration also.
If you are using an old version of GDM (such as on Solaris 10),
then you don't need to worry about the RBAC stuff. RBAC is
only integrated into GDM in recent Nevada/vermillion builds.
Brian