Larry Simonsen asks:
> We use buildacct to create a job stream which can be used to
> recreate the accounts, groups and users on our system. is
> there an equivalent tool which can create Posix directories
> and their permissions?
Yes. It's called BULDACCT. :-) If you do :BULDACCT %HELP and page down a bit
you should see:
> **** THE POSIX UPGRADE SUMMARY ****
>
> This version of BULDACCT has been upgraded to work with POSIX
> hierarchical directory structures. As with accounts, groups, and
> users, the hierarchical directory information will be written to
> BULDJOB1. BULDJOB1 will contain the commands used to recreate
> hierarchical directories and the ACDs associated with each of them.
> Items 6, 7, and 8 of the help text will describe the new POSIX
> options %NODIRS, %ROOT and %NOROOT.
>
> - POSIX compatible BULDACCT will detect if it is on an operating
> system version that does not support POSIX. In a case such as
> this, buldacct is "smart" enought to not look for any hierarchical
> directories. Accounts, groups and user commands ONLY will be
> written to BULDJOB1.
>
> - POSIX compatible BULDACCT will default to automatically saving
> all accounts, groups, users, hierarchical directories and the ACDs
> associated with the hierarchical directories.
>
> - When BULDACCT is processing individual accounts or a subset of
> "all accounts" ("@"); all hierarchical directories directly under
> ROOT ( "/") will NOT be processed. It will only take the
> hierarchical directories within each of the accounts specified
> (unless the %ROOT option is specified).
Farther down in %HELP you'll see:
> FOR EXAMPLE:
>
> A. :RUN BULDACCT; INFO="%ROOT" ** NOTE ** There is no acct_list.
> - Will process ONLY hierarchical directories under ROOT
> ("/"). Will not look at any accounts, groups or users
BTW, this is BULDACCT Version A.50.25
HTH,
Patrick
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Patrick Santucci
HPe3000 Systems Administrator
Cornerstone Brands, Inc.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|