ref:ã¦ãã¦ã©ã Unoh Labs: å°ç¨ãµã¼ããæ§ç¯ããã¨ãã«ã¾ãè¡ãï¼ã¤ã®è¨å® ãã /etc/sudoers ã®ç·¨éã«ã¯ visudo ã使ãã¾ããããææ³ãã§ãã¯ããã¦ããã /etc/shadow ã®ç·¨éã«ã¯ sudo vipw -s ã¨ãã¾ããããã¾ãã¤ã³ã¹ãã¼ã«ç´å¾ã ã¨åé¡ãªãã ãããã© su ãç¦æ¢ããã®ã¯ãããã©ããã®è¨å®ã 㨠sudo -u user -s ã¨ããsudo sh -c su ã¨ãã£ã¦ãã¾ãã°ééã§ãã¦ãã¾ããã¾ããsu ãç¦æ¢ãããã¨ã§é¡ä¼¼ããè¡çºããããªãã¨ããã¡ãã»ã¼ã¸ã«ã¯ãªãã®ã§ãã¾ã£ããã®ç¡æå³ã ã¨ã¯è¨ããªãããsudo ã§å®è¡ããã³ãã³ãã¯ãã°ã«æ®ãã ã¤ãããå端ã«ä¸é¨ã®ã¦ã¼ã¶ã« su åºæ¥ãããã«ããã®ã¯å¤ã§ãªãããï¼postgres ã®æ¨©éã§å®è¡ããããªã % sudo -u postgress commandsã§ååãroot ã¨
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}