[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:19273] Re: runlevel4¤À¤È root¸¢¸Â¤Ç¤ÎX¥¢¥×¥ê¤¬µ¯Æ°¤·¤Ê¤¤



¾¾ËÜ@ʼ¸Ë¸©¤Ç¤¹¡£

_Message-Id: <20030610.161755.971157647.z1980163@zenrin.co.jp>
_From: Shun-ichi TAHARA (Åĸ¶ ½Ó°ì) <jado@flowernet.gr.jp>

> º£¤Þ¤ÇÆäËÌäÂê¤Ê¤¯»È¤¨¤Æ¤¿¸ý¤Ç¤¹ > X over su root
> ¤Ç¡¢¤Ê¤ó¤Ç¤ß¤ó¤Ê»È¤¨¤Ê¤¤¤ó¤À¤í¤¦¡¢¤È»×¤Ã¤Æ¤¿¤Î¤Ç¤¹¤¬¡¢

  ¤Ò¤ç¤Ã¤È¤·¤¿¤é¼«Ê¬¤Î»È¤¤Êý¤¬ÊѤʤΤ«¤È»×¤¤¤Ä¤Ä

>  $ su
>  # ethereal &

  ¤¢¤Þ¤ê¿¼¤¯¹Í¤¨¤Ê¤¯¤ÆÎɤ«¤Ã¤¿¤È¸À¤¦»ö¤«¡©
  ¤¿¤À¡¢su - ¤À¤È¡¢/sbin, /usr/sbin ¤¬PATH¤ËºÇ½é¤«¤éÆþ¤Ã¤Æ¤¤¤Æ
´ò¤·¤¤¤È¤«¤¢¤ë¤±¤É¡¢¤Ç¤â .bashrc ¤È¤«½ñ¤­Ä¾¤»¤ÐÎɤ¤¤ï¤±¤À¤·¡Ä

su ¤Ç°ú¤­·Ñ¤¬¤ì¤ë´Ä¶­ÊÑ¿ô¤Î¤¦¤Á¡¢º£²ó¤Î·ï¤Ë´Ø·¸¤¢¤ë¤Ï 
DISPLAY, XAUTHORITY ¤Ê¤Î¤Ç¡¢

$ su -
# export DISPLAY=:0.0
# export XAUTHORITY=~matsu/.Xauthority

¤È¤¹¤ë¼ê¤â¤¢¤ê¤Þ¤¹¡£ÌÌÅݽ­¤¤¤À¤±¤Ç¤¹¤Í¡£
¤Á¤Ê¤ß¤Ë¡¢"~matsu" ¤Ï¡¢xdm ¤Ç matsu ¤È¤¤¤¦¥æ¡¼¥¶¡¼¤Çlogin¤·¤¿
¾ì¹ç¤ÎÏäǡ¢Å¬µ¹½¤Àµ¤·¤Æ²¼¤µ¤¤¡£
  root ¤Ë¤Ê¤ë¾ì¹ç¤Ï¤³¤ì¤ÇÎɤ¤¤Î¤Ç¤¹¤¬¡¢Â¾¤Î¥æ¡¼¥¶¡¼¤Ë su ¤¹¤ë
»þ¤ÏÄÌÍѤ·¤Þ¤»¤ó¡£~/.Xauthority ¤Î¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤Ï -rw------ 
¤À¤«¤é¤Ç¤¹¡£

-- 
¾¾ËÜ ÆÁ¿¿
Norimasa Matsumoto
E-mail: matsu@netfort.gr.jp

Follow-Ups
[plamo:19274] Re: runlevel4¤À¤È root¸¢¸Â¤Ç¤ÎX¥¢¥×¥ê¤¬µ¯Æ°¤·¤Ê¤¤, Shun-ichi TAHARA (Åĸ¶ ½Ó°ì)
References
[plamo:19262] Re: runlevel4¤À¤È root¸¢¸Â¤Ç¤ÎX¥¢¥×¥ê¤¬µ¯Æ°¤·¤Ê¤¤, KATOU Takayuki
[plamo:19266] Re: runlevel4¤À¤È root¸¢¸Â¤Ç¤ÎX¥¢¥×¥ê¤¬µ¯Æ°¤·¤Ê¤¤, Norimasa Matsumoto
[plamo:19267] Re: runlevel4¤À¤È root¸¢¸Â¤Ç¤ÎX¥¢¥×¥ê¤¬µ¯Æ°¤·¤Ê¤¤, Shun-ichi TAHARA (Åĸ¶ ½Ó°ì)

[¸¡º÷¥Ú¡¼¥¸] [¥á¡¼¥ë°ìÍ÷]
Plamo ML ¸ø³«¥·¥¹¥Æ¥à