aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2001-09-17 16:32:00 +0000
committerDaouda Lo <daouda@mandriva.com>2001-09-17 16:32:00 +0000
commit439abbb2ebb91dc2801c471fec8b974e45b2fbe2 (patch)
tree540832020ccd2941612d849ba2530081d56a1641 /init-sh
parent41540ac48485ab409fa33810e45a0da6895de048 (diff)
downloadmsec-439abbb2ebb91dc2801c471fec8b974e45b2fbe2.tar
msec-439abbb2ebb91dc2801c471fec8b974e45b2fbe2.tar.gz
msec-439abbb2ebb91dc2801c471fec8b974e45b2fbe2.tar.bz2
msec-439abbb2ebb91dc2801c471fec8b974e45b2fbe2.tar.xz
msec-439abbb2ebb91dc2801c471fec8b974e45b2fbe2.zip
-fix users display in level up to 4 (kdm)
Diffstat (limited to 'init-sh')
-rw-r--r--init-sh/lib.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/init-sh/lib.sh b/init-sh/lib.sh
index 1be738a..25711e9 100644
--- a/init-sh/lib.sh
+++ b/init-sh/lib.sh
@@ -241,9 +241,9 @@ ForbidAutologin() {
}
ForbidUserList() {
- file=/usr/share/config/kdmrc
+ file=/usr/share/config/kdm/kdmrc
if [[ -f ${file} ]]; then
- perl -pi -e 's/^UserView=.*$/UserView=false/' ${file}
+ perl -pi -e 's/^ShowUsers=.*$/ShowUsers=None/' ${file}
fi
file=/etc/X11/gdm/gdm.conf
@@ -253,9 +253,9 @@ ForbidUserList() {
}
AllowUserList() {
- file=/usr/share/config/kdmrc
+ file=/usr/share/config/kdm/kdmrc
if [[ -f ${file} ]]; then
- perl -pi -e 's/^UserView=.*$/UserView=true/' ${file}
+ perl -pi -e 's/^ShowUsers=.*$/ShowUsers=All/' ${file}
fi
file=/etc/X11/gdm/gdm.conf