Redirect 302 redirect from GET @entry_comment_create (5664a1)

GET https://kbin.spritesserver.nl/m/linux@lemmy.ml/t/32698/NixOS-edit-system-files/favourites

Security

Token

There is no security token.

Firewall

main Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context main
entry_point App\Security\KbinAuthenticator
user_checker App\Security\UserChecker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "two_factor"
  "remember_me"
  "App\Security\KbinAuthenticator"
  "App\Security\FacebookAuthenticator"
  "App\Security\GoogleAuthenticator"
  "App\Security\GithubAuthenticator"
  "App\Security\KeycloakAuthenticator"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#723
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
  -logger: Monolog\Logger {#783 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#706
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#1017 …}
  -sessionKey: "_security_main"
  -logger: Monolog\Logger {#783 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#705 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
  -registered: false
  -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#780 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#703 …}
}
9.83 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#584
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#595 …}
}
0.00 ms (none)
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#582
  -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#842 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#581 …}
}
0.08 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#579
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#937 …}
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#786
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "app_logout"
  ]
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#841 …}
  -csrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#1015 …}
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
}
0.00 ms (none)

Authenticators

No authenticators have been recorded. Check previous profiles on your authentication endpoint.

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
4
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
5
"App\Security\Voter\EntryCommentVoter"
6
"App\Security\Voter\EntryVoter"
7
"App\Security\Voter\MagazineVoter"
8
"App\Security\Voter\MessageThreadVoter"
9
"App\Security\Voter\MessageVoter"
10
"App\Security\Voter\NotificationVoter"
11
"App\Security\Voter\OAuth2UserConsentVoter"
12
"App\Security\Voter\PostCommentVoter"
13
"App\Security\Voter\PostVoter"
14
"App\Security\Voter\UserVoter"

Access decision log

