forked from sig_core/kickstarts
address security feature of xfce
This commit is contained in:
parent
8b72a6cc36
commit
614a82cc77
@ -407,6 +407,10 @@ chmod +x /home/liveuser/Desktop/liveinst.desktop
|
|||||||
# move to anaconda - probably not required for XFCE.
|
# move to anaconda - probably not required for XFCE.
|
||||||
mv /usr/share/applications/liveinst.desktop /usr/share/applications/anaconda.desktop
|
mv /usr/share/applications/liveinst.desktop /usr/share/applications/anaconda.desktop
|
||||||
|
|
||||||
|
cat > ~liveuser/.profile << PROFILE_EOF
|
||||||
|
export XDG_DATA_DIRS="\\\${XDG_DATA_DIRS}:\\\${HOME}/Desktop"
|
||||||
|
PROFILE_EOF
|
||||||
|
|
||||||
# this goes at the end after all other changes.
|
# this goes at the end after all other changes.
|
||||||
chown -R liveuser:liveuser /home/liveuser
|
chown -R liveuser:liveuser /home/liveuser
|
||||||
restorecon -R /home/liveuser
|
restorecon -R /home/liveuser
|
||||||
|
Loading…
Reference in New Issue
Block a user