Components
21
Twig Components
71
Render Count
221
ms
Render Time
12.0
MiB
Memory Usage
Components
Render calls
post | App\Twig\Components\PostComponent | 12.0 MiB | 36.99 ms | |
---|---|---|---|---|
Input props | [ "post" => Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\PostComponent {#2543 +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +isSingle: false +showMagazineName: true +dateAsUrl: true +showCommentsPreview: false +showExpand: true +canSeeTrash: false +newComments: 0 -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …} -newCommentMarkerCount: App\Kbin\NewCommentMarker\NewCommentMarkerCount {#2544 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -security: Symfony\Bundle\SecurityBundle\Security {#1101 …} } |
user_inline | App\Twig\Components\UserInlineComponent | 12.0 MiB | 7.15 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#2714 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.49 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1698950671 {#2628 : 2023-11-02 19:44:31.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#2926 +date: DateTimeImmutable @1698950671 {#2628 : 2023-11-02 19:44:31.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 0.17 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1698950671 {#2628 : 2023-11-02 19:44:31.0 +01:00 } "editedAt" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#2990 +createdAt: DateTimeImmutable @1698950671 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +editedAt: null } |
magazine_inline | App\Twig\Components\MagazineInlineComponent | 12.0 MiB | 0.20 ms | |
---|---|---|---|---|
Input props | [ "magazine" => Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\MagazineInlineComponent {#3055 +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +showTitle: true +fullName: false +stretchedLink: false +showAvatar: false } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 2.39 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#3118 +width: 40 +height: 40 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 12.0 MiB | 0.47 ms | |
---|---|---|---|---|
Input props | [ "subject" => Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } "showDownvote" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#3232 +subject: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +formDest: "post" +showDownvote: false -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
boost | App\Twig\Components\BoostComponent | 12.0 MiB | 1.24 ms | |
---|---|---|---|---|
Input props | [ "subject" => Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#3304 +formDest: "post" +subject: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
voters_inline | App\Twig\Components\VotersInlineComponent | 12.0 MiB | 8.09 ms | |
---|---|---|---|---|
Input props | [ "subject" => Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } "url" => "/m/linux@lemmy.ml/p/286/Run-command-as-not-root-Hi-everyone-At-work-I-have/votes?type=up" "data-post-target" => "voters" ] |
|||
Attributes | [ "data-post-target" => "voters" ] |
|||
Component | App\Twig\Components\VotersInlineComponent {#3606 +subject: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +url: "/m/linux@lemmy.ml/p/286/Run-command-as-not-root-Hi-everyone-At-work-I-have/votes?type=up" -twig: Twig\Environment {#1252 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -cacheService: App\Service\CacheService {#3605 …} } |
post_comment | App\Twig\Components\PostCommentComponent | 12.0 MiB | 16.76 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\PostComment {#1559 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559} ] -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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\PostCommentComponent {#3697 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …} +comment: App\Entity\PostComment {#1559 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559} ] -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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.0 +01:00 } } +dateAsUrl: true +showNested: false +withPost: false +level: 1 +canSeeTrash: false } |
user_inline | App\Twig\Components\UserInlineComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#3748 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.21 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#3804 +date: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.0 +01:00 } "editedAt" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#3858 +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.0 +01:00 } +editedAt: null } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#3912 +width: 40 +height: 40 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 12.0 MiB | 0.38 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\PostComment {#1559 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559} ] -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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.0 +01:00 } } "showDownvote" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#3981 +subject: App\Entity\PostComment {#1559 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559} ] -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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.0 +01:00 } } +formDest: "post_comment" +showDownvote: false -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
boost | App\Twig\Components\BoostComponent | 12.0 MiB | 0.69 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\PostComment {#1559 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559} ] -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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#4038 +formDest: "post_comment" +subject: App\Entity\PostComment {#1559 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559} ] -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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.0 +01:00 } } -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
voters_inline | App\Twig\Components\VotersInlineComponent | 12.0 MiB | 3.36 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\PostComment {#1559 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559} ] -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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.0 +01:00 } } "url" => "/m/linux@lemmy.ml/p/286/Run-command-as-not-root-Hi-everyone-At-work-I-have/reply/624/votes" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VotersInlineComponent {#4282 +subject: App\Entity\PostComment {#1559 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559} ] -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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.0 +01:00 } } +url: "/m/linux@lemmy.ml/p/286/Run-command-as-not-root-Hi-everyone-At-work-I-have/reply/624/votes" -twig: Twig\Environment {#1252 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -cacheService: App\Service\CacheService {#3605 …} } |
post_comment | App\Twig\Components\PostCommentComponent | 12.0 MiB | 21.55 ms | |
---|---|---|---|---|
Input props | [ "comment" => Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\PostCommentComponent {#4359 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …} +comment: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +dateAsUrl: true +showNested: false +withPost: false +level: 1 +canSeeTrash: false } |
user_inline | App\Twig\Components\UserInlineComponent | 12.0 MiB | 0.20 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#4404 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#4460 +date: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 0.10 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } "editedAt" => DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#4514 +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#4568 +width: 40 +height: 40 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 12.0 MiB | 0.31 ms | |
---|---|---|---|---|
Input props | [ "subject" => Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } "showDownvote" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#4637 +subject: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +formDest: "post_comment" +showDownvote: false -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
boost | App\Twig\Components\BoostComponent | 12.0 MiB | 2.69 ms | |
---|---|---|---|---|
Input props | [ "subject" => Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#4694 +formDest: "post_comment" +subject: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
voters_inline | App\Twig\Components\VotersInlineComponent | 12.0 MiB | 12.26 ms | |
---|---|---|---|---|
Input props | [ "subject" => Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } "url" => "/m/linux@lemmy.ml/p/286/Run-command-as-not-root-Hi-everyone-At-work-I-have/reply/625/votes" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VotersInlineComponent {#4935 +subject: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +url: "/m/linux@lemmy.ml/p/286/Run-command-as-not-root-Hi-everyone-At-work-I-have/reply/625/votes" -twig: Twig\Environment {#1252 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -cacheService: App\Service\CacheService {#3605 …} } |
post_comment | App\Twig\Components\PostCommentComponent | 12.0 MiB | 9.08 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\PostComment {#1582 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582} Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\PostCommentComponent {#5006 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …} +comment: App\Entity\PostComment {#1582 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582} Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } +dateAsUrl: true +showNested: false +withPost: false +level: 1 +canSeeTrash: false } |
user_inline | App\Twig\Components\UserInlineComponent | 12.0 MiB | 0.15 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#5051 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#5107 +date: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 0.09 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } "editedAt" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#5161 +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } +editedAt: null } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.15 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#5215 +width: 40 +height: 40 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 12.0 MiB | 0.31 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\PostComment {#1582 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582} Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } "showDownvote" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#5288 +subject: App\Entity\PostComment {#1582 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582} Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } +formDest: "post_comment" +showDownvote: false -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
boost | App\Twig\Components\BoostComponent | 12.0 MiB | 0.67 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\PostComment {#1582 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582} Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#5345 +formDest: "post_comment" +subject: App\Entity\PostComment {#1582 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582} Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
voters_inline | App\Twig\Components\VotersInlineComponent | 12.0 MiB | 3.48 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\PostComment {#1582 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582} Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } "url" => "/m/linux@lemmy.ml/p/286/Run-command-as-not-root-Hi-everyone-At-work-I-have/reply/630/votes" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VotersInlineComponent {#5586 +subject: App\Entity\PostComment {#1582 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } App\Entity\PostComment {#1582} Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } +url: "/m/linux@lemmy.ml/p/286/Run-command-as-not-root-Hi-everyone-At-work-I-have/reply/630/votes" -twig: Twig\Environment {#1252 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -cacheService: App\Service\CacheService {#3605 …} } |
post_comment | App\Twig\Components\PostCommentComponent | 12.0 MiB | 17.78 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\PostComment {#1465 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465} App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\PostCommentComponent {#5657 -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …} +comment: App\Entity\PostComment {#1465 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465} App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } +dateAsUrl: true +showNested: false +withPost: false +level: 1 +canSeeTrash: false } |
user_inline | App\Twig\Components\UserInlineComponent | 12.0 MiB | 0.15 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#5702 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#5758 +date: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 0.09 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } "editedAt" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#5812 +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } +editedAt: null } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#5866 +width: 40 +height: 40 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 12.0 MiB | 0.34 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\PostComment {#1465 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465} App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } "showDownvote" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#5939 +subject: App\Entity\PostComment {#1465 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465} App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } +formDest: "post_comment" +showDownvote: false -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
boost | App\Twig\Components\BoostComponent | 12.0 MiB | 0.68 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\PostComment {#1465 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465} App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#5996 +formDest: "post_comment" +subject: App\Entity\PostComment {#1465 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465} App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
voters_inline | App\Twig\Components\VotersInlineComponent | 12.0 MiB | 9.05 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\PostComment {#1465 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465} App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } "url" => "/m/linux@lemmy.ml/p/286/Run-command-as-not-root-Hi-everyone-At-work-I-have/reply/634/votes" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VotersInlineComponent {#6237 +subject: App\Entity\PostComment {#1465 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } +post: Proxies\__CG__\App\Entity\Post {#1451 +user: Proxies\__CG__\App\Entity\User {#2458 +avatar: Proxies\__CG__\App\Entity\Image {#2781 …} +cover: Proxies\__CG__\App\Entity\Image {#2780 …} +email: "nirogu@vivaldi.net" +username: "@nirogu@vivaldi.net" +roles: [] +followersCount: 0 +homepage: "front" +about: "Computer scientist and mathematician" +lastActive: DateTime @1699068917 {#2760 : 2023-11-04 04:35:17.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#2779 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#2786 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2782 …} +entries: Doctrine\ORM\PersistentCollection {#2785 …} +entryVotes: Doctrine\ORM\PersistentCollection {#2788 …} +entryComments: Doctrine\ORM\PersistentCollection {#2790 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#2792 …} +posts: Doctrine\ORM\PersistentCollection {#2794 …} +postVotes: Doctrine\ORM\PersistentCollection {#2796 …} +postComments: Doctrine\ORM\PersistentCollection {#2798 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#2800 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2802 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#2804 …} +follows: Doctrine\ORM\PersistentCollection {#2806 …} +followers: Doctrine\ORM\PersistentCollection {#2808 …} +blocks: Doctrine\ORM\PersistentCollection {#2810 …} +blockers: Doctrine\ORM\PersistentCollection {#2812 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#2814 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#2816 …} +reports: Doctrine\ORM\PersistentCollection {#2818 …} +favourites: Doctrine\ORM\PersistentCollection {#2820 …} +violations: Doctrine\ORM\PersistentCollection {#2822 …} +notifications: Doctrine\ORM\PersistentCollection {#2824 …} +awards: Doctrine\ORM\PersistentCollection {#2826 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#2828 …} +categories: Doctrine\ORM\PersistentCollection {#2830 …} -id: 70073 -password: "$2y$13$C1DT6S10TZZ./6K0EsRjZ.jhHPsEwGqMD5M4Wcn16606GKlv31Sa." -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#2832 …} +apId: "nirogu@vivaldi.net" +apProfileId: "https://social.vivaldi.net/users/nirogu" +apPublicUrl: "https://social.vivaldi.net/@nirogu" +apFollowersUrl: "https://social.vivaldi.net/users/nirogu/followers" +apInboxUrl: "https://social.vivaldi.net/inbox" +apDomain: "social.vivaldi.net" +apPreferredUsername: "nirogu" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1699068917 {#2761 : 2023-11-04 04:35:17.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698950674 {#2762 : 2023-11-02 19:44:34.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 +icon: Proxies\__CG__\App\Entity\Image {#2850 …} +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 {#2847 : 2024-10-22 09:52:22.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#2851 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#2853 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#2855 …} +entries: Doctrine\ORM\PersistentCollection {#2857 …} +posts: Doctrine\ORM\PersistentCollection {#2859 …} +subscriptions: Doctrine\ORM\PersistentCollection {#2861 …} +bans: Doctrine\ORM\PersistentCollection {#2867 …} +reports: Doctrine\ORM\PersistentCollection {#2875 …} +badges: Doctrine\ORM\PersistentCollection {#2888 …} +logs: Doctrine\ORM\PersistentCollection {#2898 …} +awards: Doctrine\ORM\PersistentCollection {#2880 …} +categories: Doctrine\ORM\PersistentCollection {#2904 …} -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 {#2848 : 2024-10-22 09:53:16.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1698929468 {#2849 : 2023-11-02 13:51:08.0 +01:00 } +__isInitialized__: true …2 } +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 {#2629 : 2023-11-04 04:37:14.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" ] +comments: Doctrine\ORM\PersistentCollection {#2630 …} +votes: Doctrine\ORM\PersistentCollection {#2639 …} +reports: Doctrine\ORM\PersistentCollection {#2641 …} +favourites: Doctrine\ORM\PersistentCollection {#2673 …} +notifications: Doctrine\ORM\PersistentCollection {#2669 …} +children: [ App\Entity\PostComment {#1465} App\Entity\PostComment {#1582 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1589 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: null +root: null +image: null +body: "Are you certain this isn’t a docker container you’ve logged into?" +lang: "en" +favouriteCount: 3 +score: 0 +lastActive: DateTime @1698974254 {#1571 : 2023-11-03 02:17:34.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1573 …} +nested: Doctrine\ORM\PersistentCollection {#1576 …} +votes: Doctrine\ORM\PersistentCollection {#1549 …} +reports: Doctrine\ORM\PersistentCollection {#1568 …} +favourites: Doctrine\ORM\PersistentCollection {#1528 …} +notifications: Doctrine\ORM\PersistentCollection {#1561 …} -id: 625 -bodyTs: "'certain':3 'contain':9 'docker':8 'isn':5 'log':12 've':11" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549368" +editedAt: DateTimeImmutable @1698974266 {#1424 : 2023-11-03 02:17:46.0 +01:00 } +createdAt: DateTimeImmutable @1698974254 {#1635 : 2023-11-03 02:17:34.0 +01:00 } +__isInitialized__: true …2 } +image: null +body: """ Well, the docker command wouldn’t exist inside of a container. You could use uname to check the system info.\n \n How is it you don’t know this information about a system you’ve connected to? """ +lang: "en" +favouriteCount: 7 +score: 0 +lastActive: DateTime @1698984927 {#1637 : 2023-11-03 05:15:27.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1592 …} +nested: Doctrine\ORM\PersistentCollection {#1578 …} +votes: Doctrine\ORM\PersistentCollection {#1577 …} +reports: Doctrine\ORM\PersistentCollection {#1579 …} +favourites: Doctrine\ORM\PersistentCollection {#1581 …} +notifications: Doctrine\ORM\PersistentCollection {#1572 …} -id: 630 -bodyTs: "'check':17 'command':4 'connect':35 'contain':11 'could':13 'docker':3 'exist':7 'info':20 'inform':29 'insid':8 'know':27 'system':19,32 'unam':15 'use':14 've':34 'well':1 'wouldn':5" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1552614" +editedAt: null +createdAt: DateTimeImmutable @1698984927 {#1644 : 2023-11-03 05:15:27.0 +01:00 } } Proxies\__CG__\App\Entity\PostComment {#1437 …2} App\Entity\PostComment {#1559 +user: App\Entity\User {#265} +post: Proxies\__CG__\App\Entity\Post {#1451 …2} +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1548 …} +root: Proxies\__CG__\App\Entity\PostComment {#1564 …} +image: null +body: "If everything on the machine is owned by root and does not provide global read or execute permissions then a new user would not be able to access it without being in the root group. Assuming the files have group permissions set at all anyways." +lang: "en" +favouriteCount: 2 +score: 0 +lastActive: DateTime @1698974215 {#1586 : 2023-11-03 02:16:55.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@astraeus@programming.dev" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1566 …} +nested: Doctrine\ORM\PersistentCollection {#1562 …} +votes: Doctrine\ORM\PersistentCollection {#1554 …} +reports: Doctrine\ORM\PersistentCollection {#1556 …} +favourites: Doctrine\ORM\PersistentCollection {#1555 …} +notifications: Doctrine\ORM\PersistentCollection {#1620 …} -id: 624 -bodyTs: "'abl':26 'access':28 'anyway':45 'assum':36 'everyth':2 'execut':17 'file':38 'global':14 'group':35,40 'machin':5 'new':21 'own':7 'permiss':18,41 'provid':13 'read':15 'root':9,34 'set':42 'user':22 'without':30 'would':23" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1549355" +editedAt: null +createdAt: DateTimeImmutable @1698974215 {#1587 : 2023-11-03 02:16:55.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 {#2628 : 2023-11-02 19:44:31.0 +01:00 } +__isInitialized__: true …2 } +magazine: Proxies\__CG__\App\Entity\Magazine {#1439 …2} +parent: Proxies\__CG__\App\Entity\PostComment {#1433 …} +root: Proxies\__CG__\App\Entity\PostComment {#1437 …2} +image: null +body: """ It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.\n \n If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up """ +lang: "en" +favouriteCount: 1 +score: 0 +lastActive: DateTime @1699031117 {#1756 : 2023-11-03 18:05:17.0 +01:00 } +ip: null +tags: null +mentions: [ "@linux@lemmy.ml" "@nirogu@vivaldi.net" "@ursakhiin@beehaw.org" ] +isAdult: false +updateMark: false +children: Doctrine\ORM\PersistentCollection {#1428 …} +nested: Doctrine\ORM\PersistentCollection {#1441 …} +votes: Doctrine\ORM\PersistentCollection {#1456 …} +reports: Doctrine\ORM\PersistentCollection {#1788 …} +favourites: Doctrine\ORM\PersistentCollection {#1656 …} +notifications: Doctrine\ORM\PersistentCollection {#1655 …} -id: 634 -bodyTs: "'also':49 'amazon':6 'base':53 'behavior':18 'contain':12,35,46 'creat':38 'describ':21 'docker':11,34 'environ':29 'extrem':23 'full':27 'imag':54 'instanc':7,40 'isn':42 'like':44,51 'linux':28 'might':55 'normal':31 'odd':24 'poor':57 'set':58 'sound':50" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://beehaw.org/comment/1556211" +editedAt: null +createdAt: DateTimeImmutable @1699031117 {#1634 : 2023-11-03 18:05:17.0 +01:00 } } +url: "/m/linux@lemmy.ml/p/286/Run-command-as-not-root-Hi-everyone-At-work-I-have/reply/634/votes" -twig: Twig\Environment {#1252 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -cacheService: App\Service\CacheService {#3605 …} } |
settings_row_enum | App\Twig\Components\SettingsRowEnumComponent | 12.0 MiB | 0.23 ms | |
---|---|---|---|---|
Input props | [ "label" => "Sidebar position" "settingsKey" => "KBIN_GENERAL_SIDEBAR_POSITION" "values" => [ [ "name" => "Left" "value" => "LEFT" ] [ "name" => "Right" "value" => "RIGHT" ] ] "defaultValue" => "RIGHT" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowEnumComponent {#6308 +label: "Sidebar position" +help: "" +settingsKey: "KBIN_GENERAL_SIDEBAR_POSITION" +values: [ [ "name" => "Left" "value" => "LEFT" ] [ "name" => "Right" "value" => "RIGHT" ] ] +defaultValue: "RIGHT" +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.24 ms | |
---|---|---|---|---|
Input props | [ "label" => "Dynamic lists" "settingsKey" => "KBIN_GENERAL_DYNAMIC_LISTS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#6418 +label: "Dynamic lists" +help: "" +settingsKey: "KBIN_GENERAL_DYNAMIC_LISTS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.15 ms | |
---|---|---|---|---|
Input props | [ "label" => "Rounded edges" "settingsKey" => "KBIN_GENERAL_ROUNDED_EDGES" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#6481 +label: "Rounded edges" +help: "" +settingsKey: "KBIN_GENERAL_ROUNDED_EDGES" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Infinite scrolling" "help" => "Automatically load more content when you reach the bottom of the page." "settingsKey" => "KBIN_GENERAL_INFINITE_SCROLL" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#6537 +label: "Infinite scrolling" +help: "Automatically load more content when you reach the bottom of the page." +settingsKey: "KBIN_GENERAL_INFINITE_SCROLL" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.19 ms | |
---|---|---|---|---|
Input props | [ "label" => "Sticky navbar" "help" => "The navbar will stick to the top of the page when you scroll down." "settingsKey" => "KBIN_GENERAL_FIXED_NAVBAR" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#6596 +label: "Sticky navbar" +help: "The navbar will stick to the top of the page when you scroll down." +settingsKey: "KBIN_GENERAL_FIXED_NAVBAR" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show top bar" "settingsKey" => "KBIN_GENERAL_TOPBAR" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#6652 +label: "Show top bar" +help: "" +settingsKey: "KBIN_GENERAL_TOPBAR" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "label" => "Turbo mode (experimental)" "settingsKey" => "KBIN_GENERAL_TURBO" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#6708 +label: "Turbo mode (experimental)" +help: "" +settingsKey: "KBIN_GENERAL_TURBO" +defaultValue: false +reloadRequired: true } |
user_settings_row_switch | App\Twig\Components\UserSettingsRowSwitchComponent | 12.0 MiB | 0.23 ms | |
---|---|---|---|---|
Input props | [ "label" => "Mark new comments" "settingsKey" => "KBIN_MARK_NEW_COMMENTS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserSettingsRowSwitchComponent {#6766 +label: "Mark new comments" +help: "" +settingsKey: "KBIN_MARK_NEW_COMMENTS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show "Support Us" block" "settingsKey" => "KBIN_GENERAL_SUPPORT_US_BLOCK" "defaultValue" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#6829 +label: "Show "Support Us" block" +help: "" +settingsKey: "KBIN_GENERAL_SUPPORT_US_BLOCK" +defaultValue: true +reloadRequired: true } |
user_settings_row_switch | App\Twig\Components\UserSettingsRowSwitchComponent | 12.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show subscribed users" "settingsKey" => "KBIN_SUB_CHANNEL_USERS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserSettingsRowSwitchComponent {#6887 +label: "Show subscribed users" +help: "" +settingsKey: "KBIN_SUB_CHANNEL_USERS" +defaultValue: false +reloadRequired: true } |
user_settings_row_switch | App\Twig\Components\UserSettingsRowSwitchComponent | 12.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show subscribed magazines" "settingsKey" => "KBIN_SUB_CHANNEL_MAGAZINES" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserSettingsRowSwitchComponent {#6943 +label: "Show subscribed magazines" +help: "" +settingsKey: "KBIN_SUB_CHANNEL_MAGAZINES" +defaultValue: false +reloadRequired: true } |
user_settings_row_switch | App\Twig\Components\UserSettingsRowSwitchComponent | 12.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show subscribed domains" "settingsKey" => "KBIN_SUB_CHANNEL_DOMAINS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserSettingsRowSwitchComponent {#6999 +label: "Show subscribed domains" +help: "" +settingsKey: "KBIN_SUB_CHANNEL_DOMAINS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "label" => "Auto media preview" "help" => "Automatically expand media previews." "settingsKey" => "KBIN_ENTRIES_SHOW_PREVIEW" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#7055 +label: "Auto media preview" +help: "Automatically expand media previews." +settingsKey: "KBIN_ENTRIES_SHOW_PREVIEW" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "label" => "Compact view" "settingsKey" => "KBIN_ENTRIES_COMPACT" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#7111 +label: "Compact view" +help: "" +settingsKey: "KBIN_ENTRIES_COMPACT" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show users’ avatars" "settingsKey" => "KBIN_ENTRIES_SHOW_USERS_AVATARS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#7167 +label: "Show users’ avatars" +help: "" +settingsKey: "KBIN_ENTRIES_SHOW_USERS_AVATARS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show magazines’ icons" "settingsKey" => "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#7223 +label: "Show magazines’ icons" +help: "" +settingsKey: "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 14.40 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show thumbnails" "settingsKey" => "KBIN_ENTRIES_SHOW_THUMBNAILS" "defaultValue" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#7279 +label: "Show thumbnails" +help: "" +settingsKey: "KBIN_ENTRIES_SHOW_THUMBNAILS" +defaultValue: true +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Auto media preview" "help" => "Automatically expand media previews." "settingsKey" => "KBIN_POSTS_SHOW_PREVIEW" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#3969 +label: "Auto media preview" +help: "Automatically expand media previews." +settingsKey: "KBIN_POSTS_SHOW_PREVIEW" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show users’ avatars" "settingsKey" => "KBIN_POSTS_SHOW_USERS_AVATARS" "defaultValue" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#3166 +label: "Show users’ avatars" +help: "" +settingsKey: "KBIN_POSTS_SHOW_USERS_AVATARS" +defaultValue: true +reloadRequired: true } |
settings_row_enum | App\Twig\Components\SettingsRowEnumComponent | 12.0 MiB | 0.17 ms | |
---|---|---|---|---|
Input props | [ "label" => "Comment reply position" "help" => "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top." "settingsKey" => "KBIN_COMMENTS_REPLY_POSITION" "values" => [ [ "name" => "top" "value" => "TOP" ] [ "name" => "bottom" "value" => "BOTTOM" ] ] "defaultValue" => "TOP" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowEnumComponent {#5440 +label: "Comment reply position" +help: "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top." +settingsKey: "KBIN_COMMENTS_REPLY_POSITION" +values: [ [ "name" => "top" "value" => "TOP" ] [ "name" => "bottom" "value" => "BOTTOM" ] ] +defaultValue: "TOP" +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.17 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show Comment Avatars" "help" => "Display/hide user avatars when viewing comments on a single thread or post." "settingsKey" => "KBIN_COMMENTS_SHOW_USER_AVATAR" "defaultValue" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#7257 +label: "Show Comment Avatars" +help: "Display/hide user avatars when viewing comments on a single thread or post." +settingsKey: "KBIN_COMMENTS_SHOW_USER_AVATAR" +defaultValue: true +reloadRequired: true } |
user_actions | App\Twig\Components\UserActionsComponent | 12.0 MiB | 0.44 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserActionsComponent {#7387 +user: App\Entity\User {#265 +avatar: null +cover: null +email: "ursakhiin@beehaw.org" +username: "@ursakhiin@beehaw.org" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729521894 {#273 : 2024-10-21 16:44:54.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#253 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#249 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#238 …} +entries: Doctrine\ORM\PersistentCollection {#196 …} +entryVotes: Doctrine\ORM\PersistentCollection {#168 …} +entryComments: Doctrine\ORM\PersistentCollection {#141 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#111 …} +posts: Doctrine\ORM\PersistentCollection {#84 …} +postVotes: Doctrine\ORM\PersistentCollection {#99 …} +postComments: Doctrine\ORM\PersistentCollection {#1863 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1479 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1658 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1868 …} +follows: Doctrine\ORM\PersistentCollection {#1917 …} +followers: Doctrine\ORM\PersistentCollection {#1601 …} +blocks: Doctrine\ORM\PersistentCollection {#1805 …} +blockers: Doctrine\ORM\PersistentCollection {#1810 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1857 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1860 …} +reports: Doctrine\ORM\PersistentCollection {#1791 …} +favourites: Doctrine\ORM\PersistentCollection {#2416 …} +violations: Doctrine\ORM\PersistentCollection {#1824 …} +notifications: Doctrine\ORM\PersistentCollection {#1914 …} +awards: Doctrine\ORM\PersistentCollection {#1929 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1867 …} +categories: Doctrine\ORM\PersistentCollection {#1880 …} -id: 52030 -password: "$2y$13$BSOFQ2HACCXkGfa2zJv89.eGAXptVUXrfqYR6jLG94VK9LmDcC37a" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1894 …} +apId: "ursakhiin@beehaw.org" +apProfileId: "https://beehaw.org/u/ursakhiin" +apPublicUrl: "https://beehaw.org/u/ursakhiin" +apFollowersUrl: null +apInboxUrl: "https://beehaw.org/inbox" +apDomain: "beehaw.org" +apPreferredUsername: "ursakhiin" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1708087383 {#274 : 2024-02-16 13:43:03.0 +01:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.18 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#7448 +date: DateTimeImmutable @1696616641 {#268 : 2023-10-06 20:24:01.0 +02:00 } } |
related_magazines | App\Twig\Components\RelatedMagazinesComponent | 12.0 MiB | 39.69 ms | |
---|---|---|---|---|
Input props | [ "magazine" => null "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedMagazinesComponent {#7535 +limit: 4 +tag: null +magazine: null +type: "random" +title: "random_magazines" +refreshedRandom: false -repository: App\Repository\MagazineRepository {#1370 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
active_users | App\Twig\Components\ActiveUsersComponent | 12.0 MiB | 19.20 ms | |
---|---|---|---|---|
Input props | [ "magazine" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\ActiveUsersComponent {#7600 +magazine: null -userRepository: App\Repository\UserRepository {#603 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
related_categories | App\Twig\Components\RelatedCategoriesComponent | 12.0 MiB | 5.72 ms | |
---|---|---|---|---|
Input props | [ "magazine" => null "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedCategoriesComponent {#7659 +limit: 4 +tag: null +magazine: null +type: "random" +title: "random_categories" +refreshedRandom: false -repository: App\Repository\CategoryRepository {#7660 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
related_posts | App\Twig\Components\RelatedPostsComponent | 12.0 MiB | 17.33 ms | |
---|---|---|---|---|
Input props | [ "magazine" => null "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedPostsComponent {#7731 +limit: 4 +tag: null +magazine: null +type: "random" +post: null +title: "random_posts" +refreshedRandom: false -repository: App\Repository\PostRepository {#7729 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -mentionManager: App\Service\MentionManager {#1504 …} } |
related_entries | App\Twig\Components\RelatedEntriesComponent | 12.0 MiB | 5.53 ms | |
---|---|---|---|---|
Input props | [ "magazine" => null "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedEntriesComponent {#7801 +limit: 4 +tag: null +magazine: null +type: "random" +entry: null +title: "random_entries" +refreshedRandom: false -repository: App\Repository\EntryRepository {#7800 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -mentionManager: App\Service\MentionManager {#1504 …} } |
support_us_block | App\Twig\Components\SupportUsBlock | 12.0 MiB | 0.28 ms | |
---|---|---|---|---|
Input props | [] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SupportUsBlock {#7870 +subject: ? App\Entity\Contracts\VotableInterface +url: ? string -twig: Twig\Environment {#1252 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -partnerBlockRepository: App\Repository\PartnerBlockRepository {#7871 …} } |
featured_magazines | App\Twig\Components\FeaturedMagazinesComponent | 12.0 MiB | 13.22 ms | |
---|---|---|---|---|
Input props | [ "magazine" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\FeaturedMagazinesComponent {#7963 +magazine: null -twig: Twig\Environment {#1252 …} -repository: App\Repository\MagazineRepository {#1370 …} } |