Changeset 1756


Ignore:
Timestamp:
04/25/16 17:21:08 (8 years ago)
Author:
nanardon
Message:

Add some messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/bin/la-ban-passwd

    r1752 r1756  
    99=head1 NAME 
    1010 
    11     la-passwd - set user password  
     11    la-ban-passwd - Deny password for user 
    1212 
    1313=head1 SYNOPSIS 
    1414 
    15     la-passwd [options] userid 
     15    la-passwd [options] user password 
     16    la-passwd --current user 
    1617 
    1718=head1 OPTIONS 
     
    7374if ($lock) { 
    7475    $obj->set_c_fields('locked', 1); 
     76    print "User $user locked\n"; 
    7577} 
    7678 
    7779if ($current) { 
    7880    $obj->banCurrentPassword; 
     81    print "Current password banned\n"; 
    7982} else { 
    8083    if ($encrypted) { 
     
    8487    } 
    8588    $obj->storeBannedPassword($password); 
     89    print "Given password banned\n"; 
    8690} 
    8791 
Note: See TracChangeset for help on using the changeset viewer.