Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
arch-boxes
Commits
a4731dcb
Commit
a4731dcb
authored
May 10, 2020
by
Christian Rebischke
Browse files
lock root account via setting an invalid password
parent
b7bfe15c
Changes
1
Hide whitespace changes
Inline
Side-by-side
http/install-common.sh
View file @
a4731dcb
...
...
@@ -94,6 +94,9 @@ sed -i -e 's/^GRUB_TIMEOUT=.*$/GRUB_TIMEOUT=1/' /etc/default/grub
sed
-i
-e
's/^GRUB_CMDLINE_LINUX=.*$/GRUB_CMDLINE_LINUX="net.ifnames=0"/'
/etc/default/grub
grub-mkconfig
-o
/boot/grub/grub.cfg
# lock root account
usermod
-p
"*"
root
if
declare
-f
post
>
/dev/null
;
then
post
fi
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment