SPUCONV(8)

NAME
spuconv - dump out GNUspool user permissions to file

SYNOPSIS
spuconv [ -D dir ] [ -v n ] [ -e n ] [ -s ] [ -f ] user file outfile

DESCRIPTION
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.

OPTIONS

-D directory
    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.

-e n
    Tolerate n errors of the kinds denoted by the other options before giving up trying to convert the file.

-s  Ignore file size errors in the saved user file (up to the number of total errors given by the -e option.

-f  Ignore format errors (invalid form types etc) in the saved user file.

SEE ALSO
cjlist(8), cplist(8), setspdir(8).

AUTHOR
John M Collins, Xi Software Ltd.