diff options
author | Gowrishankar Rajaiyan <gsr@redhat.com> | 2011-02-02 19:18:10 +0530 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-02-03 12:18:33 -0500 |
commit | 63c93f17961ce33e525af915ebb9c530db1cccc8 (patch) | |
tree | 2ed3dc7ad43cf0702c5c5a38136968f37caec9f4 /src | |
parent | 39b5ad947a0d2ba74a45b50aceeb21971b566d43 (diff) | |
download | sssd2-63c93f17961ce33e525af915ebb9c530db1cccc8.tar.gz sssd2-63c93f17961ce33e525af915ebb9c530db1cccc8.tar.xz sssd2-63c93f17961ce33e525af915ebb9c530db1cccc8.zip |
removing password option functionality
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/sss_obfuscate | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/tools/sss_obfuscate b/src/tools/sss_obfuscate index 4657a8fa..506e2c41 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: |