[DNG] [OT] Restricting user capabilities after ssh login

2018-08-11 Thread mett
Hi, I m wondering about the best way to restrict a user after he has ssh'd into his web folder. Up to now, the users I had were using only FTP to log into their web folder, and upload stuff in there (chrooted in their folder with vsftpd). I m considering giving ssh access but I realized that

Re: [DNG] [OT] Restricting user capabilities after ssh login

2018-08-11 Thread Rick Moen
Quoting mett (m...@pmars.jp): > I m wondering about the best way to restrict a user after > he has ssh'd into his web folder. Try a chroot jail. https://www.tecmint.com/restrict-ssh-user-to-directory-using-chrooted-jail/ or https://www.cyberciti.biz/faq/debian-ubuntu-restricting-ssh-user-session

Re: [DNG] [OT] Restricting user capabilities after ssh login

2018-08-11 Thread KatolaZ
On Sun, Aug 12, 2018 at 01:55:00PM +0900, mett wrote: > Hi, > > I m wondering about the best way to restrict a user after > he has ssh'd into his web folder. > > Up to now, the users I had were using only FTP > to log into their web folder, > and upload stuff in there > (chrooted in their fol

[DNG] maintaining packages (was Re: systemd and ssh-server)

2018-08-11 Thread Lars Noodén
On 07/27/2018 01:33 PM, KatolaZ wrote: > On Fri, Jul 27, 2018 at 01:18:41PM +0300, Lars Nood�n wrote: > [cut] >> Can you please (re-)post the link to the new Devuan build process? [cut] > > and the relevant link is the fourth one: > > https://dev1galaxy.org/viewtopic.php?pid=1110#p1110 > The m

Re: [DNG] [OT] Restricting user capabilities after ssh login

2018-08-11 Thread Lars Noodén
On 08/12/2018 09:10 AM, KatolaZ wrote: > On Sun, Aug 12, 2018 at 01:55:00PM +0900, mett wrote: [snip]>> I m considering giving ssh access but I realized that >> chroot for ssh looks quite involved. >> >> So, I m wondering if using 'chmod o-r' >> for folders(and subfolders), and files on >> /etc,