mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-19 05:11:05 +02:00
pentoo-livecd: livecd-setpass fun
This commit is contained in:
parent
b253cd29de
commit
b1ec998c70
1 changed files with 3 additions and 3 deletions
|
|
@ -29,9 +29,9 @@ if ! sudo grep -q "{changeuser}:!" /etc/shadow; then
|
|||
|
||||
#update /etc/issue to remind users to log in as pentoo
|
||||
sudo mv /etc/issue /etc/issue.old
|
||||
sudo sh -c "printf "Welcome to Pentoo Live!\n" > /etc/issue"
|
||||
sudo sh -c "printf "Username is \"pentoo\", password is whatever you set at boot.\n\n" >> /etc/issue"
|
||||
sudo sh -c "cat /etc/issue.old >> /etc/issue"
|
||||
sudo printf "Welcome to Pentoo Live!\n" | tee /etc/issue
|
||||
sudo printf "Username is \"pentoo\", password is whatever you set at boot.\n\n" | tee -a /etc/issue
|
||||
sudo cat /etc/issue.old | tee -a /etc/issue
|
||||
|
||||
#we have set the password, pull livecd-setpass out of bashrc, our work is done
|
||||
grep -v livecd-setpass ~/.bashrc > .bashrc_setpass_temp
|
||||
|
|
|
|||
Loading…
Reference in a new issue