diff options
author | Pawel "l0ner" Soltys <pwslts@gmail.com> | 2012-02-02 14:23:19 +0100 |
---|---|---|
committer | Pawel "l0ner" Soltys <pwslts@gmail.com> | 2012-02-02 14:23:19 +0100 |
commit | ed2b6731ab373ac335fde87af177351facbd2f15 (patch) | |
tree | 81cc3d45c8c30aceadb4f597be819dc2863a3a3a /opensuse/core/tdebase/kdm-all-users-nopass.diff | |
parent | 021036598a306d8cf7204d6d62ff090278f7ecf1 (diff) | |
parent | 5f93960dbb108c2c6d09964d1ee0d2e390b1498c (diff) | |
download | tde-packaging-ed2b6731ab373ac335fde87af177351facbd2f15.tar.gz tde-packaging-ed2b6731ab373ac335fde87af177351facbd2f15.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'opensuse/core/tdebase/kdm-all-users-nopass.diff')
-rw-r--r-- | opensuse/core/tdebase/kdm-all-users-nopass.diff | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/opensuse/core/tdebase/kdm-all-users-nopass.diff b/opensuse/core/tdebase/kdm-all-users-nopass.diff new file mode 100644 index 000000000..612c6a553 --- /dev/null +++ b/opensuse/core/tdebase/kdm-all-users-nopass.diff @@ -0,0 +1,34 @@ +Index: kdm/backend/client.c +=================================================================== +--- kdm/backend/client.c.orig ++++ kdm/backend/client.c +@@ -386,6 +386,9 @@ AccNoPass( const char *un, struct passwd + if (cursource != PWSRC_MANUAL) + return 1; + ++ if (td->noPassAllUsers) ++ return 1; ++ + for (hg = 0, fp = td->noPassUsers; *fp; fp++) + if (**fp == '@') + hg = 1; +Index: kdm/config.def +=================================================================== +--- kdm/config.def.orig ++++ kdm/config.def +@@ -1852,6 +1852,15 @@ Description: + (and any other user with UID = 0). + <emphasis>Never</emphasis> list <systemitem class="username">root</systemitem>. + ++Key: NoPassAllUsers ++Type: bool ++Default: false ++User: core ++Instance: #:0/true ++Comment: & ++Description: ++ All users can login without password ++ + Key: AutoLoginEnable + Type: bool + Default: false |