From 41a989e3e1fda9be2fd97b87c7cdeb99eb3735d6 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Sat, 9 Aug 2008 19:11:58 +0000 Subject: Implementing (hopefully :)) two stage3 options (allowshutdown and rootlogin) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2003 95ad53e4-c205-0410-b2fa-d234c58c8868 --- .../plugins/desktop/OpenSLX/OSPlugin/desktop.pm | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'os-plugins/plugins/desktop/OpenSLX/OSPlugin/desktop.pm') diff --git a/os-plugins/plugins/desktop/OpenSLX/OSPlugin/desktop.pm b/os-plugins/plugins/desktop/OpenSLX/OSPlugin/desktop.pm index 0fbca922..886dbd1d 100644 --- a/os-plugins/plugins/desktop/OpenSLX/OSPlugin/desktop.pm +++ b/os-plugins/plugins/desktop/OpenSLX/OSPlugin/desktop.pm @@ -111,7 +111,7 @@ sub getAttrInfo content_descr => 'one of the entries in "supported_themes"', default => 'openslx', }, - 'desktop::allow-shutdown' => { + 'desktop::allowshutdown' => { applies_to_systems => 1, applies_to_clients => 1, description => unshiftHereDoc(<<' End-of-Here'), @@ -123,7 +123,7 @@ sub getAttrInfo content_descr => 'possible entries "none", "root" or "users"', default => 'users', }, - 'desktop::allow-rootlogin' => { + 'desktop::rootlogin' => { applies_to_systems => 1, applies_to_clients => 1, description => unshiftHereDoc(<<' End-of-Here'), @@ -132,8 +132,19 @@ sub getAttrInfo End-of-Here content_descr => '1 means allowed - 0 means forbidden', content_regex => qr{^(0|1)$}, - default => 'users', + default => '0', }, + # kiosk mode just has the option to logon user nobody + #'desktop::auto-login' => { + # applies_to_systems => 1, + # applies_to_clients => 1, + # description => unshiftHereDoc(<<' End-of-Here'), + # set an arbitrary user which is logged in automatically into + # the graphical user interface (none disables, default). + # End-of-Here + # content_descr => 'none disables - logins in that userid', + # default => 'none', + #}, # stage1 'desktop::gdm' => { @@ -544,7 +555,7 @@ sub _setupGDM $configHash = $self->{distro}->GDMConfigHashForChooser(); $self->_writeConfigHash($configHash, "$repoPath/gdm/chooser/gdm.conf"); - return; + return; } sub _setupGDMScript -- cgit v1.2.3-55-g7522