View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004781 | Kali Linux | General Bug | public | 2018-05-31 21:24 | 2018-07-17 22:20 |
Reporter | ccmcdee | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | 2018.2 | ||||
Summary | 0004781: Setting root password on live-usb-persistence is not respected across boots | ||||
Description | While using Live-USB-Persistence mode, I've set several features including: a new root-user password All features persist across boot except: This is a Live lxde install in persistence-mode | ||||
Steps To Reproduce | 1) create usb-persistence from forensics live mode using the following steps:
| ||||
Additional Information | root@kali:~/Documents# df
| ||||
Attached Files | |||||
uploaded file reflects before changing password, then changing password, then rebooting. rootpw.txt (923 bytes)
root@kali:~/Documents# cat /etc/shadow root:X014elvznJq7E:17682:0:99999:7::: domhnall:$6$s3TBZfzz$2/Y2W1UxZJH.uDZaLRwkjAPPHxYyRz0vHgztgj4SyvT6gqulWrmiCMlHZgGEizVKDxlKVxkdHDSGwmC.FLswe.:17682:0:99999:7::: root@kali:~/Documents# date Thu May 31 18:19:36 EDT 2018 root@kali:~/Documents# passwd Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully root@kali:~/Documents# cat /etc/shadow root:$6$uhatBVfR$a7ZtAYLVCWcTrxUc2y20SwI8KTjgrU.vPTnl16aK.YIBQcK4BmEYs5b5DnO.UzY.3mM5nmmHpNOsgZuHJ0a6H.:17682:0:99999:7::: domhnall:$6$s3TBZfzz$2/Y2W1UxZJH.uDZaLRwkjAPPHxYyRz0vHgztgj4SyvT6gqulWrmiCMlHZgGEizVKDxlKVxkdHDSGwmC.FLswe.:17682:0:99999:7::: root@kali:~/Documents# date Thu May 31 18:20:09 EDT 2018 =====================REBOOT======================================= root@kali:~# cat /etc/shadow root:X014elvznJq7E:17682:0:99999:7::: root@kali:~# date Thu May 31 18:49:48 EDT 2018 |
|
domhnall@kali:/var/log/live$ cat boot.log Begin: Running /scripts/live-realpremount ... done. |
|
1) create usb-persistence from forensics live mode using the following steps: (forgot to mention this step in replication box.. it was the first command I ran in all this.)
|
|
Kali live boot unconditionally forces the root password to "toor". You should be able to get the behaviour you want by deleting /usr/lib/live/config/0031-root-password, changing the root password, and then rebooting. |
|
Comment 0009360 is correct. This issue is discussed extensively on the kali forum (https://forums.kali.org/showthread.php?1890-Live-persistence-install-on-bootable-USB-not-saving-root-password-change). I suggest checking the forum first for issues like this. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2018-05-31 21:24 | ccmcdee | New Issue | |
2018-05-31 22:52 | ccmcdee | File Added: rootpw.txt | |
2018-05-31 22:52 | ccmcdee | Note Added: 0009193 | |
2018-06-01 18:14 | ccmcdee | Note Added: 0009196 | |
2018-07-13 22:28 | ccmcdee | Note Added: 0009359 | |
2018-07-14 05:42 | russm | Note Added: 0009360 | |
2018-07-17 22:20 | elwood | Status | new => closed |
2018-07-17 22:20 | elwood | Resolution | open => no change required |
2018-07-17 22:20 | elwood | Note Added: 0009371 |