ayas-1% sudo /usr/sbin/isi_mpa_check -- /usr/bin/isi services sshd enable isi: Service 'sshd' is already enabled. ayas-1% sudo /usr/sbin/isi_mpa_check -- /usr/bin/isi services -a isi_papi_d Service 'isi_papi_d' is enabled
(isi servicesでサービスを指定しないとエラー) ayas-1% sudo /usr/sbin/isi_mpa_check -- /usr/bin/isi services Password: Sorry, user compadmin is not allowed to execute '/usr/sbin/isi_mpa_check -- /usr/bin/isi services' as root on ayas-1.
PowerScale OneFS 9.12.0.0 Web Administration Guide Page336 When you are logged in to a SmartLock compliance mode cluster through the compliance administrator account, you can perform administrative tasks through the sudo command.
Page97 When you are logged in to a SmartLock compliance mode cluster through the compliance administrator account, you can perform administrative tasks through the sudo command. Using the sudo command provides an audit trail by logging all command activity to /var/log/auth.log.
Page97 Since RLM disables the root account, do not use the root account to apply or disable RLM. Instead, use any nonroot account with the ISI_PRIV_HARDENING privilege
Page 98 Instead of providing the root account to administrators, you can elevate their privileges so that they can run selected root-level commands using sudo. Using the sudo command also provides an audit trail by logging all command activity to /var/log/ auth.log.
NOTE: This procedure is not intended for use on clusters that are in SmartLock compliance mode. In SmartLock compliance mode, the compadmin account exists with the correct sudo infrastructure.
OneFS9.12のシミュレーターで、RLM/MPA有効状態でcompadminユーザで"sudo isi services"を実行すると以下のようなエラーとなります。 --- pscale912-1% sudo isi services Password: Sorry, user compadmin is not allowed to execute '/usr/bin/isi services' as root on pscale912-1. pscale912-1%
pscale912-1% sudo isi_mpa_check isi services Password: Sorry, user compadmin is not allowed to execute '/usr/sbin/isi_mpa_check isi services' as root on pscale912-1. pscale912-1%
ayas
Community Manager
•
7537 投稿
•
68231 ポイント
1
0
投稿済み 2025年12月5日 08:32
Naoitoさん
もう一度確認してみました。
compadminのsudo -lの表記通りに/usr/sbin/isi_mpa_check -- /usr/bin/isi services でコマンド発行してみました。
ayas-1% sudo /usr/sbin/isi_mpa_check -- /usr/bin/isi services sshd enable
isi: Service 'sshd' is already enabled.
ayas-1% sudo /usr/sbin/isi_mpa_check -- /usr/bin/isi services -a isi_papi_d
Service 'isi_papi_d' is enabled
(isi servicesでサービスを指定しないとエラー)
ayas-1% sudo /usr/sbin/isi_mpa_check -- /usr/bin/isi services
Password:
Sorry, user compadmin is not allowed to execute '/usr/sbin/isi_mpa_check -- /usr/bin/isi services' as root on ayas-1.
Naoitoさんの環境だとどうでしょうか。