AnsweredAssumed Answered

Regarding systemctl command : operation not found

Question asked by TeamV on Mar 21, 2018
Latest reply on Mar 22, 2018 by TeamV

Hi Team,

 

I am unable to give authorization to  server gotsvl1478

gotsvl1478:~ # systemctl status
-bash: /usr/bin/systemctl: Operation not permitted
gotsvl1478:~ #

 

Auth file /usr/bin/* access(all) uid(* _undefined) via(pgm(/bin/bash))

Auth file /usr/bin/* access(all) uid(root) via(pgm(/bin/bash))

Auth file /usr/bin/* access(all) gid(seossys) via(pgm(/bin/bash))

 

I have  checked with trace logs and rebuild seos also but I am not able to give authorization to this.

Also tried to give sesudo also but its not worked

Start trace: secons -tc -t+

b. Recreate the problem so here you try to run the systemctl in order to trace what happens. once you have tried to access and you get an error

c. Stop trace: secons -t- d. send the trace file $SEOSDIR/log/seosd.trace Where $SEOSDIR is your Access Control directory on the system

 

gotsvl1478:~ # secons -tc -t+
CA ControlMinder secons v12.81.0.2704 - Console utility
Copyright (c) 2013 CA. All rights reserved.
Trace file was cleared.
Trace is now Disabled.
Trace is now Enabled.
gotsvl1478:~ # secons -t -
CA ControlMinder secons v12.81.0.2704 - Console utility
Copyright (c) 2013 CA. All rights reserved.
Trace is now Enabled.
Trace is now Enabled.
gotsvl1478:~ #

 

this was a sample

AC> eu dummy password(itsPWD) unix

AC> authorize surrogate USER.root uid(dummy) via(pgm(/opt/CA/AccessControl/bin/sesudo))

AC> er sudo usermount data(/bin/mount) audit(s,f)

AC> authorize sudo usermount id(dummy)

AC> authorize program /opt/CA/AccessControl/bin/sesudo uid(dummy)

 

lmudired@gotsvl1478:/usr/seos/bin> sesudo systemctl status
sesudo: Execution of the command /usr/bin/systemctl failed.
lmudired@gotsvl1478:/usr/seos/bin>

 

Please help me on this

 

Thanks
Lokesh Reddy

+91 7013025865

Outcomes