Re: [Tails-dev] tails persistence setup from command line

Poista viesti

Vastaa
Lähettäjä: Una Posició
Päiväys:  
Vastaanottaja: tails-dev
Aihe: Re: [Tails-dev] tails persistence setup from command line
Checked patch and tails live and looks like amnesia user path has
/usr/local/bin/ prior to /usr/bin so running tails-persistence-setup from
command line already executes correct version which includes the run_as_user
line.

Exact output it's:

localuser:tails-persistence-setup being added to access control list
[sudo] password for amnesia:
org.freedesktop.UDisks.Error.PermissionDenied: Not Authorized
localuser:tails-persistence-setup being removed from access control list

Did I understand it ok? Any other Idea?
Thanks!



El Lunes, 25 de mayo de 2015 13:46:05 intrigeri escribió:
> > Don't know if it's possible but by now I'm trying to achieve this steps
> > by
> > command line. Reading documentation, man and --help step 3 shoud be
> > possible but I tried with following command just after cloning with
> > Tails Installer:
> >
> > tails-persistence-setup --force --override-boot-device
> > /org/freedesktop/UDisks/devices/sdc --override-system-partition
> > /org/freedesktop/UDisks/devices/sdc1 --passphrase [Passphrase] --step
> > bootsrap
> >
> > And it results on:
> >
> > - Launches Setup
> >
> > - Asks for Passphrase ignoring passphrase passed in command
> >
> > - Fails with warning: "Failed
> > org.freedesktop.UDisks.Error.PermissionDenied: Not Authorized"
> >
> > Questions are:
> >
> > 1. Besides this needs user intervention, why isn't working?
>
> Probably because you're running that command as the amnesia user.
> See config/chroot_local-patches/run_t-p-s_as_its_dedicated_user.diff
> in the Tails source tree.