summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGowrishankar Rajaiyan <gsr@redhat.com>2011-02-02 19:18:10 +0530
committerStephen Gallagher <sgallagh@redhat.com>2011-02-03 12:16:55 -0500
commit0a0d272844108fe3650a206c39dd4047f10003f2 (patch)
tree7b88afb2a934e5c6233ccc98ac48dc7e508575cc
parent985e873f90a2dbf5b145b378c40de5b87d206a39 (diff)
downloadsssd-0a0d272844108fe3650a206c39dd4047f10003f2.tar.gz
sssd-0a0d272844108fe3650a206c39dd4047f10003f2.tar.xz
sssd-0a0d272844108fe3650a206c39dd4047f10003f2.zip
removing password option functionality
-rw-r--r--src/tools/sss_obfuscate6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/tools/sss_obfuscate b/src/tools/sss_obfuscate
index 4657a8fa2..506e2c410 100644
--- a/src/tools/sss_obfuscate
+++ b/src/tools/sss_obfuscate
@@ -26,10 +26,6 @@ def parse_options():
dest="filename", default=None,
help="Set input file to FILE (default: Use system default, usually /etc/sssd/sssd.conf)",
metavar="FILE")
- parser.add_option("-p", "--password",
- dest="password", default=None,
- help="Password to obfuscate.",
- metavar="PASSWORD")
(options, args) = parser.parse_args()
return options, args
@@ -44,7 +40,7 @@ def main():
print >> sys.stderr, "No domain specified"
return 1
- if not options.stdin and not options.password:
+ if not options.stdin:
pprompt = lambda: (getpass.getpass("Enter password: "), getpass.getpass("Re-enter password: "))
p1, p2 = pprompt()
while p1 != p2: