Lock root password in passwordless-root package
See QubesOS/qubes-issues#5799. Undo the change to empty password previously performed by that package.
This commit is contained in:
parent
212df1d586
commit
e52f4f1341
@ -35,7 +35,7 @@ pre_install() {
|
|||||||
# Add qubes core related fstab entries
|
# Add qubes core related fstab entries
|
||||||
echo "xen /proc/xen xenfs defaults 0 0" >> /etc/fstab
|
echo "xen /proc/xen xenfs defaults 0 0" >> /etc/fstab
|
||||||
|
|
||||||
usermod -p '' root
|
usermod -L root
|
||||||
usermod -L user
|
usermod -L user
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,8 +33,8 @@ set -e
|
|||||||
# https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html or
|
# https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html or
|
||||||
# the debian-policy package
|
# the debian-policy package
|
||||||
|
|
||||||
if [ "$1" = "install" ] ; then
|
if [ "$1" = "install" ] || [ "$1" = "upgrade" ]; then
|
||||||
usermod -p '' root
|
usermod -L root
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# dh_installdeb will replace this with shell code automatically
|
# dh_installdeb will replace this with shell code automatically
|
||||||
|
@ -288,7 +288,7 @@ usermod -L user
|
|||||||
|
|
||||||
%pre passwordless-root
|
%pre passwordless-root
|
||||||
|
|
||||||
usermod -p '' root
|
usermod -L root
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user