unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: raingloom <raingloom@riseup.net>
To: 54923@debbugs.gnu.org
Subject: bug#54923: more than one target service of type 'account'
Date: Thu, 14 Apr 2022 06:49:18 +0200	[thread overview]
Message-ID: <20220414064918.366daeb3@riseup.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 445 bytes --]

> more than one target service of type 'account'

I did not add any new service, I just modified openssh-service-type.

```
(operating-system
    (inherit os)
    (services
     (modify-services
         (operating-system-services os)
         (openssh-service-type
          config =>
          (openssh-configuration
           (inherit config)
           (permit-root-login 'without-password))))))
```

Full system description in attachment.

[-- Attachment #2: installer.scm --]
[-- Type: text/x-scheme, Size: 1380 bytes --]

;; TODO convert to R6RS module syntax?
(use-modules
 (gnu packages android)
 (gnu packages bootloaders)
 (gnu packages certs)
 (gnu packages cups)
 (gnu packages ghostscript)
 (gnu packages gnome)
 (gnu packages linux)
 (gnu packages networking)
 (gnu packages package-management)
 (gnu packages shells)
 (gnu packages suckless)
 (gnu packages wm)
 (gnu packages xdisorg)
 (gnu packages xorg)
 (gnu services cups)
 (gnu services desktop)
 (gnu services linux)
 (gnu services networking)
 (gnu services ssh)
 (gnu services virtualization)
 (gnu services xorg)
 (gnu services)
 (gnu system install)
 (gnu system nss)
 (gnu system shadow))


;; this is for devices with no screen, or UART, or anything of the sort
;; the name is apt though, because this completely ruins security!
;; DO NOT USE THIS FOR THE FINAL SYSTEM
;; use it only for the inital setup, then reconfigure with a proper config

(define-public (backdoor-os os)
  (operating-system
    (inherit os)
    (services
     (modify-services
         (operating-system-services os)
         (openssh-service-type
          config =>
          (openssh-configuration
           (inherit config)
           (permit-root-login 'without-password)))))))

(define-public backdoored-installation-os
  (backdoor-os installation-os))

;; guix system: error: more than one target service of type 'account'
backdoored-installation-os

             reply	other threads:[~2022-04-14  4:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-14  4:49 raingloom [this message]
2022-06-08 20:19 ` bug#54923: more than one target service of type 'account' Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220414064918.366daeb3@riseup.net \
    --to=raingloom@riseup.net \
    --cc=54923@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).