summaryrefslogtreecommitdiffstats
path: root/users.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-08-09 03:21:59 +0000
committerJeremy Katz <katzj@redhat.com>2001-08-09 03:21:59 +0000
commitd23fc546047fbbd5e1f4d5ca08ccdfb0fcbd814b (patch)
treec890aaaa706c6b5091fd82cd00e0c8699c747f8d /users.py
parentff26e191f4e6fbbef291211e5746ea2de077fe5d (diff)
downloadanaconda-d23fc546047fbbd5e1f4d5ca08ccdfb0fcbd814b.tar.gz
anaconda-d23fc546047fbbd5e1f4d5ca08ccdfb0fcbd814b.tar.xz
anaconda-d23fc546047fbbd5e1f4d5ca08ccdfb0fcbd814b.zip
explicitly disable nis if it's not being used so that it gets removed from nsswitch
Diffstat (limited to 'users.py')
-rw-r--r--users.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/users.py b/users.py
index b33956672..07a536073 100644
--- a/users.py
+++ b/users.py
@@ -183,6 +183,8 @@ class Authentication:
if not self.nisuseBroadcast:
args.append ("--nisserver")
args.append (self.nisServer)
+ else:
+ args.append ("--disablenis")
if self.useLdap:
args.append ("--enableldap")