# Result Attributes Object
1 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
2 DENIED moderate
App\Entity\Entry {#1790
  +user: Proxies\__CG__\App\Entity\User {#1913 …}
  +magazine: App\Entity\Magazine {#316
    +icon: Proxies\__CG__\App\Entity\Image {#297 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#324
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#288 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#284 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#273 …}
    +entries: Doctrine\ORM\PersistentCollection {#231 …}
    +posts: Doctrine\ORM\PersistentCollection {#189 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#251 …}
    +bans: Doctrine\ORM\PersistentCollection {#168 …}
    +reports: Doctrine\ORM\PersistentCollection {#154 …}
    +badges: Doctrine\ORM\PersistentCollection {#132 …}
    +logs: Doctrine\ORM\PersistentCollection {#122 …}
    +awards: Doctrine\ORM\PersistentCollection {#111 …}
    +categories: Doctrine\ORM\PersistentCollection {#98 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#325
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#319
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1837 …}
  +slug: "NixOS-edit-system-files"
  +title: "NixOS - edit system files"
  +url: null
  +body: """
    Hello,\n
    \n
    I’m experiencing with NixOS and would like to know what would be the nicest way to add a specific line to a system file.\n
    \n
    As an example, how would you configure NixOS so the line  \n
    `auth        sufficient      pam_fprintd.so`  \n
    is added to the /etc/pam.d/doas file? As a bonus, it would be nice to know how to change an option (and not add an entire line) to a system file for which there is no NixOS default extraConfig/extraRules support for.\n
    \n
    This would allow me to add this line or not depending on the machine NixOS will be installed on.\n
    \n
    Thanks in advance for your suggestions.
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 8
  +favouriteCount: 21
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1728229373 {#2445
    date: 2024-10-06 17:42:53.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#2388 …}
  +votes: Doctrine\ORM\PersistentCollection {#1916 …}
  +reports: Doctrine\ORM\PersistentCollection {#1861 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1950 …}
  +notifications: Doctrine\ORM\PersistentCollection {#1903 …}
  +badges: Doctrine\ORM\PersistentCollection {#1364 …}
  +children: []
  -id: 32698
  -titleTs: "'edit':2 'file':4 'nixo':1 'system':3"
  -bodyTs: "'/etc/pam.d/doas':45 'ad':42 'add':19,63,86 'advanc':102 'allow':83 'auth':38 'bonus':49 'chang':58 'configur':33 'default':77 'depend':91 'entir':65 'exampl':29 'experienc':4 'extraconfig/extrarules':78 'file':26,46,70 'hello':1 'instal':98 'know':11,55 'like':9 'line':22,37,66,88 'm':3 'machin':94 'nice':53 'nicest':16 'nixo':6,34,76,95 'option':60 'pam_fprintd.so':40 'specif':21 'suffici':39 'suggest':105 'support':79 'system':25,69 'thank':100 'way':17 'would':8,13,31,51,82"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1706116825
  +visibility: "visible             "
  +apId: "https://lemmy.ml/post/10948730"
  +editedAt: DateTimeImmutable @1728073520 {#102
    date: 2024-10-04 22:25:20.0 +02:00
  }
  +createdAt: DateTimeImmutable @1706044825 {#2390
    date: 2024-01-23 22:20:25.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
3 DENIED edit
App\Entity\Entry {#1790
  +user: Proxies\__CG__\App\Entity\User {#1913 …}
  +magazine: App\Entity\Magazine {#316
    +icon: Proxies\__CG__\App\Entity\Image {#297 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#324
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#288 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#284 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#273 …}
    +entries: Doctrine\ORM\PersistentCollection {#231 …}
    +posts: Doctrine\ORM\PersistentCollection {#189 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#251 …}
    +bans: Doctrine\ORM\PersistentCollection {#168 …}
    +reports: Doctrine\ORM\PersistentCollection {#154 …}
    +badges: Doctrine\ORM\PersistentCollection {#132 …}
    +logs: Doctrine\ORM\PersistentCollection {#122 …}
    +awards: Doctrine\ORM\PersistentCollection {#111 …}
    +categories: Doctrine\ORM\PersistentCollection {#98 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#325
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#319
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1837 …}
  +slug: "NixOS-edit-system-files"
  +title: "NixOS - edit system files"
  +url: null
  +body: """
    Hello,\n
    \n
    I’m experiencing with NixOS and would like to know what would be the nicest way to add a specific line to a system file.\n
    \n
    As an example, how would you configure NixOS so the line  \n
    `auth        sufficient      pam_fprintd.so`  \n
    is added to the /etc/pam.d/doas file? As a bonus, it would be nice to know how to change an option (and not add an entire line) to a system file for which there is no NixOS default extraConfig/extraRules support for.\n
    \n
    This would allow me to add this line or not depending on the machine NixOS will be installed on.\n
    \n
    Thanks in advance for your suggestions.
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 8
  +favouriteCount: 21
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1728229373 {#2445
    date: 2024-10-06 17:42:53.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#2388 …}
  +votes: Doctrine\ORM\PersistentCollection {#1916 …}
  +reports: Doctrine\ORM\PersistentCollection {#1861 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1950 …}
  +notifications: Doctrine\ORM\PersistentCollection {#1903 …}
  +badges: Doctrine\ORM\PersistentCollection {#1364 …}
  +children: []
  -id: 32698
  -titleTs: "'edit':2 'file':4 'nixo':1 'system':3"
  -bodyTs: "'/etc/pam.d/doas':45 'ad':42 'add':19,63,86 'advanc':102 'allow':83 'auth':38 'bonus':49 'chang':58 'configur':33 'default':77 'depend':91 'entir':65 'exampl':29 'experienc':4 'extraconfig/extrarules':78 'file':26,46,70 'hello':1 'instal':98 'know':11,55 'like':9 'line':22,37,66,88 'm':3 'machin':94 'nice':53 'nicest':16 'nixo':6,34,76,95 'option':60 'pam_fprintd.so':40 'specif':21 'suffici':39 'suggest':105 'support':79 'system':25,69 'thank':100 'way':17 'would':8,13,31,51,82"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1706116825
  +visibility: "visible             "
  +apId: "https://lemmy.ml/post/10948730"
  +editedAt: DateTimeImmutable @1728073520 {#102
    date: 2024-10-04 22:25:20.0 +02:00
  }
  +createdAt: DateTimeImmutable @1706044825 {#2390
    date: 2024-01-23 22:20:25.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
4 DENIED moderate
App\Entity\Entry {#1790
  +user: Proxies\__CG__\App\Entity\User {#1913 …}
  +magazine: App\Entity\Magazine {#316
    +icon: Proxies\__CG__\App\Entity\Image {#297 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#324
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#288 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#284 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#273 …}
    +entries: Doctrine\ORM\PersistentCollection {#231 …}
    +posts: Doctrine\ORM\PersistentCollection {#189 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#251 …}
    +bans: Doctrine\ORM\PersistentCollection {#168 …}
    +reports: Doctrine\ORM\PersistentCollection {#154 …}
    +badges: Doctrine\ORM\PersistentCollection {#132 …}
    +logs: Doctrine\ORM\PersistentCollection {#122 …}
    +awards: Doctrine\ORM\PersistentCollection {#111 …}
    +categories: Doctrine\ORM\PersistentCollection {#98 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#325
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#319
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1837 …}
  +slug: "NixOS-edit-system-files"
  +title: "NixOS - edit system files"
  +url: null
  +body: """
    Hello,\n
    \n
    I’m experiencing with NixOS and would like to know what would be the nicest way to add a specific line to a system file.\n
    \n
    As an example, how would you configure NixOS so the line  \n
    `auth        sufficient      pam_fprintd.so`  \n
    is added to the /etc/pam.d/doas file? As a bonus, it would be nice to know how to change an option (and not add an entire line) to a system file for which there is no NixOS default extraConfig/extraRules support for.\n
    \n
    This would allow me to add this line or not depending on the machine NixOS will be installed on.\n
    \n
    Thanks in advance for your suggestions.
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 8
  +favouriteCount: 21
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1728229373 {#2445
    date: 2024-10-06 17:42:53.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#2388 …}
  +votes: Doctrine\ORM\PersistentCollection {#1916 …}
  +reports: Doctrine\ORM\PersistentCollection {#1861 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1950 …}
  +notifications: Doctrine\ORM\PersistentCollection {#1903 …}
  +badges: Doctrine\ORM\PersistentCollection {#1364 …}
  +children: []
  -id: 32698
  -titleTs: "'edit':2 'file':4 'nixo':1 'system':3"
  -bodyTs: "'/etc/pam.d/doas':45 'ad':42 'add':19,63,86 'advanc':102 'allow':83 'auth':38 'bonus':49 'chang':58 'configur':33 'default':77 'depend':91 'entir':65 'exampl':29 'experienc':4 'extraconfig/extrarules':78 'file':26,46,70 'hello':1 'instal':98 'know':11,55 'like':9 'line':22,37,66,88 'm':3 'machin':94 'nice':53 'nicest':16 'nixo':6,34,76,95 'option':60 'pam_fprintd.so':40 'specif':21 'suffici':39 'suggest':105 'support':79 'system':25,69 'thank':100 'way':17 'would':8,13,31,51,82"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1706116825
  +visibility: "visible             "
  +apId: "https://lemmy.ml/post/10948730"
  +editedAt: DateTimeImmutable @1728073520 {#102
    date: 2024-10-04 22:25:20.0 +02:00
  }
  +createdAt: DateTimeImmutable @1706044825 {#2390
    date: 2024-01-23 22:20:25.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
5 DENIED edit
App\Entity\Magazine {#316
  +icon: Proxies\__CG__\App\Entity\Image {#297 …}
  +name: "linux@lemmy.ml"
  +title: "linux"
  +description: """
    From Wikipedia, the free encyclopedia\n
    \n
    Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
    \n
    Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
    \n
    ### Rules\n
    \n
    - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
    - No misinformation\n
    - No NSFW content\n
    - No hate speech, bigotry, etc\n
    \n
    ### Related Communities\n
    \n
    - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
    - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
    - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
    - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
    \n
    Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
    """
  +rules: null
  +subscriptionsCount: 1
  +entryCount: 1406
  +entryCommentCount: 28632
  +postCount: 6
  +postCommentCount: 214
  +isAdult: false
  +customCss: null
  +lastActive: DateTime @1729583542 {#324
    date: 2024-10-22 09:52:22.0 +02:00
  }
  +markedForDeletionAt: null
  +tags: null
  +moderators: Doctrine\ORM\PersistentCollection {#288 …}
  +ownershipRequests: Doctrine\ORM\PersistentCollection {#284 …}
  +moderatorRequests: Doctrine\ORM\PersistentCollection {#273 …}
  +entries: Doctrine\ORM\PersistentCollection {#231 …}
  +posts: Doctrine\ORM\PersistentCollection {#189 …}
  +subscriptions: Doctrine\ORM\PersistentCollection {#251 …}
  +bans: Doctrine\ORM\PersistentCollection {#168 …}
  +reports: Doctrine\ORM\PersistentCollection {#154 …}
  +badges: Doctrine\ORM\PersistentCollection {#132 …}
  +logs: Doctrine\ORM\PersistentCollection {#122 …}
  +awards: Doctrine\ORM\PersistentCollection {#111 …}
  +categories: Doctrine\ORM\PersistentCollection {#98 …}
  -id: 73
  +apId: "linux@lemmy.ml"
  +apProfileId: "https://lemmy.ml/c/linux"
  +apPublicUrl: "https://lemmy.ml/c/linux"
  +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
  +apInboxUrl: "https://lemmy.ml/inbox"
  +apDomain: "lemmy.ml"
  +apPreferredUsername: "linux"
  +apDiscoverable: true
  +apManuallyApprovesFollowers: null
  +privateKey: null
  +publicKey: null
  +apFetchedAt: DateTime @1729583596 {#325
    date: 2024-10-22 09:53:16.0 +02:00
  }
  +apDeletedAt: null
  +apTimeoutAt: null
  +visibility: "visible             "
  +createdAt: DateTimeImmutable @1698929468 {#319
    date: 2023-11-02 13:51:08.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS DENIED
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details