Tru64 Unix
1753868 會員
7140 線上
108809 解決方案
發表新文章

collgui可以開放給一般user操作嗎?

 
watermelonyu
教授

collgui可以開放給一般user操作嗎?

請問collgui可以開放給非root的一般user使用嗎? 如何設定? 謝謝!
6則回覆 6
watermelonyu
教授

collgui可以開放給一般user操作嗎?

Hi,



Please select the "SystemManagement" from the command "sysman dopconfig" for setting to execute a privileged program without knowing the root password.



First, add the "test" account to SystemManagement privilege as above.



Then running the following commands:

# dop -a SystemManagement collectgui "/usr/sbin/collgui /var/tmp/temp.cgz"

# cp /DIR/alpha_db01.cgz /var/tmp/temp.cgz

# su - test

% dop collectgui

..



OK!!!

# dop -d collectgui ==> Remove



Best regards,

Richard.

watermelonyu
教授

collgui可以開放給一般user操作嗎?

Hi,



> # dop -a SystemManagement collectgui "/usr/sbin/collgui /var/tmp/temp.cgz"

> # cp /DIR/alpha_db01.cgz /var/tmp/temp.cgz

> # su - test

> % dop collectgui



Change the above statements as below:

# dop -a SystemManagement collectgui "/usr/sbin/collgui *"

# su - test

% dop collectgui /DIR/alpha_db01.cgz



Best regards,

Richard.

watermelonyu
教授

collgui可以開放給一般user操作嗎?

Hi! Richard:



按照您的解法, 似乎都會得到下列的error message~



A system error occurred, preventing collgui from being launched.



The application you wish to access is not avalilable on this system.

It may be contained in a subset that is not currently installed.
watermelonyu
教授

collgui可以開放給一般user操作嗎?

Hi,



The error is gotten if it isn't successfully run

'# dop -a SystemManagement collectgui "/usr/sbin/collgui *"'.



Please see the previous reply in detail and don't forget to run "# sysman dopconfig" first to modify the normal account grant to access SystemManagement.



Richard.
watermelonyu
教授

collgui可以開放給一般user操作嗎?

請問從sysman dopconfig加入的account或group要如何從dopconfig中移除呢? dopconfig是否有相對應的ascii or binary db file? 謝謝!
watermelonyu
教授

collgui可以開放給一般user操作嗎?

Hi,



> 請問從sysman dopconfig加入的account或group要如何從dopconfig中移除呢?

從sysman dopconfig加入的account 自然從sysman dopconfig刪除所加的account.



> dopconfig是否有相對應的ascii or binary db file?

See the related files in /etc/dop*. But don't direct to modify them because it is invalid. It updates automatically via dopconfig.



Best regards,

Richard.