mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-20 22:01:11 +02:00
pentoo-livecd: livecd-setpass stick sudo where it belongs
This commit is contained in:
parent
b1ec998c70
commit
26cfcd41d7
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 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
|
||||
printf "Welcome to Pentoo Live!\n" | sudo tee /etc/issue
|
||||
printf "Username is \"pentoo\", password is whatever you set at boot.\n\n" | sudo tee -a /etc/issue
|
||||
cat /etc/issue.old | sudo 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