google-compute-engine-oslogin: update /bin/bash substitution
This commit is contained in:
parent
2f5beaec08
commit
a1d9aca602
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
|||||||
# change sudoers dir from /var/google-sudoers.d to /run/google-sudoers.d (managed through systemd-tmpfiles)
|
# change sudoers dir from /var/google-sudoers.d to /run/google-sudoers.d (managed through systemd-tmpfiles)
|
||||||
substituteInPlace pam_module/pam_oslogin_admin.cc --replace /var/google-sudoers.d /run/google-sudoers.d
|
substituteInPlace pam_module/pam_oslogin_admin.cc --replace /var/google-sudoers.d /run/google-sudoers.d
|
||||||
# fix "User foo not allowed because shell /bin/bash does not exist"
|
# fix "User foo not allowed because shell /bin/bash does not exist"
|
||||||
substituteInPlace utils/oslogin_utils.cc --replace /bin/bash ${stdenv.shell}
|
substituteInPlace compat.h --replace /bin/bash ${stdenv.shell}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ curl.dev pam ];
|
buildInputs = [ curl.dev pam ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user