並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 40 件 / 46件

新着順 人気順

sudoの検索結果1 - 40 件 / 46件

 sudo46 linux  security      sudo su   
  • sudo su とかしてる人はだいたいおっさん


    sudo su  sudo -s  sudo su -  sudo -i  sudo su -  su  super user  switch user  substitute user   root    ~% su Password: (root) root@hostname:/home/tmtms# id uid=0(root) gid=0(r
      sudo su とかしてる人はだいたいおっさん
    • sudo新一

      sudo新一.md オレは高校生シェル芸人 sudo 新一。幼馴染で同級生の more 利蘭と遊園地に遊びに行って、黒ずくめの男の怪しげな rm -rf / 現場を目撃した。端末をみるのに夢中になっていた俺は、背後から近づいてきたもう1人の --no-preserve-root オプションに気づかなかった。 俺はその男に毒薬を飲まされ、目が覚めたら・・・ OS のプリインストールから除かれてしまっていた! 『 sudo がまだ $PATH に残っていると奴らにバレたら、また命を狙われ、他のコマンドにも危害が及ぶ』 上田博士の助言で正体を隠すことにした俺は、 which に名前を聞かれて、とっさに『gnuplot』と名乗り、奴らの情報をつかむために、父親がシェル芸人をやっている蘭の $HOME に転がり込んだ。ところが、このおっちゃん・・・とんだヘボシェル芸人で、見かねた俺はおっちゃんになり

        sudo新一
      • systemd serviceから呼ぶシェルではsudoではなくsetprivを使う - 赤帽エンジニアブログ

        Red Hatの森若です。 自分でsystemdのservice unitを作るときに、起動用のいくつかのコマンドを記述したシェルスクリプトを呼ぶ事は(理想的ではないですが)あるかと思います。 今回はこの場合に、sudoを利用するとまずい理由を説明して、かわりにsetprivを使うほうがよいという話です。 例題用のservice 実行してみる 別のcgroupだと何がまずいのか? 対策はsetprivコマンド 例題用のservice sudoによるまずい動作を確認するためのできるだけ単純な例として、hoge.service を用意します。 /opt/hoge/hoge.sh #!/bin/bash sudo -u moriwaka sleep 5000 /etc/systemd/system/hoge.service [Unit] Description=hoge [Service] Ty

          systemd serviceから呼ぶシェルではsudoではなくsetprivを使う - 赤帽エンジニアブログ
        • sudoの脆弱性情報(Important: CVE-2021-3156 : Baron Samedit) - SIOS SECURITY BLOG


          OSS使 SELinux/Capability/AntiVirus/SCAP/SIEM/Threat Intelligence OSS01/27/2021sudo(Important: CVE-2021-3156 : Baron Samedit) 01/27/2021 10:30Amazon LinuxALSA-2021-1478) 01/27/2021 14:30O
            sudoの脆弱性情報(Important: CVE-2021-3156 : Baron Samedit) - SIOS SECURITY BLOG
          • MacのTerminalでsudo実行時にタッチIDを使用する方法 | DevelopersIO


            CX MacID便Terminalsudo使 使 /etc/pam.d/sudoauth sufficient pam_tid.so  #  $ sudo chmod +w /etc/pam.d/sudo $ sudo vi /etc/pam.d/sudo  # sudo: auth account password session auth sufficient pam_smartcard.so auth required pam_ope
              MacのTerminalでsudo実行時にタッチIDを使用する方法 | DevelopersIO
            • Big Sky :: sudo の特権昇格バグはなぜ起こったのか


              « Microsoft Word  Markdown docx2md | Main | VimConf 2019  » Linux  sudo  root  LinuxsudorootID - Engadget  sudoID-142949672950()0()rootIDroot https://japanese.engadget.com/2019/10/14/linux-sudo-root-id/  Ubuntu 
                Big Sky :: sudo の特権昇格バグはなぜ起こったのか
              • Engadget | Technology News & Reviews

                Parrots in captivity seem to enjoy video-chatting with their friends on Messenger

                  Engadget | Technology News & Reviews
                • sudoとsuがRustで書き直される。メモリ安全性向上へ

                    sudoとsuがRustで書き直される。メモリ安全性向上へ
                  • 開発で使ってる便利ツール - 書いたもの


                     CAMPHOR- Advent Calendar 2020 2322   () CAMPHOR- Advent Calendar 20147 便使 macOS 使 macOS  Alfred     Slack 
                      開発で使ってる便利ツール - 書いたもの
                    • chmod -R 777 /usr を実行したCentOS7で、一般ユーザがroot権限を得られることを確認する - Qiita


                      chmod -R 777 /usr CentOS7rootLinuxSecurityrootpermission Teratailsuroot/etc/pam.d/su /usr/share/nginx/html  chmod 777 -R /usr  CentOS7suroot /usr 777
                        chmod -R 777 /usr を実行したCentOS7で、一般ユーザがroot権限を得られることを確認する - Qiita
                      • Windowsでもようやく利用できるようになった「Sudo」コマンドを早速体験/Linuxの「Sudo」とは似て非なるものだが快適。セキュリティレベルの低下には注意【やじうまの杜】

                          Windowsでもようやく利用できるようになった「Sudo」コマンドを早速体験/Linuxの「Sudo」とは似て非なるものだが快適。セキュリティレベルの低下には注意【やじうまの杜】
                        • macOSのTouchIDを使用して、sudoを認証する


                          Digitaino ITTouchID使(LocalAuthentication) TouchIDMac使sudo  /etc/pam.d/sudo  auth sufficient pam_tid.so pam_smartcard.so(picoCtrl+O) # sudo: auth account password session auth sufficient pam_smartcard.so auth sufficient pam_tid.so auth required pam_opendirectory.so account
                            macOSのTouchIDを使用して、sudoを認証する
                          • sudo がアレなので doas に乗り替えてみる - Qiita

                            最初にまとめ 長くなってしまったのでまとめを最初に。 sudoを使うのをやめdoasに乗り替えた doasには必要十分な機能があり、sudoに比べ設定がシンプル doasは元々がOpenBSDプロジェクトのものであり、セキュリティ面でも信頼できる FreeBSDではpkgでインストール Linuxではソースからインストール (記事ではDebian/Ubuntu, CentOSでの例を紹介) doasのソース規模はsudoのそれに比べかなり小さい 最近manやmakeを知らない人が居るという事実を見かけるので、その辺りの利用例も含めて少々回りくどく記述しています。 本記事はSoftware Design誌 2020年1月号 に掲載された「sudoからdoasへ」の内容とほぼ同じもの、というより元の原稿そのものです。ネタを明かすと、元々Qiitaで公開するつもりで書いたのですが、書きすぎてボリ

                              sudo がアレなので doas に乗り替えてみる - Qiita
                            • Windows 11に「Sudo」コマンドを追加へ ~Linuxスタイルでコマンドの権限昇格が可能に

                                Windows 11に「Sudo」コマンドを追加へ ~Linuxスタイルでコマンドの権限昇格が可能に
                              • Microsoft、Windows 11に「sudo」コマンドの追加を準備中か

                                Windows Latestの2024年2月1日の記事「First look: Windows 11 is getting native macOS or Linux-like Sudo command」によると、MicrosoftがWindows 11にネイティブの「sudo」コマンドの追加を準備しているようだ。誤って一時的にWindows Updateサーバーに公開されたWindows Serverのプレビュービルドから明らかになったという。 sudoコマンドとは sudoコマンドは、指定したコマンドを管理者権限で実行するためのもの。sudoコマンドを使用すれば、システムの更新やシステムファイルの編集、システム設定の変更など、管理者権限が必要となる操作を、管理者ユーザーに切り替えることなく実行できる。LinuxやmacOSなどのUNIXベースのOSを使っているユーザーにはなじみのあるコ

                                  Microsoft、Windows 11に「sudo」コマンドの追加を準備中か
                                • 【Ubuntu日和】 【第40回】Linux管理の必須スキル!root権限とCLIのテキストエディタについて知る

                                    【Ubuntu日和】 【第40回】Linux管理の必須スキル!root権限とCLIのテキストエディタについて知る
                                  • Sudo Flaw Lets Linux Users Run Commands As Root Even When They're Restricted

                                    Attention Linux Users! A new vulnerability has been discovered in Sudo—one of the most important, powerful, and commonly used utilities that comes as a core command installed on almost every UNIX and Linux-based operating system. The vulnerability in question is a sudo security policy bypass issue that could allow a malicious user or a program to execute arbitrary commands as root on a targeted Li

                                      Sudo Flaw Lets Linux Users Run Commands As Root Even When They're Restricted
                                    • 「sudo」コマンドに特権昇格の脆弱性、各ディストリビューションの対応一覧

                                      ユーザーが別のユーザーの権限を利用してプログラムを実行できるコマンド「sudo」に、パスワードなしで特権の獲得を許す脆弱性が見つかりました。この脆弱性は2011年7月から存在しており、各Linuxディストリビューションは修正対応を発表しています。 CVE-2021-3156: Heap-Based Buffer Overflow in Sudo (Baron Samedit) | Qualys Security Blog https://blog.qualys.com/vulnerabilities-research/2021/01/26/cve-2021-3156-heap-based-buffer-overflow-in-sudo-baron-samedit Buffer overflow in command line unescaping https://www.sudo.ws/a

                                        「sudo」コマンドに特権昇格の脆弱性、各ディストリビューションの対応一覧
                                      • 大いなる力には大いなる責任が伴う〜sudoの設定を求めて〜 - Qiita


                                         3: #1)  #2)  #3)  sudo   (^)(^)  gonsuke777 (@ora_gonsuke777) April 26, 2021   sudo使   
                                          大いなる力には大いなる責任が伴う〜sudoの設定を求めて〜 - Qiita
                                        • sudoの脆弱性(CVE-2021-3156)に関する注意喚起

                                          JPCERT-AT-2021-0005 JPCERT/CC 2021-01-27(新規) 2021-01-28(更新) I. 概要2021年1月26日(現地時間)、sudoにおけるヒープベースのバッファオーバーフローの脆弱性(CVE-2021-3156)に関する情報が公開されました。sudoersファイル(通常は/etc/sudoers配下)が存在する場合に、脆弱性を悪用することにより、ローカルユーザがrootに権限昇格する可能性があります。 Sudo Buffer overflow in command line unescaping https://www.sudo.ws/alerts/unescape_overflow.html なお、本脆弱性を発見したQualys社より、脆弱性の技術的な解説や脆弱性を実証する動画が公開されています。今後、脆弱性を悪用する実証コードなどが公開され、攻

                                            sudoの脆弱性(CVE-2021-3156)に関する注意喚起
                                          • Linuxの実行環境のisolationをもうちょっとちゃんとする今年は - w_o’s diary


                                            pipsetup.pyid_rsafirefoxprofile https://pytorch.org/blog/compromised-nightly-dependency/ 使 UID firefoxMFA isolation firefox UID  UID 
                                              Linuxの実行環境のisolationをもうちょっとちゃんとする今年は - w_o’s diary
                                            • Touch ID搭載Magic KeyboardのTouch IDを利用してApple Silicon搭載のMacで「sudo」を実行する。


                                              Touch IDMagic KeyboardTouch IDApple SiliconMacsudo Apple202104Apple M14.5K RetinaiMac (24-inch, M1, 2021)iMacApple()Touch IDTouch IDMagic Keyboard/() 202108Touch IDMagic Keyboard15,800(18,800)Touch IDMagic KeyboardMacBook Air/ProTouch ID
                                                Touch ID搭載Magic KeyboardのTouch IDを利用してApple Silicon搭載のMacで「sudo」を実行する。
                                              • sudo に環境変数の検証不備に起因する権限昇格が可能となる脆弱性(Scan Tech Report) | ScanNetSecurity

                                                  sudo に環境変数の検証不備に起因する権限昇格が可能となる脆弱性(Scan Tech Report) | ScanNetSecurity
                                                • Quick Tip: Enable Touch ID for sudo

                                                  Support this Site Become a Six Colors member to read exclusive posts, get our weekly podcast, join our community, and more! By Dan Moren November 19, 2020 6:35 AM PT Last updated August 18, 2023 Update: As of macOS Sonoma, there’s a new and improved method for enabling this feature that’s designed to survive a system update. My new MacBook Air is proving to be all that I’d hoped, and it’s not just

                                                    Quick Tip: Enable Touch ID for sudo
                                                  • 2020年2月6日 sudo、10年来のバッファオーバーフロー脆弱性を修正 | gihyo.jp

                                                    sudoのメイン開発者であるTodd Millerは2月5日、pwfeedbackオプションが有効な場合にバッファオーバーフローを引き起こす可能性のあるバグが2009年のバージョン1.7.1より存在しており、1月31日にリリースした「sudo 1.8.31」においてその修正を含むアップデートを行ったことを明らかにした。 Buffer overflow when pwfeedback is set in sudoers この脆弱性は「CVE-2019-18634」として2019年10月にAppleのJoe Vennixにより最初に報告され、以後、追跡が行われてきた。Millerによれば、sudo 1.7.1からsudo 1.8.30までのバージョンがこの脆弱性の影響を受け、とくにsudo 1.26以前のバージョンを使っている場合は注意が必要だが、pwfeedbackオプションを有効にしていな

                                                      2020年2月6日 sudo、10年来のバッファオーバーフロー脆弱性を修正 | gihyo.jp
                                                    • 「Linux」でのユーザー管理のために知っておくべきコマンド6選

                                                      Jack Wallen (Special to ZDNET.com) 翻訳校正: 編集部 2024-04-04 07:45 「Linux」はマルチユーザーOSである。つまり、すべての優れたOSと同様、1台のマシン上で複数のユーザーアカウントを使用することができる。複数のユーザーを同時にログインさせることも可能だ。 1人のユーザーがマシンに直接ログインして、別のユーザーがリモートのデスクトップ経由でログインし、さらに別のユーザーが「Secure Shell」経由でログインする、といったことも可能である。制限は、デスクトップに直接ログインできるのが1ユーザーのみであることと、リモートでログインするユーザーの数(特に、それらのユーザーがリモートデスクトップ表示用のアプリを使用してデスクトップを表示している場合)がシステムリソースに大きく影響されることだけだ。 あるいは、自分しか使用しないデスクト

                                                        「Linux」でのユーザー管理のために知っておくべきコマンド6選
                                                      • Potential bypass of Runas user restrictions (October 14, 2019) - Sudo

                                                        Exploiting the bug requires that the user have sudo privileges that allow them to run commands with an arbitrary user ID. Typically, this means that the user’s sudoers entry has the special value ALL in the Runas specifier. Sudo supports running a command with a user-specified user name or user ID, if permitted by the sudoers policy. For example, the following sudoers entry allow the id command to

                                                        • CVE-Exploits/CVE-2021-3156 at master · lockedbyte/CVE-Exploits

                                                          This PoC is an exploit for the CVE-2021-3156 sudo vulnerability that affects most linux systems due to a heap-based buffer overflow when ending an argument with a backslash character. ATTENTION: This is just a Proof of Concept, not a full reliable exploit, so this might only work on very specific versions of both Ubuntu and sudo For a reliable exploit, an exploit compatible with multiple version s

                                                            CVE-Exploits/CVE-2021-3156 at master · lockedbyte/CVE-Exploits
                                                          • GitHub - biscuitehh/pam-watchid: PAM plugin module that allows the Apple Watch to be used for authentication

                                                            You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                              GitHub - biscuitehh/pam-watchid: PAM plugin module that allows the Apple Watch to be used for authentication
                                                            • GitHub - gerardog/gsudo: Sudo for Windows

                                                              gsudo is a sudo equivalent for Windows, with a similar user-experience as the original Unix/Linux sudo. Allows you to run a command (or re-launch your current shell) with elevated permissions, in the current console window or a new one. Just prepend gsudo (or the sudo alias) to your command and it will run elevated. For PowerShell use this syntax: gsudo { ScriptBlock } One UAC popup will appear ea

                                                                GitHub - gerardog/gsudo: Sudo for Windows
                                                              • RHSB-2021-002 Privilege escalation via command line argument parsing - sudo - (CVE-2021-3156) | Red Hat Customer Portal

                                                                0 Get notified when this content is updated. Follow Please wait...

                                                                  RHSB-2021-002 Privilege escalation via command line argument parsing - sudo - (CVE-2021-3156) | Red Hat Customer Portal
                                                                • sudoするたびに可愛い女の子に罵られたい!! - Qiita

                                                                  どうも、おのかちおです。 突然ですが、これを読んでいるそこのあなたは、sudoコマンドを使用した経験はありますか。聞くまでもなく、経験があるかと思います。 そんな皆様なら、sudoをしているときに、よくこう思ったりしませんか? プロンプトが‥ 味気ない‥ 寂しい…!! そうだ、可愛い女の子に罵ってもらおう!!!!!!!!!!! sudoのmanページを読む こういうときはですね、大体相場は決まっていて、manページ読めば良いんですよ‥ ふむふむ… あった!!!!!! 環境変数を指定する zshrc/zprofileに以下を追記します

                                                                    sudoするたびに可愛い女の子に罵られたい!! - Qiita
                                                                  • ログインできないユーザでコマンドを実行する方法+おまけ - Qiita


                                                                     apachetomcat 稿 user 使  Amazon EC2 Cent OS 7 Cent OS/sbin/nologin OSOS   tomcat
                                                                      ログインできないユーザでコマンドを実行する方法+おまけ - Qiita
                                                                    • The First Stable Release of a Memory Safe sudo Implementation

                                                                      The First Stable Release of a Memory Safe sudo Implementation Prossimo is pleased to announce the first stable release of sudo-rs, our Rust rewrite of the critical sudo utility. The sudo utility is one of the most common ways for engineers to cross the privacy boundary between user and administrative accounts in the ubiquitous Linux operating system. As such, its security is of the utmost importan

                                                                        The First Stable Release of a Memory Safe sudo Implementation
                                                                      • Big Sky :: zsh で PATH に相対パスを含んだ場合にコマンドが補完できないのは意図的かどうか。

                                                                        vim-jp の Slack で「zsh の PATH 環境変数に相対パスを含んでいる場合、補完ができないけど意図的か」という話題が出たので調べてみた。 補完できない様にしているのはこの変更 39104: do not hash relative paths in findcmd() · zsh-users/zsh@b312abc https://github.com/zsh-users/zsh/commit/b312abc93b3b8eae8feb4a9884b22f519a137c7f 結構古い変更。この変更が行われた理由を追ってみた所、メーリングリストでこの会話が見つかった。 Running 'type' causes false positive hashed command completion Zsh Mailing List Archive Messages sorted b

                                                                          Big Sky :: zsh で PATH に相対パスを含んだ場合にコマンドが補完できないのは意図的かどうか。
                                                                        • 【Ansible入門】EC2環境でAnsibleを実行してみよう - サーバーワークスエンジニアブログ


                                                                          CI  n    Infrastructure as Code(Iac) IaCAnsible  2019/10/24    AWSAnsible Ansible   使Ansible
                                                                            【Ansible入門】EC2環境でAnsibleを実行してみよう - サーバーワークスエンジニアブログ
                                                                          • Introducing Sudo for Windows!

                                                                            Introducing Sudo for Windows We’re excited to announce the release of Sudo for Windows in Windows 11 Insider Preview Build 26052! Sudo for Windows is a new way for users to run elevated commands directly from an unelevated console session. It is an ergonomic and familiar solution for users who want to elevate a command without having to first open a new elevated console. We are also excited to ann

                                                                              Introducing Sudo for Windows!
                                                                            • sudo新一

                                                                              You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                                sudo新一
                                                                              • GitHub - microsoft/sudo: It's sudo, for Windows

                                                                                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                                  GitHub - microsoft/sudo: It's sudo, for Windows
                                                                                • sudo -i と sudo su- のどちらを使うべきか?


                                                                                  sudo -i 使 sudo su  使 sudo -i 使  sudo -i 使 sudosu root使sudo su  rootsu  1. sudo -i i sudo  sudo su sudo su
                                                                                    sudo -i と sudo su- のどちらを使うべきか?

                                                                                  新着記事