-
Can't change password in LXC
I'm following this guide for setting up a Leap 15.0 container on Tumbleweed:
https://doc.opensuse.org/documentati...t/cha.lxc.html
The last step of setting up the rootfs doesn't work:
root # echo "root:YOURPASSWD" | chpasswd -R /PATH/TO/ROOTFS
Nothing happens after entering this line, there is no error message either. It does work locally though (echo "root:mypassword" | chpasswd)
-
Re: Can't change password in LXC
This worked now:
root # chroot /PATH/TO/ROOTFS sh -c "echo '$USER:$PASS' | chpasswd"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks