RE: Running Dropbear Without Root Permissions

2016-06-13 Thread Nixon, Kent W
authentication, and now it's all running smoothly. Thanks! ~ Kent -Original Message- From: Matt Johnston [mailto:m...@ucc.asn.au] Sent: Sunday, June 12, 2016 9:27 PM To: Hans Harder Cc: dropbear@ucc.asn.au; Nixon, Kent W Subject: Re: Running Dropbear Without Root Permissions My gue

Re: Running Dropbear Without Root Permissions

2016-06-12 Thread Matt Johnston
My guess is that the problem is related to /etc/shadow. If the crypted password there isn't readable then it will use the entry from /etc/passwd - I guess that's something like '!!' which would signify a locked account. For testing you can always hardcode a password crypt in debug.h Cheers, Matt

Re: Running Dropbear Without Root Permissions

2016-06-12 Thread Hans Harder
I have it running as a separate daemon on a few systems as a non root user without problems.. I changed the config.h to disable all the features which might require more rights than the user has or uses OS functions for instance DISABLE_PAM, DISABLE_LASTLOG, DISABLE_SYSLOG I only use the use

Re: Running Dropbear Without Root Permissions

2016-06-10 Thread Loganaden Velvindron
There is a need for privilege separation here, similar to what OpenSSH is doing. On Fri, Jun 10, 2016 at 12:43 PM, Nixon, Kent W wrote: > Hi all, > > I'm currently testing my (default) compile settings of dropbear 2016.73 on an > x86_64 Ubuntu 14.04 machine. I'm running the dropbear server from

Running Dropbear Without Root Permissions

2016-06-10 Thread Nixon, Kent W
Hi all, I'm currently testing my (default) compile settings of dropbear 2016.73 on an x86_64 Ubuntu 14.04 machine. I'm running the dropbear server from the terminal of a standard user account and attempting to connect using dbclient as that same user from the same machine just to test/learn how