Alan: > I made this step by step with your information and is working (GDM > Login: shutdown and restart). > Still unable to make the user normal shutdown or restart within the > Gnome (Step 6).
This is great, thanks. > These settings were made with the RBAC Off (RBACSystemCommandKeys=). > Tomorrow I will try to RBAC On (/etc/user_attr). > I am using the Solaris 10 (sol-10-u3-ga-x86-dvd-iso). If you are using Solaris 10, then RBACSystemCommandKeys is not implemented, so setting this in the configuration is not needed. This GDM feature is only implemented in Nevada. Looking at the gnome-panel code, I see that the gnome-panel/GDM integration happened on 2005-01-06 in GNOME 2.10. On Solaris 10 we ship GNOME 2.6, so if you are using Solaris 10, then gnome-panel has no code to integrate to show the Shutdown/Reboot options via GDM. So, using GDM on Solaris 10 you can get Reboot to show up on the GDM screen, but not in the panel. I wasn't clear on this myself until I reviewed the code just now, so apologies if you were misled. > 8 - /etc/X11/gdm/gdm.conf > [daemon] > RBACSystemCommandKeys= > http://img514.imageshack.us/img514/7757/gdmrbac8ss2.jpg > > 9 - /etc/X11/gdm/gdm.conf (after the modified gdm.conf the Solaris 10 > has been restarted). > [daemon] > # Reboot, Halt and suspend commands, you can add different commands > # separated by a semicolon and gdm will use the first one it can find > > RebootCommand=/usr/sbin/reboot;/usr/bin/reboot;/sbin/reboot;/sbin/shutdown > -r > now;/usr/sbin/shutdown -r now > > HaltCommand=/usr/bin/poweroff;/usr/sbin/poweroff;/sbin/poweroff;/sbin/shutdown > > > -h now;/usr/sbin/shutdown -h now > > SuspendCommand= > http://img514.imageshack.us/img514/7012/gdmrbac9eo9.jpg The correct commands for Solaris are: RebootCommand=/sbin/init 6 HaltCommand=/sbin/init 5 SuspendCommand=/usr/openwin/bin/sys-suspend -n You should be using the above values. Brian
