evansm7 / vftool

A simple macOS Virtualisation.framework wrapper
MIT License
994 stars 68 forks source link

Question: can change default ubuntu user password? #6

Closed cyrus0880 closed 3 years ago

cyrus0880 commented 3 years ago

i want to change default ubuntu user passwd but try to in ubuntu user enter passwd to change new pw and reboot , not work

i added persistent storage for / & home in -d data.img (50G)

javacom commented 3 years ago

If you mount the desktop iso image as vm, passwd would not persistent.

If you just want to use ssh-server for that iso image you should change this and then restart service.

change /etc/ssh/sshd_config PermitEmptyPasswords to yes

cyrus0880 commented 3 years ago

if i use server iso is can install to img? not live boot?

javacom commented 3 years ago

If you use the Ubuntu server image, please refer to issue #2 , there is a solution.

cyrus0880 commented 3 years ago

thx is work~