[tomoyo-users 375] Re: Cent OS 5.1 での操作がうまく行きませんでした。

Back to archive index

nqk14****@nifty***** nqk14****@nifty*****
2008年 3月 3日 (月) 15:55:28 JST


Tetsuo Handa <from-****@i-lov*****>さん:
Seijunです。有り難うございます。
> では、 editpolicy を実行して、
> <kernel> /sbin/mingetty /bin/login /bin/bash ドメインへとカーソルを移
動させてから Enter を押し、
> 1 /bin/ls という行にカーソルを移動させてから D → Y の順で押すことで「 
/bin/ls の実行許可」を削除できます。
> その後 Enter を押すと最初の画面に戻りますので、
> <kernel> /sbin/mingetty /bin/login /bin/bash /bin/ls ドメインへとカー
ソルを移動させてから
> D → Y の順で押すことで「 /bin/ls のためのドメイン」を削除できます。
> 
> その後、 setprofile -r 3 '<kernel> /sbin/mingetty' を実行すれば
> /bin/ls を実行できないようになっているはずです。
ご指摘の通り操作しましたら、lsコマンドを実行できなくなりました。

なお、setprofile -r 3 '<kernel> /sbin/mingetty'のコマンドを実行後、試し
にsavepolicyコマンドを実行しましたら、操作そのものは実行が拒否されたよう
ですが、domain_policy.その操作時?の日付時刻.confファイルなどは作成され
ていました。これはどうなんでしょうか。




tomoyo-users メーリングリストの案内
Back to archive index