Commit [7f44dc] Maximize Restore History

Add support for running tcsd as non TSS:TSS user+group.

When developing with tcsd it is currently required to create the user/group
TSS:TSS since tcsd will switch to it and check that config and state files
are owned by it. This can be troublesome in development environments where
you want to run tcsd as a user and not mess with global system settings.

Add configure switch --disable-usercheck for disable the TSS:TSS need of tcsd:
- No tcsd.conf and /var/lib/tpm owner-checking
- No switching to user by tcsd
- No useradd/groupadd and userdel/groupdel
- No chowns and chmods
- Warning at start of tcsd about this behaviour

Signed-off-by: Andreas Fuchs <andreas.fuchs@sit.fraunhofer.de>
Acked-by: Joel Schopp <jschopp@linux.vnet.ibm.com>
Tested-by: Richard Maciel <rmaciel@linux.vnet.ibm.com>

Fuchs, Andreas Fuchs, Andreas 2013-10-09

Richard Maciel Richard Maciel 2013-10-09

changed configure.in
changed dist
changed dist/Makefile.am
changed src
changed src/tcsd
changed src/tcsd/svrside.c
changed src/tcsd/tcsd_conf.c
configure.in Diff Switch to side-by-side view
Loading...
dist
Directory.
dist/Makefile.am Diff Switch to side-by-side view
Loading...
src
Directory.
src/tcsd
Directory.
src/tcsd/svrside.c Diff Switch to side-by-side view
Loading...
src/tcsd/tcsd_conf.c Diff Switch to side-by-side view
Loading...