This commit is contained in:
parent
c60d624768
commit
5742386c71
@ -145,11 +145,10 @@ zypper --non-interactive rm -u skelcd-openSUSE || :
|
|||||||
zypper rl $(seq 1 $(zypper ll | wc -l))
|
zypper rl $(seq 1 $(zypper ll | wc -l))
|
||||||
|
|
||||||
#======================================
|
#======================================
|
||||||
# /etc/sudoers hack to fix #297695
|
# sudoers hack to fix #297695
|
||||||
# (Installation Live CD: no need to ask for password of root)
|
# (Installation Live CD: no need to ask for password of root)
|
||||||
#--------------------------------------
|
#--------------------------------------
|
||||||
sed -i -e "s/ALL ALL=(ALL) ALL/ALL ALL=(ALL) NOPASSWD: ALL/" /etc/sudoers
|
echo "ALL ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/50-livecd
|
||||||
chmod 0440 /etc/sudoers
|
|
||||||
|
|
||||||
/usr/sbin/useradd -m -u 1000 linux -c "Live-CD User" -p ""
|
/usr/sbin/useradd -m -u 1000 linux -c "Live-CD User" -p ""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user