GET https://kbin.spritesserver.nl/index.php/u/@planish@sh.itjust.works/replies

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 …}
}
377.45 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.04 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
Proxies\__CG__\App\Entity\Post {#1448
  +user: Proxies\__CG__\App\Entity\User {#2706 …}
  +magazine: Proxies\__CG__\App\Entity\Magazine {#1675 …}
  +image: null
  +slug: "Run-command-as-not-root-Hi-everyone-At-work-I-have"
  +body: """
    Run command as not-root\n
    \n
    Hi everyone\n
    \n
    At work, I have to run a command in an AWS instance. In that particular instance only exists the root user. The command should not be executed with root privileges (it executes mpirun, which is not recommended to run as sudo or the machine might break), so I was wondering if there is a way to block or disable the sudo privileges while the command is running. As mentioned, the only user existing there is root, so I suppose "sudo -u" is not an option.\n
    \n
    Does anyone know how to do it? Thanks in advance!\n
    \n
    @linux@lemmy.ml
    """
  +lang: "en"
  +commentCount: 30
  +favouriteCount: 36
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1699069034 {#2627
    date: 2023-11-04 04:37:14.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@linux@lemmy.ml"
  ]
  +comments: Doctrine\ORM\PersistentCollection {#2705 …}
  +votes: Doctrine\ORM\PersistentCollection {#2703 …}
  +reports: Doctrine\ORM\PersistentCollection {#2701 …}
  +favourites: Doctrine\ORM\PersistentCollection {#2669 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2673 …}
  +children: [
    App\Entity\PostComment {#1449
      +user: App\Entity\User {#259 …}
      +post: Proxies\__CG__\App\Entity\Post {#1448 …2}
      +magazine: Proxies\__CG__\App\Entity\Magazine {#1675 …}
      +parent: null
      +root: null
      +image: null
      +body: "You probably want to run the command as `nobody`, the special system user who daemons become when they don’t want to have root permissions."
      +lang: "en"
      +favouriteCount: 22
      +score: 0
      +lastActive: DateTime @1698973705 {#1413
        date: 2023-11-03 02:08:25.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@linux@lemmy.ml"
        "@nirogu@vivaldi.net"
      ]
      +isAdult: false
      +updateMark: false
      +children: Doctrine\ORM\PersistentCollection {#1612 …}
      +nested: Doctrine\ORM\PersistentCollection {#1417 …}
      +votes: Doctrine\ORM\PersistentCollection {#1411 …}
      +reports: Doctrine\ORM\PersistentCollection {#1441 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1762 …}
      -id: 622
      -bodyTs: "'becom':16 'command':7 'daemon':15 'nobodi':9 'permiss':25 'probabl':2 'root':24 'run':5 'special':11 'system':12 'user':13 'want':3,21"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://sh.itjust.works/comment/5100757"
      +editedAt: null
      +createdAt: DateTimeImmutable @1698973705 {#1785
        date: 2023-11-03 02:08:25.0 +01:00
      }
    }
  ]
  -id: 286
  -bodyTs: "'advanc':103 'anyon':95 'aw':19 'block':65 'break':54 'command':2,16,31,73 'disabl':67 'everyon':8 'execut':35,40 'exist':26,81 'hi':7 'instanc':20,24 'know':96 'linux@lemmy.ml':104 'machin':52 'mention':77 'might':53 'mpirun':41 'not-root':4 'option':93 'particular':23 'privileg':38,70 'recommend':45 'root':6,28,37,84 'run':1,14,47,75 'sudo':49,69,88 'suppos':87 'thank':101 'u':89 'user':29,80 'way':63 'wonder':58 'work':10"
  +upVotes: 0
  +downVotes: 0
  +ranking: 1699037071
  +visibility: "visible             "
  +apId: "https://social.vivaldi.net/users/nirogu/statuses/111342431186356628"
  +editedAt: null
  +createdAt: DateTimeImmutable @1698950671 {#2626
    date: 2023-11-02 19:44:31.0 +01:00
  }
  +__isInitialized__: true
   …2
}
"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 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 DENIED
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
3 DENIED edit
Proxies\__CG__\App\Entity\Post {#1448
  +user: Proxies\__CG__\App\Entity\User {#2706 …}
  +magazine: Proxies\__CG__\App\Entity\Magazine {#1675 …}
  +image: null
  +slug: "Run-command-as-not-root-Hi-everyone-At-work-I-have"
  +body: """
    Run command as not-root\n
    \n
    Hi everyone\n
    \n
    At work, I have to run a command in an AWS instance. In that particular instance only exists the root user. The command should not be executed with root privileges (it executes mpirun, which is not recommended to run as sudo or the machine might break), so I was wondering if there is a way to block or disable the sudo privileges while the command is running. As mentioned, the only user existing there is root, so I suppose "sudo -u" is not an option.\n
    \n
    Does anyone know how to do it? Thanks in advance!\n
    \n
    @linux@lemmy.ml
    """
  +lang: "en"
  +commentCount: 30
  +favouriteCount: 36
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1699069034 {#2627
    date: 2023-11-04 04:37:14.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@linux@lemmy.ml"
  ]
  +comments: Doctrine\ORM\PersistentCollection {#2705 …}
  +votes: Doctrine\ORM\PersistentCollection {#2703 …}
  +reports: Doctrine\ORM\PersistentCollection {#2701 …}
  +favourites: Doctrine\ORM\PersistentCollection {#2669 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2673 …}
  +children: [
    App\Entity\PostComment {#1449
      +user: App\Entity\User {#259 …}
      +post: Proxies\__CG__\App\Entity\Post {#1448 …2}
      +magazine: Proxies\__CG__\App\Entity\Magazine {#1675 …}
      +parent: null
      +root: null
      +image: null
      +body: "You probably want to run the command as `nobody`, the special system user who daemons become when they don’t want to have root permissions."
      +lang: "en"
      +favouriteCount: 22
      +score: 0
      +lastActive: DateTime @1698973705 {#1413
        date: 2023-11-03 02:08:25.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@linux@lemmy.ml"
        "@nirogu@vivaldi.net"
      ]
      +isAdult: false
      +updateMark: false
      +children: Doctrine\ORM\PersistentCollection {#1612 …}
      +nested: Doctrine\ORM\PersistentCollection {#1417 …}
      +votes: Doctrine\ORM\PersistentCollection {#1411 …}
      +reports: Doctrine\ORM\PersistentCollection {#1441 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1762 …}
      -id: 622
      -bodyTs: "'becom':16 'command':7 'daemon':15 'nobodi':9 'permiss':25 'probabl':2 'root':24 'run':5 'special':11 'system':12 'user':13 'want':3,21"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://sh.itjust.works/comment/5100757"
      +editedAt: null
      +createdAt: DateTimeImmutable @1698973705 {#1785
        date: 2023-11-03 02:08:25.0 +01:00
      }
    }
  ]
  -id: 286
  -bodyTs: "'advanc':103 'anyon':95 'aw':19 'block':65 'break':54 'command':2,16,31,73 'disabl':67 'everyon':8 'execut':35,40 'exist':26,81 'hi':7 'instanc':20,24 'know':96 'linux@lemmy.ml':104 'machin':52 'mention':77 'might':53 'mpirun':41 'not-root':4 'option':93 'particular':23 'privileg':38,70 'recommend':45 'root':6,28,37,84 'run':1,14,47,75 'sudo':49,69,88 'suppos':87 'thank':101 'u':89 'user':29,80 'way':63 'wonder':58 'work':10"
  +upVotes: 0
  +downVotes: 0
  +ranking: 1699037071
  +visibility: "visible             "
  +apId: "https://social.vivaldi.net/users/nirogu/statuses/111342431186356628"
  +editedAt: null
  +createdAt: DateTimeImmutable @1698950671 {#2626
    date: 2023-11-02 19:44:31.0 +01:00
  }
  +__isInitialized__: true
   …2
}
"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 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 DENIED
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
4 DENIED moderate
Proxies\__CG__\App\Entity\Post {#1448
  +user: Proxies\__CG__\App\Entity\User {#2706 …}
  +magazine: Proxies\__CG__\App\Entity\Magazine {#1675 …}
  +image: null
  +slug: "Run-command-as-not-root-Hi-everyone-At-work-I-have"
  +body: """
    Run command as not-root\n
    \n
    Hi everyone\n
    \n
    At work, I have to run a command in an AWS instance. In that particular instance only exists the root user. The command should not be executed with root privileges (it executes mpirun, which is not recommended to run as sudo or the machine might break), so I was wondering if there is a way to block or disable the sudo privileges while the command is running. As mentioned, the only user existing there is root, so I suppose "sudo -u" is not an option.\n
    \n
    Does anyone know how to do it? Thanks in advance!\n
    \n
    @linux@lemmy.ml
    """
  +lang: "en"
  +commentCount: 30
  +favouriteCount: 36
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1699069034 {#2627
    date: 2023-11-04 04:37:14.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@linux@lemmy.ml"
  ]
  +comments: Doctrine\ORM\PersistentCollection {#2705 …}
  +votes: Doctrine\ORM\PersistentCollection {#2703 …}
  +reports: Doctrine\ORM\PersistentCollection {#2701 …}
  +favourites: Doctrine\ORM\PersistentCollection {#2669 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2673 …}
  +children: [
    App\Entity\PostComment {#1449
      +user: App\Entity\User {#259 …}
      +post: Proxies\__CG__\App\Entity\Post {#1448 …2}
      +magazine: Proxies\__CG__\App\Entity\Magazine {#1675 …}
      +parent: null
      +root: null
      +image: null
      +body: "You probably want to run the command as `nobody`, the special system user who daemons become when they don’t want to have root permissions."
      +lang: "en"
      +favouriteCount: 22
      +score: 0
      +lastActive: DateTime @1698973705 {#1413
        date: 2023-11-03 02:08:25.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@linux@lemmy.ml"
        "@nirogu@vivaldi.net"
      ]
      +isAdult: false
      +updateMark: false
      +children: Doctrine\ORM\PersistentCollection {#1612 …}
      +nested: Doctrine\ORM\PersistentCollection {#1417 …}
      +votes: Doctrine\ORM\PersistentCollection {#1411 …}
      +reports: Doctrine\ORM\PersistentCollection {#1441 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1762 …}
      -id: 622
      -bodyTs: "'becom':16 'command':7 'daemon':15 'nobodi':9 'permiss':25 'probabl':2 'root':24 'run':5 'special':11 'system':12 'user':13 'want':3,21"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://sh.itjust.works/comment/5100757"
      +editedAt: null
      +createdAt: DateTimeImmutable @1698973705 {#1785
        date: 2023-11-03 02:08:25.0 +01:00
      }
    }
  ]
  -id: 286
  -bodyTs: "'advanc':103 'anyon':95 'aw':19 'block':65 'break':54 'command':2,16,31,73 'disabl':67 'everyon':8 'execut':35,40 'exist':26,81 'hi':7 'instanc':20,24 'know':96 'linux@lemmy.ml':104 'machin':52 'mention':77 'might':53 'mpirun':41 'not-root':4 'option':93 'particular':23 'privileg':38,70 'recommend':45 'root':6,28,37,84 'run':1,14,47,75 'sudo':49,69,88 'suppos':87 'thank':101 'u':89 'user':29,80 'way':63 'wonder':58 'work':10"
  +upVotes: 0
  +downVotes: 0
  +ranking: 1699037071
  +visibility: "visible             "
  +apId: "https://social.vivaldi.net/users/nirogu/statuses/111342431186356628"
  +editedAt: null
  +createdAt: DateTimeImmutable @1698950671 {#2626
    date: 2023-11-02 19:44:31.0 +01:00
  }
  +__isInitialized__: true
   …2
}
"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 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 DENIED
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
5 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
6 DENIED moderate
App\Entity\PostComment {#1449
  +user: App\Entity\User {#259 …}
  +post: Proxies\__CG__\App\Entity\Post {#1448
    +user: Proxies\__CG__\App\Entity\User {#2706 …}
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1675 …}
    +image: null
    +slug: "Run-command-as-not-root-Hi-everyone-At-work-I-have"
    +body: """
      Run command as not-root\n
      \n
      Hi everyone\n
      \n
      At work, I have to run a command in an AWS instance. In that particular instance only exists the root user. The command should not be executed with root privileges (it executes mpirun, which is not recommended to run as sudo or the machine might break), so I was wondering if there is a way to block or disable the sudo privileges while the command is running. As mentioned, the only user existing there is root, so I suppose "sudo -u" is not an option.\n
      \n
      Does anyone know how to do it? Thanks in advance!\n
      \n
      @linux@lemmy.ml
      """
    +lang: "en"
    +commentCount: 30
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1699069034 {#2627
      date: 2023-11-04 04:37:14.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@linux@lemmy.ml"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#2705 …}
    +votes: Doctrine\ORM\PersistentCollection {#2703 …}
    +reports: Doctrine\ORM\PersistentCollection {#2701 …}
    +favourites: Doctrine\ORM\PersistentCollection {#2669 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2673 …}
    +children: [
      App\Entity\PostComment {#1449}
    ]
    -id: 286
    -bodyTs: "'advanc':103 'anyon':95 'aw':19 'block':65 'break':54 'command':2,16,31,73 'disabl':67 'everyon':8 'execut':35,40 'exist':26,81 'hi':7 'instanc':20,24 'know':96 'linux@lemmy.ml':104 'machin':52 'mention':77 'might':53 'mpirun':41 'not-root':4 'option':93 'particular':23 'privileg':38,70 'recommend':45 'root':6,28,37,84 'run':1,14,47,75 'sudo':49,69,88 'suppos':87 'thank':101 'u':89 'user':29,80 'way':63 'wonder':58 'work':10"
    +upVotes: 0
    +downVotes: 0
    +ranking: 1699037071
    +visibility: "visible             "
    +apId: "https://social.vivaldi.net/users/nirogu/statuses/111342431186356628"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698950671 {#2626
      date: 2023-11-02 19:44:31.0 +01:00
    }
    +__isInitialized__: true
     …2
  }
  +magazine: Proxies\__CG__\App\Entity\Magazine {#1675 …}
  +parent: null
  +root: null
  +image: null
  +body: "You probably want to run the command as `nobody`, the special system user who daemons become when they don’t want to have root permissions."
  +lang: "en"
  +favouriteCount: 22
  +score: 0
  +lastActive: DateTime @1698973705 {#1413
    date: 2023-11-03 02:08:25.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@linux@lemmy.ml"
    "@nirogu@vivaldi.net"
  ]
  +isAdult: false
  +updateMark: false
  +children: Doctrine\ORM\PersistentCollection {#1612 …}
  +nested: Doctrine\ORM\PersistentCollection {#1417 …}
  +votes: Doctrine\ORM\PersistentCollection {#1411 …}
  +reports: Doctrine\ORM\PersistentCollection {#1441 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
  +notifications: Doctrine\ORM\PersistentCollection {#1762 …}
  -id: 622
  -bodyTs: "'becom':16 'command':7 'daemon':15 'nobodi':9 'permiss':25 'probabl':2 'root':24 'run':5 'special':11 'system':12 'user':13 'want':3,21"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://sh.itjust.works/comment/5100757"
  +editedAt: null
  +createdAt: DateTimeImmutable @1698973705 {#1785
    date: 2023-11-03 02:08:25.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 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 DENIED
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
7 DENIED edit
App\Entity\PostComment {#1449
  +user: App\Entity\User {#259 …}
  +post: Proxies\__CG__\App\Entity\Post {#1448
    +user: Proxies\__CG__\App\Entity\User {#2706 …}
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1675 …}
    +image: null
    +slug: "Run-command-as-not-root-Hi-everyone-At-work-I-have"
    +body: """
      Run command as not-root\n
      \n
      Hi everyone\n
      \n
      At work, I have to run a command in an AWS instance. In that particular instance only exists the root user. The command should not be executed with root privileges (it executes mpirun, which is not recommended to run as sudo or the machine might break), so I was wondering if there is a way to block or disable the sudo privileges while the command is running. As mentioned, the only user existing there is root, so I suppose "sudo -u" is not an option.\n
      \n
      Does anyone know how to do it? Thanks in advance!\n
      \n
      @linux@lemmy.ml
      """
    +lang: "en"
    +commentCount: 30
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1699069034 {#2627
      date: 2023-11-04 04:37:14.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@linux@lemmy.ml"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#2705 …}
    +votes: Doctrine\ORM\PersistentCollection {#2703 …}
    +reports: Doctrine\ORM\PersistentCollection {#2701 …}
    +favourites: Doctrine\ORM\PersistentCollection {#2669 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2673 …}
    +children: [
      App\Entity\PostComment {#1449}
    ]
    -id: 286
    -bodyTs: "'advanc':103 'anyon':95 'aw':19 'block':65 'break':54 'command':2,16,31,73 'disabl':67 'everyon':8 'execut':35,40 'exist':26,81 'hi':7 'instanc':20,24 'know':96 'linux@lemmy.ml':104 'machin':52 'mention':77 'might':53 'mpirun':41 'not-root':4 'option':93 'particular':23 'privileg':38,70 'recommend':45 'root':6,28,37,84 'run':1,14,47,75 'sudo':49,69,88 'suppos':87 'thank':101 'u':89 'user':29,80 'way':63 'wonder':58 'work':10"
    +upVotes: 0
    +downVotes: 0
    +ranking: 1699037071
    +visibility: "visible             "
    +apId: "https://social.vivaldi.net/users/nirogu/statuses/111342431186356628"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698950671 {#2626
      date: 2023-11-02 19:44:31.0 +01:00
    }
    +__isInitialized__: true
     …2
  }
  +magazine: Proxies\__CG__\App\Entity\Magazine {#1675 …}
  +parent: null
  +root: null
  +image: null
  +body: "You probably want to run the command as `nobody`, the special system user who daemons become when they don’t want to have root permissions."
  +lang: "en"
  +favouriteCount: 22
  +score: 0
  +lastActive: DateTime @1698973705 {#1413
    date: 2023-11-03 02:08:25.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@linux@lemmy.ml"
    "@nirogu@vivaldi.net"
  ]
  +isAdult: false
  +updateMark: false
  +children: Doctrine\ORM\PersistentCollection {#1612 …}
  +nested: Doctrine\ORM\PersistentCollection {#1417 …}
  +votes: Doctrine\ORM\PersistentCollection {#1411 …}
  +reports: Doctrine\ORM\PersistentCollection {#1441 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
  +notifications: Doctrine\ORM\PersistentCollection {#1762 …}
  -id: 622
  -bodyTs: "'becom':16 'command':7 'daemon':15 'nobodi':9 'permiss':25 'probabl':2 'root':24 'run':5 'special':11 'system':12 'user':13 'want':3,21"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://sh.itjust.works/comment/5100757"
  +editedAt: null
  +createdAt: DateTimeImmutable @1698973705 {#1785
    date: 2023-11-03 02:08:25.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 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 DENIED
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
8 DENIED moderate
App\Entity\PostComment {#1449
  +user: App\Entity\User {#259 …}
  +post: Proxies\__CG__\App\Entity\Post {#1448
    +user: Proxies\__CG__\App\Entity\User {#2706 …}
    +magazine: Proxies\__CG__\App\Entity\Magazine {#1675 …}
    +image: null
    +slug: "Run-command-as-not-root-Hi-everyone-At-work-I-have"
    +body: """
      Run command as not-root\n
      \n
      Hi everyone\n
      \n
      At work, I have to run a command in an AWS instance. In that particular instance only exists the root user. The command should not be executed with root privileges (it executes mpirun, which is not recommended to run as sudo or the machine might break), so I was wondering if there is a way to block or disable the sudo privileges while the command is running. As mentioned, the only user existing there is root, so I suppose "sudo -u" is not an option.\n
      \n
      Does anyone know how to do it? Thanks in advance!\n
      \n
      @linux@lemmy.ml
      """
    +lang: "en"
    +commentCount: 30
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1699069034 {#2627
      date: 2023-11-04 04:37:14.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@linux@lemmy.ml"
    ]
    +comments: Doctrine\ORM\PersistentCollection {#2705 …}
    +votes: Doctrine\ORM\PersistentCollection {#2703 …}
    +reports: Doctrine\ORM\PersistentCollection {#2701 …}
    +favourites: Doctrine\ORM\PersistentCollection {#2669 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2673 …}
    +children: [
      App\Entity\PostComment {#1449}
    ]
    -id: 286
    -bodyTs: "'advanc':103 'anyon':95 'aw':19 'block':65 'break':54 'command':2,16,31,73 'disabl':67 'everyon':8 'execut':35,40 'exist':26,81 'hi':7 'instanc':20,24 'know':96 'linux@lemmy.ml':104 'machin':52 'mention':77 'might':53 'mpirun':41 'not-root':4 'option':93 'particular':23 'privileg':38,70 'recommend':45 'root':6,28,37,84 'run':1,14,47,75 'sudo':49,69,88 'suppos':87 'thank':101 'u':89 'user':29,80 'way':63 'wonder':58 'work':10"
    +upVotes: 0
    +downVotes: 0
    +ranking: 1699037071
    +visibility: "visible             "
    +apId: "https://social.vivaldi.net/users/nirogu/statuses/111342431186356628"
    +editedAt: null
    +createdAt: DateTimeImmutable @1698950671 {#2626
      date: 2023-11-02 19:44:31.0 +01:00
    }
    +__isInitialized__: true
     …2
  }
  +magazine: Proxies\__CG__\App\Entity\Magazine {#1675 …}
  +parent: null
  +root: null
  +image: null
  +body: "You probably want to run the command as `nobody`, the special system user who daemons become when they don’t want to have root permissions."
  +lang: "en"
  +favouriteCount: 22
  +score: 0
  +lastActive: DateTime @1698973705 {#1413
    date: 2023-11-03 02:08:25.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@linux@lemmy.ml"
    "@nirogu@vivaldi.net"
  ]
  +isAdult: false
  +updateMark: false
  +children: Doctrine\ORM\PersistentCollection {#1612 …}
  +nested: Doctrine\ORM\PersistentCollection {#1417 …}
  +votes: Doctrine\ORM\PersistentCollection {#1411 …}
  +reports: Doctrine\ORM\PersistentCollection {#1441 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1438 …}
  +notifications: Doctrine\ORM\PersistentCollection {#1762 …}
  -id: 622
  -bodyTs: "'becom':16 'command':7 'daemon':15 'nobodi':9 'permiss':25 'probabl':2 'root':24 'run':5 'special':11 'system':12 'user':13 'want':3,21"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://sh.itjust.works/comment/5100757"
  +editedAt: null
  +createdAt: DateTimeImmutable @1698973705 {#1785
    date: 2023-11-03 02:08:25.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 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 DENIED
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details