Thank you for these tutorials! They are so much more robust than anything else I've seen on the raspberry pi. I've been reading up on the commands being used so I've a good understanding and just happened to read this in the manual for AllowUsers "This keyword can be followed by a list of user name patterns, separated by spaces." In the video you mentioned comma separated so just wanted to put that out there in-case someone has an issue (if it even is)
Good video. Note that when adding multiple users to Allowusers in sshd_config @12:33, do not use a comma in between user names, but use a space instead; so user1 user2 etc. It's a good tip you have to leave a working window open while testing a change - that saved my bacon.
These are great tutorials! I'm glad I found you. But please, please make the window and the text of what you're demonstrating as large as possible. Many of us watch on phones. I cannot read what's in your putty window.
Your video's have been an absolute bless, really wonderful! They actually persuaded me to do lots more with the Raspberry than I could have ever foreseen. In the video you are talking about extra layers of security (SSH keys and password authentication). Do you have practical suggestions how best to achieve those? Personally I would love to be able to access the Raspberry Pi from outside.
Hello and thank you for this series of videos. I have a question about the part of locking the pi account, because i am following the tutorials but i'm using ubuntu server, so i wonder if in my situation i can completely erase the 'ubuntu' account, thanks in advance.
Greetings! Thanks for these great videos! Can't wait to get started....I have RPI 4 with 4gb ram...are we able to perform all these installations in this series on one raspberry pi? Will it have enough resources? Sorry for the beginner question!!
Thanks - great tutorials ! but when I add a new user and add to groups when I try to login with new user the password doesn't work. I already have OMV installed and have changed the hostname but still normally login with the pi@192.x.x.x. and new user shows in admin and sudo groups and in omv dashboard any ideas pleaee? cheers
I've created a user (newpi) and added groups adm and sudo. The first sudo command I issue (e.g. 'sudo hostname ') I am prompted to input the password for newpi. Thereafter, I can sudo as normal but every time I start a new session or reboot I have to provide newpi's password the first time I sudo. You don't appear to mention this behaviour in your tutorial: is this how it's supposed to work? It's a pain and severely limits the usefulness of a non-pi user.
@@davidschulze1009 That worked a treat. Thank you for your suggestion, which I followed. Before I did, I learned a lot about groups, adduser and moduser , and how to set my text editor to be vi permanently - so it's all been good. I can now go ahead and finish securing my NAS. Your suggestion was a BIG help.
Thank you for these tutorials! They are so much more robust than anything else I've seen on the raspberry pi.
I've been reading up on the commands being used so I've a good understanding and just happened to read this in the manual for AllowUsers "This keyword can be followed by a list of user name patterns, separated by spaces." In the video you mentioned comma separated so just wanted to put that out there in-case someone has an issue (if it even is)
Great tutorial.
Would you consider using a larger command line screen and a larger font, thanks.
Yes good point I will zoom in more going forward. Thank you for your feedback.😃
Hi, great video. You have covered lots of points I have not seen on youtube before. Wel done.
Thank you for your feedback. I am glad you got value from it..😃
Thanks a lot for all videos ! very well explained thanks a lot for your effors !!
Good video. Note that when adding multiple users to Allowusers in sshd_config @12:33, do not use a comma in between user names, but use a space instead; so user1 user2 etc. It's a good tip you have to leave a working window open while testing a change - that saved my bacon.
Thanks for adding that. Well spotted 😃
Absolutely useful tutorial. Thank you very much indeed.
These are great tutorials! I'm glad I found you. But please, please make the window and the text of what you're demonstrating as large as possible. Many of us watch on phones. I cannot read what's in your putty window.
Thank you for the feedback Bill. I will do my best.
Your video's have been an absolute bless, really wonderful! They actually persuaded me to do lots more with the Raspberry than I could have ever foreseen. In the video you are talking about extra layers of security (SSH keys and password authentication). Do you have practical suggestions how best to achieve those? Personally I would love to be able to access the Raspberry Pi from outside.
Hello and thank you for this series of videos. I have a question about the part of locking the pi account, because i am following the tutorials but i'm using ubuntu server, so i wonder if in my situation i can completely erase the 'ubuntu' account, thanks in advance.
Greetings! Thanks for these great videos! Can't wait to get started....I have RPI 4 with 4gb ram...are we able to perform all these installations in this series on one raspberry pi? Will it have enough resources? Sorry for the beginner question!!
Yes and enjoy. 😀
Thanks - great tutorials ! but when I add a new user and add to groups when I try to login with new user the password doesn't work. I already have OMV installed and have changed the hostname but still normally login with the pi@192.x.x.x. and new user shows in admin and sudo groups and in omv dashboard any ideas pleaee? cheers
I renamed the pi account in the Pi Imager and therefore did not change the user, since no default pi user exists for me. Is this somehow problematic?
No the default pi account should still be there. Changing the username in the imager should create a new user account.
@@addicted2techuk I have listed all existing user accounts and groups using "cat /etc/passwd", which did not show any remainders of a Pi user account.
OK that makes sense. If you run the install script it should work fine. It will create the pi account if it is needed.
I've created a user (newpi) and added groups adm and sudo. The first sudo command I issue (e.g. 'sudo hostname ') I am prompted to input the password for newpi. Thereafter, I can sudo as normal but every time I start a new session or reboot I have to provide newpi's password the first time I sudo. You don't appear to mention this behaviour in your tutorial: is this how it's supposed to work? It's a pain and severely limits the usefulness of a non-pi user.
Yes it is normal and is a security feature built into Linux. 😃
@@addicted2techuk Thanks for the reply. Not sure if that's just a nuisance or if it makes it a showstopper for me. I'll ponder.
Do: sudo visudo
Add under "#includedir /etc/sudoers.d": username ALL=(ALL) NOPASSWD:ALL
and you are fine.
@@davidschulze1009 THanks for that! I'll check it out later today.
@@davidschulze1009 That worked a treat. Thank you for your suggestion, which I followed. Before I did, I learned a lot about groups, adduser and moduser , and how to set my text editor to be vi permanently - so it's all been good. I can now go ahead and finish securing my NAS. Your suggestion was a BIG help.
Getting Access denied on logging in witthe new user. Tried created new users and logging in an new putty session. but reasults is the same.
Found the solution. first i need to add a user to ssh group before attempting to log in that user in raspberry pi using putty.
Glad you solved it Mahipal. All the best! :)