Re: how to set passwrod for Fedora LiveCD (Fedora 30)?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks! Because Yahoo Mail mangles responses, I will write things here clearly (including your questions).

> How are you creating it?

sudo livecd-creator --config=fedora-live-shunya-30.ks --tmpdir=tmp --fslabel=Fedora-Shunya-30-x86_64

> Is there more to the kickstart?  Where is the user creation?  That's where the password would be set.

Here is the entire kickstart file:

# fedora-live-shunya.ks
#
# Description:
# - Fedora Live Spin with the light-weight Shunya Environment
#

repo --name=MyBaseRepo --baseurl=file:///home/maitra/rpmbuild/RPMS/$basearch

%include fedora-live-base.ks
%include fedora-live-minimization.ks
%include fedora-shunya-common.ks

#enable slim
%post
systemctl enable slim

# This is a huge file and things work ok without it #taken from fedora-livecd-xfce
rm -f /usr/share/icons/HighContrast/icon-theme.cache


# create /etc/sysconfig/desktop (needed for installation)
cat > /etc/sysconfig/desktop <<EOF
PREFERRED=/usr/bin/openbox-session
DISPLAYMANAGER=/usr/sbin/slim-dynwm
EOF

cat >> /etc/rc.d/init.d/livesys << EOF
# disable screensaver locking and make sure gamin gets started
cat >> /etc/xdg/openbox/autostart << FOE
/usr/libexec/gam_server
/usr/bin/thaali &
/usr/bin/pnmixer &
/usr/libexec/notification-daemon &
@nm-applet
#(sleep 5; /usr/bin/wbar -c /etc/wbar.d/wbar.cfg &)&
wbar&
conky&
FOE


# set up preferred apps
cat > /etc/xdg/libfm/pref-apps.conf << FOE
[Preferred Applications]
WebBrowser=firefox.desktop
MailClient=sylpheed.desktop
FOE

sed '
/#default_user/a\
default_user  liveuser
' /etc/slim.conf
sed '
/#auto_login/a\
autologin  yes
' /etc/slim.conf


sed '
/sessions/ c\
sessions      openbox
' /etc/slim.conf


sed '
/exec/ c\
exec   openbox-session
' /etc/X11/xinit/xinitrc


# Show harddisk install on the desktop
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
mkdir /home/liveuser/Desktop
cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop


# this goes at the end after all other changes.
chown -R liveuser:liveuser /home/liveuser
restorecon -R /home/liveuser

EOF

%end



-------------------------------------

And here is the fedora-shunya-common.ks file (probably not needed for your question):


# fedora-shunya-common.ks
#
# Description:
# - Fedora Live Spin with the Shunya Zero Desktop Environment
#

%packages
slim
openbox
obconf
obmenu
udisks2
spacefm
thaali
wbar
aNu
leafpad
#dillo
gpicview

fetchmail
procmail
xorg-x11-fonts-misc
@networkmanager-submodules
NetworkManager-openconnect
gnome-keyring

#emacspeak
#xdvi
#R-devel
#lapack-devel
#fftw-devel
#octave-devel
#libRmath-devel
#valgrind
#texlive-pdfjam
#okular

### internet
firefox
pidgin
sylpheed
sylfilter
### office
#libreoffice
abiword
gnumeric
osmo
conky
network-manager-applet
###xplanet
### graphics
#zathura
#zathura-ps
#zathura-pdf-poppler
#zathura-djvu
#mtpaint
#fstransform
#luksipc
pdf-stapler

### audio & video
alsa-plugins-pulseaudio
#asunder
#gxine
#gxine-mozplugin
pavucontrol
#pnmixer
bitmap-fixed-fonts
ucs-miscfixed-fonts
blueman
#clipit
sylfilter
redshift

## font packages for blueman
-gtk2-engines
-gtk-nodoka-engine
-gtk-solidity-engine
-libwvstreams
-nano
lockdev
-wvdial


# pam-fprint causes a segfault in LXDM when enabled
-fprintd-pam


# LXDE has lxpolkit. Make sure no other authentication agents end up in the spin.
-polkit-gnome
-polkit-kde

# make sure xfce4-notifyd is not pulled in
dunst
#notification-daemon
-xfce4-notifyd
-audit
-abrt-cli
-abrt
libreport

# make sure xfwm4 is not pulled in for firstboot
# https://bugzilla.redhat.com/show_bug.cgi?id=643416
# metacity


# dictionaries are big
-man-pages-*
-words

# use ssmtp instead of sendmail
-sendmail
# ssmtp

# save some space
autofs
-acpid
-gimp-help
-f30-backgrounds-base
-f30-backgrounds-gnome
desktop-backgrounds-basic  # slim brings this in, so this will not be removed
realmd                     # only seems to be used in GNOME
-PackageKit*                # we switched to yumex, so we don't need this
-foomatic-db-ppds
-foomatic
-stix-fonts
-ibus-typing-booster
-xscreensaver
-wqy-zenhei-fonts
#-tigervnc*
#tigervnc-server-minimal

# drop some system-config things
# -system-config-boot
#-system-config-language
-system-config-network
-system-config-rootpassword
#-system-config-services
-policycoreutils-gui
-gnome-disk-utility

# Dial-up and Networking:
-@dial-up

# Guest Desktop Agents
-@guest-desktop-agents

# Printing
#-@printing

# we need UPower for suspend and hibernate
upower

%end


---------------------------------------------------------------------------------------------------------


Thank you very miuch for your help!!




On Wednesday, May 29, 2019, 11:03:54 PM CDT, Samuel Sieb <samuel@xxxxxxxx> wrote:


On 5/29/19 6:46 PM, Globe Trotter via devel wrote:
> I created a LiveCD for my own personal use (with openbox) in Fedora 30.
> I have created such a live cd for the past several cycles (I think

How are you creating it?How are you creating it?


> In the past, I have the SLiM (slim) screen show up with username (that I
> say is liveuser) and does not prompt me for a password. However, in
> Fedora 30, I am prompted for password from the created LiveCD. So I can
> not get in.
>
> Here are the lines in my kickstart file:


Is there more to the kickstart?  Where is the user creation?  That's
where the password would be set.
Is there more to the kickstart?  Where is the user creation?  That's
where the password would be set.
Is there more to the kickstart?  Where is the user creation?  That's
where the password would be set.
Is there more to the kickstart?  Where is the user creation?  That's
where the password would be set.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux