おおさとです。
> From: SHIBATA Akira <shibata@xxxxxxxxxxxxxx>
> Subject: [linux-users:100697] Re: [Summary] <Q> How to execute a script asanother user ?
> Date: Tue, 16 Sep 2003 13:32:28 +0900
> で、見てみると…ん〜なんか期待とは違う
> 動きをしてるみたいですね。
>
> shibata@pop:~$ sudo -u murooka /bin/sh -c 'echo $HOME'
> /home/shibata
/etc/sudoers で
Defaults !set_logname
とやっているとしたら、それはそれで正常ですが。
--
kazz@xxxxxxxxxxxxxx / 大里和朗
Follow-Ups: References:
- [linux-users:100696] Re: [Summary] <Q> How to execute a script asanother user ?Takeshi Kusune / 楠根 雄志
- [linux-users:100697] Re: [Summary] <Q> How to execute a script asanother user ?SHIBATA Akira
- Prev by Subject: [linux-users:100698] Re: [Summary] <Q> How to execute a script asanother user ?
- Next by Subject: [linux-users:100700] Re: [Summary] <Q> How to execute a script asanother user ?
- Previous by thread: [linux-users:100702] Re: [Summary] <Q> How to execute a scriptasanother user ?
- Next by thread: [linux-users:100700] Re: [Summary] <Q> How to execute a script asanother user ?
- Indexes:[Main][Thread]