Siemens V4.0 manual Compression of the ACL Database, Syntax of the asxpwexp.usr file, ExamplesI

Models: V4.0

1 365
Download 365 pages 46.33 Kb
Page 159
Image 159

Tools for special tasks

Compression of the ACL Database

7.3.7 Checking the password expiry with the asxpwexp utility

The asxpwexp utility can be used to check which Advanced Server for UNIX users’ passwords are due to expire within the next “n” (0-28) days. The user can be notified of this by electronic mail, and be given plenty of advance warning if the utility is invoked regularly using cron, for example.

Syntax:

y:?Gu

(default: 5)

In order to be able to send a mail, the asxpwexp.usr configuration file must be available and provide a mapping between Advanced Server for UNIX users and a mail address for these users. If there is no specific information to be provided to the user, a standard notification is sent. The program uses the UNIX mail command internally.

Syntax of the asxpwexp.usr file:

<AS/X user>:<Mail_address>[:user-specific]

You can use any address that can also be used by UNIX Mail as the mail address.

ExamplesI

fred:fred: Your password will expire in 10 days! steve:steveJ@lion

john:lion!johnny:Your password will expire now!

7.4 Compression of the ACL Database

Advanced Server for UNIX stores permissions for files and directories into it's ACL database /var/opt/lanman/datafiles/acl*. Whereas UNIX permissions of files and directories are part of the file system, AS/X permissions are stored in a central place.

If you rename (mv) or delete (rm, rmdir) these files or directories within UNIX the AS/X ist bypassed and the entries in the ACL database will not be adapted. This results in entries pointing to non-existing files and directories.

With the AS/X tool acladm <option> you can remove superfluous entries. However the database will not be reorganized such that gaps exist between the used entries. The total diskspace occupied will not be reduced. Those gaps will be used by future entries of course.

If you remove or delete files and directories from an AS/X client the ACL database will be changed accordingly. Entries will be renamed or removed. However also in this case no reorganization of the ACL database takes place.

Product Manual

U7613-J-Z815-6-76

Page 159
Image 159
Siemens V4.0 manual Compression of the ACL Database, Checking the password expiry with the asxpwexp utility, ExamplesI