Bug #17188

Tails Additional Software.Script.autostart

Added by felixbog_l2l 6 months ago. Updated 5 months ago.

Target version:
Start date:
Due date:
% Done:


Feature Branch:
Type of work:
Affected tool:
Additional Software Packages


Hello friends, I'm working with on my custom build of Tails, & i not get to be move sudoers.d into my Persistent storage, for to be my additional tails autoscript is working in /.config/autostart/ with sudo(root) privileges without enter a sudo password for every autostart in background. Can You help me, for solve this problem?
My sudoers.d file/
My file/
and autostart.desktop file.
When I start from 3.17 version of My Persistent file.I not lookup to be able My sudoers.d file into etc/sudoers.d/
I just append this string into my persistence.conf
/etc/sudoers.d/ source=/etc/sudoers.d/
and just copy of etc/sudoers.d/ files into my Persistent Storage. View (3.34 KB) felixbog_l2l, 10/25/2019 07:47 AM

autostart.desktop (412 Bytes) felixbog_l2l, 10/25/2019 07:48 AM


#1 Updated by felixbog_l2l 6 months ago

My Sudoers.d/ file

#2 Updated by felixbog_l2l 6 months ago

  1. My Sudoers.d file for accessible to start my autostart script in sudo without enter a sudo password
  2. Install Additional Packages when you want,with sh Startup_script.
  3. [[blueprint/additional_software_packages/org.boum.tails.additional-software.rules]]
  4. and should be installed in /usr/share/polkit-1/rules.d/
    amnesia ALL = NOPASSWD: /bin/bash -x /live/persistence/TailsData_unlocked/Persistent/Scripts/
    root ALL = NOPASSWD: /bin/sudo /bin/bash -x /live/persistence/TailsData_unlocked/Persistent/Scripts/

#3 Updated by felixbog_l2l 6 months ago

felixbog_l2l wrote:

#4 Updated by intrigeri 5 months ago

I just append this string into my persistence.conf
/etc/sudoers.d/ source=/etc/sudoers.d/

I think you should use the "dotfiles" feature for this. Otherwise, you're likely to break the sudo configuration at some point.

Regarding the blueprint: it is probably a mix of outdated info and ideas for the future. For the current state of the implementation, instead see

Finally, I'm not sure I understand what you're trying to achieve here.
Is it "run an arbitrary script as root during the startup of the GNOME session"?

#5 Updated by felixbog_l2l 5 months ago

Yeap, It's Script for startup(additional) Tails Software, like additional packages, settings, desktop,links, etc. Whatever you want to boot & to do for installed & configured settings for your additional soft, after Tails is Started, when is Additional software is Installed, this script it's worked @background, like daemon for your additional settings or packages. This Feature very used for me & my friends, for non standard soft, packages. To be this Script is worked correctly, I think is needed to be run this sh bash file with root privileges, without enter a password of root. But that is security for this system was not violated.

Also available in: Atom PDF