Search found 11 matches

by djcjf
Sun Jun 06, 2021 4:07 am
Forum: General Discussion
Topic: Is UnionFS the best way to setup a read only dietpi?
Replies: 7
Views: 509

Re: Is UnionFS the best way to setup a read only dietpi?

yes indeed rootwork would need to be placed in a path already know or the path to rootwork would need to be added to environment variable. 8) Now that root is protected thanks to the overlay should I consider setting the boot partition as readonly via "dietpi-drive_manager" or would that ...
by djcjf
Sun Jun 06, 2021 3:59 am
Forum: Troubleshooting
Topic: Dropbear SSH closing connection when attempting to connect as a non Root User
Replies: 11
Views: 742

Re: Dropbear SSH closing connection when attempting to connect as a non Root User

hmm I'm not able to replicate your behaviour. I created a simple demo user using adduser , and was able to login via SSH right after. root@DietPi3:~# adduser demo Adding user `demo' ... Adding new group `demo' (1001) ... Adding new user `demo' (1001) with group `demo' ... Creating home directory `/...
by djcjf
Sat Jun 05, 2021 6:28 pm
Forum: Troubleshooting
Topic: Dropbear SSH closing connection when attempting to connect as a non Root User
Replies: 11
Views: 742

Re: Dropbear SSH closing connection when attempting to connect as a non Root User

Joulinar wrote: Sat Jun 05, 2021 8:40 am Question: how did you setup the other users. Can you give an example
Via a "useradd" and "passwd" command, I use them to access network shares, they aren't usable via SSH which is fine with me although I'm still curious why they won't be accepted over SSH...
by djcjf
Sat Jun 05, 2021 6:06 pm
Forum: General Discussion
Topic: Is UnionFS the best way to setup a read only dietpi?
Replies: 7
Views: 509

Re: Is UnionFS the best way to setup a read only dietpi?

Hi, I don't know how UnionFS is working but I did some test in the past using overlayroot . It was working quit well and was easy to setup. https://dietpi.com/phpbb/viewtopic.php?p=24920#p24920 Hi I'm back after some testing and I'm currently stuck with an unexpected issue, I followed the instructi...
by djcjf
Sat Jun 05, 2021 3:10 pm
Forum: General Discussion
Topic: Is UnionFS the best way to setup a read only dietpi?
Replies: 7
Views: 509

Re: Is UnionFS the best way to setup a read only dietpi?

Hi, I don't know how UnionFS is working but I did some test in the past using overlayroot . It was working quit well and was easy to setup. https://dietpi.com/phpbb/viewtopic.php?p=24920#p24920 Hi I'm back after some testing and I'm currently stuck with an unexpected issue, I followed the instructi...
by djcjf
Sat Jun 05, 2021 2:13 am
Forum: General Discussion
Topic: Is UnionFS the best way to setup a read only dietpi?
Replies: 7
Views: 509

Re: Is UnionFS the best way to setup a read only dietpi?

Hi, I don't know how UnionFS is working but I did some test in the past using overlayroot . It was working quit well and was easy to setup. https://dietpi.com/phpbb/viewtopic.php?p=24920#p24920 I just tested UnionFS, absolutely broke my system, I tried to back track the installation but I was locke...
by djcjf
Sat Jun 05, 2021 2:06 am
Forum: Troubleshooting
Topic: Dropbear SSH closing connection when attempting to connect as a non Root User
Replies: 11
Views: 742

Re: Dropbear SSH closing connection when attempting to connect as a non Root User

I did a quick test changing the password using dietpi-config and I was not able to replicate the behaviour. For me, the password for user root as well as user dietpi was changed correctly root@DietPi3:~# dietpi-config [ SUB1 ] DietPi-Set_software > passwords () [ INFO ] DietPi-Set_software | "...
by djcjf
Fri Jun 04, 2021 2:11 am
Forum: General Discussion
Topic: Is UnionFS the best way to setup a read only dietpi?
Replies: 7
Views: 509

Is UnionFS the best way to setup a read only dietpi?

Hi there another question for you all, Is UnionFS still the best way to setup a read only dietpi? Or is there a better method for DietPi users specifically? I was planning to follow this guide which worked decently on the Pi 1 running Raspbian Lite "https://www.kurokesu.com/main/2015/12/30/rasp...
by djcjf
Fri Jun 04, 2021 1:47 am
Forum: Troubleshooting
Topic: Dropbear SSH closing connection when attempting to connect as a non Root User
Replies: 11
Views: 742

Re: Dropbear SSH closing connection when attempting to connect as a non Root User

first revert your change and remove -w flag. Than we would need to check why no other user (except root) can login. What happen if you login as root and try following su - dietpi Quick Update, So it seems the password change for the dietpi user wasn't properly applied during the "dietpi-config...
by djcjf
Fri Jun 04, 2021 12:59 am
Forum: Troubleshooting
Topic: Dropbear SSH closing connection when attempting to connect as a non Root User
Replies: 11
Views: 742

Re: Dropbear SSH closing connection when attempting to connect as a non Root User

Hi, usually user dietpi should still have access as you lockout user root only. Probably something wrong on your Dropbear server. Do you still have local access to the system? Did you tried to reboot. I did a small test and added -w option # any additional arguments for Dropbear DROPBEAR_EXTRA_ARGS...