← Back to team overview

ubuntu-phone team mailing list archive

Re: Status update: Planned changes to the developer mode/adb access

 

hi,
Am Montag, den 07.07.2014, 10:02 -0700 schrieb Robert Park:
> On Mon, Jul 7, 2014 at 3:43 AM, Oliver Grawert <ogra@xxxxxxxxxx> wrote:
> > 2) adb will not allow root and only let you in as phablet user (you will
> > have to use sudo like on any other ubuntu installation when doing
> > administrative tasks)
> 
> I had a look over phablet-shell and the only thing it needs root for
> is to start ssh. All the other things it does fall under `adb forward`
> and `adb push` and should work fine without root privileges (in fact
> it already has some code in the ssh key copy logic that has to chown
> the copied files as the phablet user because having those files owned
> by root is broken).
> 
> I guess if there was some way to enable ssh with some kind of trusted
> helper (maybe the same option that turns adb on can also turn ssh on?)
> then phablet-shell can live on.

hmm, didnt we discuss trying to run a "loopback-user-owned-sshd" on an
unprivileged port ? probably thats the way to go ... i'm not sure i want
the user to be able to just enable ssh without sudo'ing first ... 

ciao
	oli

Attachment: signature.asc
Description: This is a digitally signed message part


Follow ups

References