i try to install the app snap by use ‘–dangerous’ security confinement. the snap function is create a user,but there is deny error for ‘adduser’ or ‘passwd’ command
command (adduser --extrausers --home ‘/home/pd’ --ingroup ‘admin’ --disabled-password ‘pd’)
(passwd pd)
well, on a core system you should rather use the snapd API with the equivalent of snap create-user <sso-account-email> through the snapd-control interface which is available to all snap packages using a brand store …