7 Commits

Author SHA1 Message Date
Sunil Mohan Adapa
399647f93c
debian: Don't change ownership recursively in postinst
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 15:58:57 -05:00
Sunil Mohan Adapa
35c70861dc
logging: Remove references to old log files
- Remove access/error log references in configuration files and tests.

- Ensure that /var/log/plinth directory is not created anymore.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-30 13:45:23 -05:00
James Valleroy
bf347c4aee
debian: Don't make backup of /etc/security/access.conf
Closes: #909484

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-09-24 18:46:19 -04:00
James Valleroy
0466528279
postinst: Fix indents and untabify
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-07-04 20:32:33 -04:00
Joseph Nuthalapati
ba9af6ddff
firstboot: Prompt for secret during firstboot welcome
- A freshly installed FreedomBox can be hijacked by a third party and an admin
  account can be created which can be used to inject malware or simply take over
  the instance. Password protecting the firstboot step is a good way to avoid
  this. A secret will be displayed to the user as soon as the Plinth package
  is installed, which they have to enter during firstboot welcome step. Also,
  writing this to a file in plinth's home in case the user loses it.
- This protection is not applicable for images built by freedom-maker and for
  Amazon Machine Images.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-07-04 20:22:54 -04:00
Sunil Mohan Adapa
daeec0528b
security: Fix issue with Plinth locked out from sudo
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-05-08 05:11:27 -04:00
Federico Ceratto
17ee712502
debian: Switch to native package
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-11-03 18:30:35 +05:30