CRac example usage

Jan Kratochvil jkratochvil at azul.com
Wed Nov 2 19:25:01 UTC 2022


On Wed, 02 Nov 2022 16:39:33 +0100, Gabriele Cardosi wrote:
> There should be something slightly different, but I could not understand
> exactly what.

The original workaround
https://mail.openjdk.org/pipermail/crac-dev/2022-January/000079.html
	passwd:     sss files systemd
	group:      sss files systemd
->
	passwd:     files sss systemd
	group:      files sss systemd
was running CRaC under root:
	$ sudo ./build/linux-x86_64-server-slowdebug/images/jdk/bin/java
	...
	#6  0x00007ffff5e960eb in get_user_name (uid=0) at
and therefore the root account was found in local /etc/passwd file.

If you run it without sudo and your non-root user is only available by SSS
(NIS?) the workaround will not work.


Jan


More information about the crac-dev mailing list