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 …}
}
6.15 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.05 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\EntryComment {#1366
  +user: Proxies\__CG__\App\Entity\User {#1378 …}
  +entry: App\Entity\Entry {#1856 …}
  +magazine: App\Entity\Magazine {#312
    +icon: Proxies\__CG__\App\Entity\Image {#293 …}
    +name: "selfhosted@lemmy.world"
    +title: "selfhosted"
    +description: """
      A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
      \n
      Rules:\n
      \n
      - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
      - No spam posting.\n
      - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
      - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
      - No trolling.\n
      \n
      Resources:\n
      \n
      - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
      - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
      - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
      \n
      > Any issues on the community? Report it using the report flag.\n
      \n
      > Questions? DM the mods!
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 222
    +entryCommentCount: 3916
    +postCount: 0
    +postCommentCount: 0
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729582735 {#320
      date: 2024-10-22 09:38:55.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#284 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#280 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#269 …}
    +entries: Doctrine\ORM\PersistentCollection {#227 …}
    +posts: Doctrine\ORM\PersistentCollection {#185 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#247 …}
    +bans: Doctrine\ORM\PersistentCollection {#164 …}
    +reports: Doctrine\ORM\PersistentCollection {#150 …}
    +badges: Doctrine\ORM\PersistentCollection {#128 …}
    +logs: Doctrine\ORM\PersistentCollection {#118 …}
    +awards: Doctrine\ORM\PersistentCollection {#107 …}
    +categories: Doctrine\ORM\PersistentCollection {#94 …}
    -id: 120
    +apId: "selfhosted@lemmy.world"
    +apProfileId: "https://lemmy.world/c/selfhosted"
    +apPublicUrl: "https://lemmy.world/c/selfhosted"
    +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "selfhosted"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1703473826 {#321
      date: 2023-12-25 04:10:26.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1703473826 {#315
      date: 2023-12-25 04:10:26.0 +01:00
    }
  }
  +image: null
  +parent: null
  +root: null
  +body: """
    The simplest solution would be to install Debian. The thing to note is that the Debian installer is designed to be multipurpose so it will default to installing a GUI.\n
    \n
    Assuming you can boot off of a live USB with the Debian installer, you can follow the steps until you get to tasksel software selection from there uncheck gnome and check system utilities and ssh server. Also Debian defaults to separate root and user accounts. I would recommend disabling root (see steps below)\n
    \n
    On a different machine, ssh into the server (I’m using debian.local but you should replace that with a hostname or IP)\n
    \n
    ```\n
    \n
    <span style="color:#323232;">ssh username@debian.local\n
    </span>\n
    ```\n
    \n
    Once you have access run the following commands to switch to root.\n
    \n
    ```\n
    \n
    <span style="color:#323232;">su - \n
    </span>\n
    ```\n
    \n
    Install sudo and give yourself access\n
    \n
    ```\n
    \n
    <span style="color:#323232;">sudo apt update\n
    </span><span style="color:#323232;">sudo apt install sudo\n
    </span><span style="color:#323232;">sudo usermod -aG sudo username \n
    </span>\n
    ```\n
    \n
    Now type exit twice to exit the shell entirely. Once that’s done log back in.\n
    \n
    ```\n
    \n
    <span style="color:#323232;">ssh username@debian.local\n
    </span>\n
    ```\n
    \n
    Lock root\n
    \n
    ```\n
    \n
    <span style="color:#323232;">sudo passwd -l root\n
    </span>\n
    ```\n
    \n
    Now you have a system to set things up. I would start by enabling automatic updates and installing docker compose. (Docker compose allows you to deploy software very quickly in co trainers via a yaml spec)\n
    \n
    ```\n
    \n
    <span style="color:#323232;">#enable automatic updates\n
    </span><span style="color:#323232;">sudo apt install unattended-upgrades\n
    </span><span style="color:#323232;">sudo dpkg-reconfigure unattended-upgrades\n
    </span><span style="color:#323232;">sudo systemctl start unattended-upgrades #probably not needed\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">#install updates and install docker and docker-compose\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">sudo apt update\n
    </span><span style="color:#323232;">sudo apt upgrade \n
    </span><span style="color:#323232;">sudo apt install docker.io docker-compose\n
    </span><span style="color:#323232;">sudo systemctl start docker\n
    </span><span style="color:#323232;">sudo usermod -aG docker username\n
    </span><span style="color:#323232;">\n
    </span>\n
    ```\n
    \n
    You will need to log out and then back in to apply the docker permission.\n
    \n
    I hope that gets you started.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 5
  +score: 0
  +lastActive: DateTime @1723541239 {#1769
    date: 2024-08-13 11:27:19.0 +02:00
  }
  +ip: null
  +tags: [
    0 => "323232"
    8 => "enable"
    12 => "probably"
    15 => "install"
  ]
  +mentions: [
    "@Fashtas@aussie.zone"
  ]
  +children: Doctrine\ORM\PersistentCollection {#1370 …}
  +nested: Doctrine\ORM\PersistentCollection {#1375 …}
  +votes: Doctrine\ORM\PersistentCollection {#2424 …}
  +reports: Doctrine\ORM\PersistentCollection {#1898 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1841 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2354 …}
  -id: 302877
  -bodyTs: "'access':111,126 'account':75 'ag':136,252 'allow':185 'also':67 'appli':266 'apt':128,131,203,234,237,240 'assum':31 'automat':177,200 'back':153,263 'boot':34 'check':61 'co':193 'command':115 'compos':182,184,232,245 'debian':8,16,42,68 'debian.local':95 'default':26,69 'deploy':188 'design':19 'differ':86 'disabl':79 'docker':181,183,228,231,244,249,253,268 'docker-compos':230,243 'docker.io':242 'done':151 'dpkg':210 'dpkg-reconfigur':209 'enabl':176,199 'entir':147 'exit':141,144 'follow':46,114 'get':51,273 'give':124 'gnome':59 'gui':30 'hope':271 'hostnam':103 'instal':7,17,28,43,121,132,180,204,224,227,241 'ip':105 'l':161 'live':38 'lock':157 'log':152,259 'm':93 'machin':87 'multipurpos':22 'need':223,257 'note':12 'passwd':160 'permiss':269 'probabl':221 'quick':191 'recommend':78 'reconfigur':211 'replac':99 'root':72,80,119,158,162 'run':112 'see':81 'select':55 'separ':71 'server':66,91 'set':169 'shell':146 'simplest':2 'softwar':54,189 'solut':3 'spec':198 'ssh':65,88,106,155 'start':174,217,248,275 'step':48,82 'su':120 'sudo':122,127,130,133,134,137,159,202,208,215,233,236,239,246,250 'switch':117 'system':62,167 'systemctl':216,247 'tasksel':53 'thing':10,170 'trainer':194 'twice':142 'type':140 'unattend':206,213,219 'unattended-upgrad':205,212,218 'uncheck':58 'updat':129,178,201,225,235 'upgrad':207,214,220,238 'usb':39 'use':94 'user':74 'usermod':135,251 'usernam':138,254 'username@debian.local':107,156 'util':63 'via':195 'would':4,77,173 'yaml':197"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.zip/comment/6235168"
  +editedAt: null
  +createdAt: DateTimeImmutable @1705086681 {#1945
    date: 2024-01-12 20:11:21.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"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
3 DENIED edit
App\Entity\EntryComment {#1366
  +user: Proxies\__CG__\App\Entity\User {#1378 …}
  +entry: App\Entity\Entry {#1856 …}
  +magazine: App\Entity\Magazine {#312
    +icon: Proxies\__CG__\App\Entity\Image {#293 …}
    +name: "selfhosted@lemmy.world"
    +title: "selfhosted"
    +description: """
      A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
      \n
      Rules:\n
      \n
      - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
      - No spam posting.\n
      - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
      - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
      - No trolling.\n
      \n
      Resources:\n
      \n
      - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
      - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
      - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
      \n
      &gt; Any issues on the community? Report it using the report flag.\n
      \n
      &gt; Questions? DM the mods!
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 222
    +entryCommentCount: 3916
    +postCount: 0
    +postCommentCount: 0
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729582735 {#320
      date: 2024-10-22 09:38:55.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#284 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#280 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#269 …}
    +entries: Doctrine\ORM\PersistentCollection {#227 …}
    +posts: Doctrine\ORM\PersistentCollection {#185 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#247 …}
    +bans: Doctrine\ORM\PersistentCollection {#164 …}
    +reports: Doctrine\ORM\PersistentCollection {#150 …}
    +badges: Doctrine\ORM\PersistentCollection {#128 …}
    +logs: Doctrine\ORM\PersistentCollection {#118 …}
    +awards: Doctrine\ORM\PersistentCollection {#107 …}
    +categories: Doctrine\ORM\PersistentCollection {#94 …}
    -id: 120
    +apId: "selfhosted@lemmy.world"
    +apProfileId: "https://lemmy.world/c/selfhosted"
    +apPublicUrl: "https://lemmy.world/c/selfhosted"
    +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "selfhosted"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1703473826 {#321
      date: 2023-12-25 04:10:26.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1703473826 {#315
      date: 2023-12-25 04:10:26.0 +01:00
    }
  }
  +image: null
  +parent: null
  +root: null
  +body: """
    The simplest solution would be to install Debian. The thing to note is that the Debian installer is designed to be multipurpose so it will default to installing a GUI.\n
    \n
    Assuming you can boot off of a live USB with the Debian installer, you can follow the steps until you get to tasksel software selection from there uncheck gnome and check system utilities and ssh server. Also Debian defaults to separate root and user accounts. I would recommend disabling root (see steps below)\n
    \n
    On a different machine, ssh into the server (I’m using debian.local but you should replace that with a hostname or IP)\n
    \n
    ```\n
    \n
    <span style="color:#323232;">ssh username@debian.local\n
    </span>\n
    ```\n
    \n
    Once you have access run the following commands to switch to root.\n
    \n
    ```\n
    \n
    <span style="color:#323232;">su - \n
    </span>\n
    ```\n
    \n
    Install sudo and give yourself access\n
    \n
    ```\n
    \n
    <span style="color:#323232;">sudo apt update\n
    </span><span style="color:#323232;">sudo apt install sudo\n
    </span><span style="color:#323232;">sudo usermod -aG sudo username \n
    </span>\n
    ```\n
    \n
    Now type exit twice to exit the shell entirely. Once that’s done log back in.\n
    \n
    ```\n
    \n
    <span style="color:#323232;">ssh username@debian.local\n
    </span>\n
    ```\n
    \n
    Lock root\n
    \n
    ```\n
    \n
    <span style="color:#323232;">sudo passwd -l root\n
    </span>\n
    ```\n
    \n
    Now you have a system to set things up. I would start by enabling automatic updates and installing docker compose. (Docker compose allows you to deploy software very quickly in co trainers via a yaml spec)\n
    \n
    ```\n
    \n
    <span style="color:#323232;">#enable automatic updates\n
    </span><span style="color:#323232;">sudo apt install unattended-upgrades\n
    </span><span style="color:#323232;">sudo dpkg-reconfigure unattended-upgrades\n
    </span><span style="color:#323232;">sudo systemctl start unattended-upgrades #probably not needed\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">#install updates and install docker and docker-compose\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">sudo apt update\n
    </span><span style="color:#323232;">sudo apt upgrade \n
    </span><span style="color:#323232;">sudo apt install docker.io docker-compose\n
    </span><span style="color:#323232;">sudo systemctl start docker\n
    </span><span style="color:#323232;">sudo usermod -aG docker username\n
    </span><span style="color:#323232;">\n
    </span>\n
    ```\n
    \n
    You will need to log out and then back in to apply the docker permission.\n
    \n
    I hope that gets you started.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 5
  +score: 0
  +lastActive: DateTime @1723541239 {#1769
    date: 2024-08-13 11:27:19.0 +02:00
  }
  +ip: null
  +tags: [
    0 => "323232"
    8 => "enable"
    12 => "probably"
    15 => "install"
  ]
  +mentions: [
    "@Fashtas@aussie.zone"
  ]
  +children: Doctrine\ORM\PersistentCollection {#1370 …}
  +nested: Doctrine\ORM\PersistentCollection {#1375 …}
  +votes: Doctrine\ORM\PersistentCollection {#2424 …}
  +reports: Doctrine\ORM\PersistentCollection {#1898 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1841 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2354 …}
  -id: 302877
  -bodyTs: "'access':111,126 'account':75 'ag':136,252 'allow':185 'also':67 'appli':266 'apt':128,131,203,234,237,240 'assum':31 'automat':177,200 'back':153,263 'boot':34 'check':61 'co':193 'command':115 'compos':182,184,232,245 'debian':8,16,42,68 'debian.local':95 'default':26,69 'deploy':188 'design':19 'differ':86 'disabl':79 'docker':181,183,228,231,244,249,253,268 'docker-compos':230,243 'docker.io':242 'done':151 'dpkg':210 'dpkg-reconfigur':209 'enabl':176,199 'entir':147 'exit':141,144 'follow':46,114 'get':51,273 'give':124 'gnome':59 'gui':30 'hope':271 'hostnam':103 'instal':7,17,28,43,121,132,180,204,224,227,241 'ip':105 'l':161 'live':38 'lock':157 'log':152,259 'm':93 'machin':87 'multipurpos':22 'need':223,257 'note':12 'passwd':160 'permiss':269 'probabl':221 'quick':191 'recommend':78 'reconfigur':211 'replac':99 'root':72,80,119,158,162 'run':112 'see':81 'select':55 'separ':71 'server':66,91 'set':169 'shell':146 'simplest':2 'softwar':54,189 'solut':3 'spec':198 'ssh':65,88,106,155 'start':174,217,248,275 'step':48,82 'su':120 'sudo':122,127,130,133,134,137,159,202,208,215,233,236,239,246,250 'switch':117 'system':62,167 'systemctl':216,247 'tasksel':53 'thing':10,170 'trainer':194 'twice':142 'type':140 'unattend':206,213,219 'unattended-upgrad':205,212,218 'uncheck':58 'updat':129,178,201,225,235 'upgrad':207,214,220,238 'usb':39 'use':94 'user':74 'usermod':135,251 'usernam':138,254 'username@debian.local':107,156 'util':63 'via':195 'would':4,77,173 'yaml':197"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.zip/comment/6235168"
  +editedAt: null
  +createdAt: DateTimeImmutable @1705086681 {#1945
    date: 2024-01-12 20:11:21.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"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
4 DENIED moderate
App\Entity\EntryComment {#1366
  +user: Proxies\__CG__\App\Entity\User {#1378 …}
  +entry: App\Entity\Entry {#1856 …}
  +magazine: App\Entity\Magazine {#312
    +icon: Proxies\__CG__\App\Entity\Image {#293 …}
    +name: "selfhosted@lemmy.world"
    +title: "selfhosted"
    +description: """
      A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
      \n
      Rules:\n
      \n
      - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
      - No spam posting.\n
      - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
      - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
      - No trolling.\n
      \n
      Resources:\n
      \n
      - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
      - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
      - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
      \n
      &gt; Any issues on the community? Report it using the report flag.\n
      \n
      &gt; Questions? DM the mods!
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 222
    +entryCommentCount: 3916
    +postCount: 0
    +postCommentCount: 0
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729582735 {#320
      date: 2024-10-22 09:38:55.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#284 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#280 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#269 …}
    +entries: Doctrine\ORM\PersistentCollection {#227 …}
    +posts: Doctrine\ORM\PersistentCollection {#185 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#247 …}
    +bans: Doctrine\ORM\PersistentCollection {#164 …}
    +reports: Doctrine\ORM\PersistentCollection {#150 …}
    +badges: Doctrine\ORM\PersistentCollection {#128 …}
    +logs: Doctrine\ORM\PersistentCollection {#118 …}
    +awards: Doctrine\ORM\PersistentCollection {#107 …}
    +categories: Doctrine\ORM\PersistentCollection {#94 …}
    -id: 120
    +apId: "selfhosted@lemmy.world"
    +apProfileId: "https://lemmy.world/c/selfhosted"
    +apPublicUrl: "https://lemmy.world/c/selfhosted"
    +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "selfhosted"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1703473826 {#321
      date: 2023-12-25 04:10:26.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1703473826 {#315
      date: 2023-12-25 04:10:26.0 +01:00
    }
  }
  +image: null
  +parent: null
  +root: null
  +body: """
    The simplest solution would be to install Debian. The thing to note is that the Debian installer is designed to be multipurpose so it will default to installing a GUI.\n
    \n
    Assuming you can boot off of a live USB with the Debian installer, you can follow the steps until you get to tasksel software selection from there uncheck gnome and check system utilities and ssh server. Also Debian defaults to separate root and user accounts. I would recommend disabling root (see steps below)\n
    \n
    On a different machine, ssh into the server (I’m using debian.local but you should replace that with a hostname or IP)\n
    \n
    ```\n
    \n
    <span style="color:#323232;">ssh username@debian.local\n
    </span>\n
    ```\n
    \n
    Once you have access run the following commands to switch to root.\n
    \n
    ```\n
    \n
    <span style="color:#323232;">su - \n
    </span>\n
    ```\n
    \n
    Install sudo and give yourself access\n
    \n
    ```\n
    \n
    <span style="color:#323232;">sudo apt update\n
    </span><span style="color:#323232;">sudo apt install sudo\n
    </span><span style="color:#323232;">sudo usermod -aG sudo username \n
    </span>\n
    ```\n
    \n
    Now type exit twice to exit the shell entirely. Once that’s done log back in.\n
    \n
    ```\n
    \n
    <span style="color:#323232;">ssh username@debian.local\n
    </span>\n
    ```\n
    \n
    Lock root\n
    \n
    ```\n
    \n
    <span style="color:#323232;">sudo passwd -l root\n
    </span>\n
    ```\n
    \n
    Now you have a system to set things up. I would start by enabling automatic updates and installing docker compose. (Docker compose allows you to deploy software very quickly in co trainers via a yaml spec)\n
    \n
    ```\n
    \n
    <span style="color:#323232;">#enable automatic updates\n
    </span><span style="color:#323232;">sudo apt install unattended-upgrades\n
    </span><span style="color:#323232;">sudo dpkg-reconfigure unattended-upgrades\n
    </span><span style="color:#323232;">sudo systemctl start unattended-upgrades #probably not needed\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">#install updates and install docker and docker-compose\n
    </span><span style="color:#323232;">\n
    </span><span style="color:#323232;">sudo apt update\n
    </span><span style="color:#323232;">sudo apt upgrade \n
    </span><span style="color:#323232;">sudo apt install docker.io docker-compose\n
    </span><span style="color:#323232;">sudo systemctl start docker\n
    </span><span style="color:#323232;">sudo usermod -aG docker username\n
    </span><span style="color:#323232;">\n
    </span>\n
    ```\n
    \n
    You will need to log out and then back in to apply the docker permission.\n
    \n
    I hope that gets you started.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 5
  +score: 0
  +lastActive: DateTime @1723541239 {#1769
    date: 2024-08-13 11:27:19.0 +02:00
  }
  +ip: null
  +tags: [
    0 => "323232"
    8 => "enable"
    12 => "probably"
    15 => "install"
  ]
  +mentions: [
    "@Fashtas@aussie.zone"
  ]
  +children: Doctrine\ORM\PersistentCollection {#1370 …}
  +nested: Doctrine\ORM\PersistentCollection {#1375 …}
  +votes: Doctrine\ORM\PersistentCollection {#2424 …}
  +reports: Doctrine\ORM\PersistentCollection {#1898 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1841 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2354 …}
  -id: 302877
  -bodyTs: "'access':111,126 'account':75 'ag':136,252 'allow':185 'also':67 'appli':266 'apt':128,131,203,234,237,240 'assum':31 'automat':177,200 'back':153,263 'boot':34 'check':61 'co':193 'command':115 'compos':182,184,232,245 'debian':8,16,42,68 'debian.local':95 'default':26,69 'deploy':188 'design':19 'differ':86 'disabl':79 'docker':181,183,228,231,244,249,253,268 'docker-compos':230,243 'docker.io':242 'done':151 'dpkg':210 'dpkg-reconfigur':209 'enabl':176,199 'entir':147 'exit':141,144 'follow':46,114 'get':51,273 'give':124 'gnome':59 'gui':30 'hope':271 'hostnam':103 'instal':7,17,28,43,121,132,180,204,224,227,241 'ip':105 'l':161 'live':38 'lock':157 'log':152,259 'm':93 'machin':87 'multipurpos':22 'need':223,257 'note':12 'passwd':160 'permiss':269 'probabl':221 'quick':191 'recommend':78 'reconfigur':211 'replac':99 'root':72,80,119,158,162 'run':112 'see':81 'select':55 'separ':71 'server':66,91 'set':169 'shell':146 'simplest':2 'softwar':54,189 'solut':3 'spec':198 'ssh':65,88,106,155 'start':174,217,248,275 'step':48,82 'su':120 'sudo':122,127,130,133,134,137,159,202,208,215,233,236,239,246,250 'switch':117 'system':62,167 'systemctl':216,247 'tasksel':53 'thing':10,170 'trainer':194 'twice':142 'type':140 'unattend':206,213,219 'unattended-upgrad':205,212,218 'uncheck':58 'updat':129,178,201,225,235 'upgrad':207,214,220,238 'usb':39 'use':94 'user':74 'usermod':135,251 'usernam':138,254 'username@debian.local':107,156 'util':63 'via':195 'would':4,77,173 'yaml':197"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.zip/comment/6235168"
  +editedAt: null
  +createdAt: DateTimeImmutable @1705086681 {#1945
    date: 2024-01-12 20:11:21.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"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
5 DENIED edit
App\Entity\Magazine {#312
  +icon: Proxies\__CG__\App\Entity\Image {#293 …}
  +name: "selfhosted@lemmy.world"
  +title: "selfhosted"
  +description: """
    A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
    \n
    Rules:\n
    \n
    - Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
    - No spam posting.\n
    - Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
    - Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
    - No trolling.\n
    \n
    Resources:\n
    \n
    - [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
    - [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
    - [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
    \n
    &gt; Any issues on the community? Report it using the report flag.\n
    \n
    &gt; Questions? DM the mods!
    """
  +rules: null
  +subscriptionsCount: 1
  +entryCount: 222
  +entryCommentCount: 3916
  +postCount: 0
  +postCommentCount: 0
  +isAdult: false
  +customCss: null
  +lastActive: DateTime @1729582735 {#320
    date: 2024-10-22 09:38:55.0 +02:00
  }
  +markedForDeletionAt: null
  +tags: null
  +moderators: Doctrine\ORM\PersistentCollection {#284 …}
  +ownershipRequests: Doctrine\ORM\PersistentCollection {#280 …}
  +moderatorRequests: Doctrine\ORM\PersistentCollection {#269 …}
  +entries: Doctrine\ORM\PersistentCollection {#227 …}
  +posts: Doctrine\ORM\PersistentCollection {#185 …}
  +subscriptions: Doctrine\ORM\PersistentCollection {#247 …}
  +bans: Doctrine\ORM\PersistentCollection {#164 …}
  +reports: Doctrine\ORM\PersistentCollection {#150 …}
  +badges: Doctrine\ORM\PersistentCollection {#128 …}
  +logs: Doctrine\ORM\PersistentCollection {#118 …}
  +awards: Doctrine\ORM\PersistentCollection {#107 …}
  +categories: Doctrine\ORM\PersistentCollection {#94 …}
  -id: 120
  +apId: "selfhosted@lemmy.world"
  +apProfileId: "https://lemmy.world/c/selfhosted"
  +apPublicUrl: "https://lemmy.world/c/selfhosted"
  +apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
  +apInboxUrl: "https://lemmy.world/inbox"
  +apDomain: "lemmy.world"
  +apPreferredUsername: "selfhosted"
  +apDiscoverable: true
  +apManuallyApprovesFollowers: null
  +privateKey: null
  +publicKey: null
  +apFetchedAt: DateTime @1703473826 {#321
    date: 2023-12-25 04:10:26.0 +01:00
  }
  +apDeletedAt: null
  +apTimeoutAt: null
  +visibility: "visible             "
  +createdAt: DateTimeImmutable @1703473826 {#315
    date: 2023-12-25 04:10:26.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