Changeset 656
- Timestamp:
- 01/18/10 15:27:20 (14 years ago)
- Location:
- LATMOS-Accounts/bin
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
LATMOS-Accounts/bin/la-acls
r655 r656 32 32 =cut 33 33 34 if (!$ARGV[0]) { print"You must specify 'acl_file', aborting\n"; pod2usage(); }34 if (!$ARGV[0]) {warn "You must specify 'acl_file', aborting\n"; pod2usage(); } 35 35 36 36 if(my $acls = LATMOS::Accounts::Acls->new($ARGV[0])) { -
LATMOS-Accounts/bin/la-create
r655 r656 63 63 =cut 64 64 65 if (!$ARGV[0]) { print"You must specify 'obj_id', aborting\n"; pod2usage(); }65 if (!$ARGV[0]) {warn "You must specify 'obj_id', aborting\n"; pod2usage(); } 66 66 67 67 my $LA = LATMOS::Accounts->new($config, noacl => 1); -
LATMOS-Accounts/bin/la-delete
r655 r656 46 46 =cut 47 47 48 if (!$ARGV[0]) { print"You must specify 'obj_id', aborting\n"; pod2usage(); }48 if (!$ARGV[0]) {warn "You must specify 'obj_id', aborting\n"; pod2usage(); } 49 49 50 50 my $LA = LATMOS::Accounts->new($config, noacl => 1); -
LATMOS-Accounts/bin/la-edit
r655 r656 62 62 =cut 63 63 64 if (!$ARGV[0]) { print"You must specify 'obj_id', aborting\n"; pod2usage(); }64 if (!$ARGV[0]) {warn "You must specify 'obj_id', aborting\n"; pod2usage(); } 65 65 66 66 my $LA = LATMOS::Accounts->new($config, noacl => 1); -
LATMOS-Accounts/bin/la-group
r655 r656 59 59 =cut 60 60 61 if (!$ARGV[0]||!ARGV[1]) { print"You must specify 'group' and 'user1', aborting\n"; pod2usage(); }61 if (!$ARGV[0]||!ARGV[1]) {warn "You must specify 'group' and 'user1', aborting\n"; pod2usage(); } 62 62 63 63 my $LA = LATMOS::Accounts->new($config, noacl => 1); -
LATMOS-Accounts/bin/la-passwd
r655 r656 43 43 ) or pod2usage(); 44 44 45 if (!$ARGV[0]) { print"You must specify 'userid', aborting\n"; pod2usage(); }45 if (!$ARGV[0]) {warn "You must specify 'userid', aborting\n"; pod2usage(); } 46 46 47 47 my $otype = 'user'; -
LATMOS-Accounts/bin/la-search
r655 r656 76 76 ) or pod2usage(); 77 77 78 if (!$ARGV[0]) { print"You must specify 'filter', aborting\n"; pod2usage(); }78 if (!$ARGV[0]) {warn "You must specify 'filter', aborting\n"; pod2usage(); } 79 79 80 80 $otype ||= 'user';
Note: See TracChangeset
for help on using the changeset viewer.