Shubhamvis98 / kali-pinephone

Kali Linux Phosh for PinePhone/Pro and other QCOM Mainlined Devices
76 stars 10 forks source link

nethunter root password #15

Closed jbyanjankar closed 1 year ago

jbyanjankar commented 1 year ago

getting an error message "kali is not in the sudoers file" in the latest build while running nethunter app

https://github.com/Shubhamvis98/kali-pinephone/releases/tag/20230926

Shubhamvis98 commented 1 year ago

Apologies, forget to add the user to sudo and other groups. There's no root password in it, you can set it with sudo after doing below workaround. You can fix sudo by mounting your device in you pc with tow-boot mass storage and run bellow command sed -i '/^sudo/s/$/kali/' {/etc/group of pinephone rootfs} or just edit the /etc/group file and add kali at the end of

sudo:x:27:
it should be like this
sudo:x:27:kali
now you can start you pinephone the sudo permission will be fixed and then you have to run bellow command to fix sound and other permissions sudo usermod -aG dialout,audio,video,plugdev,input,render,bluetooth,feedbackd kali

Shubhamvis98 commented 1 year ago

I'm rebuilding the image, it'll be available in an hour. you can try that as well, i removed the previous build as of now.

jbyanjankar commented 1 year ago

I'm rebuilding the image, it'll be available in an hour. you can try that as well, i removed the previous build as of now.

Perfect 💯 I will test it once its available here

Shubhamvis98 commented 1 year ago

@jbyanjankar new build uploaded, with audio fix for pinephonepro.

jbyanjankar commented 1 year ago

@jbyanjankar new build uploaded, with audio fix for pinephonepro.

Perfect. I will download and test it out.

Shubhamvis98 commented 1 year ago

Closing as this issue has been fixed. Open it if you face any other issue. Thanks