spuconv - dump out GNUspool user permissions to file
spuconv [ -D dir ] [ -v n ] [ -e n ] [ -s ] [ -f ] user file outfile
spuconv considers a GNUspool spool directory, by default the current directory, takes the user file, which is usually spufile or spufile23, and generates a shell script file outfile, which if executed, would recreate the GNUspool users with the same options.
spuconv understands the format of the saved user file for versions of GNUspool going back to release 16, and when presented with a saved file, will attempt to work out from the format which release it relates to.
specifies the source directory for the users and user file. It can be
specified as $SPOOLDIR
or ${SPOOLDIR-/var/spool/gnuspool}
etc and the
environment and/or /etc/gnuspool.conf will be interrogated to
interpolate the value of the environment variable given.
If you use this, don't forget to put single quotes around it thus:
spuconv -D '${SPOOLDIR-/var/spool/gnuspool}' ...
otherwise the shell will try to interpret the $ construct and not spuconv.
Tolerate n errors of the kinds denoted by the other options before giving up trying to convert the file.
Ignore file size errors in the saved user file (up to the number of total errors given by the -e option.
Ignore format errors (invalid form types etc) in the saved user file.
cjlist(8), cplist(8), setspdir(8).
John M Collins, Xi Software Ltd.