AIX restricted shell add entry to inittab
0
votes
1
answer
923
views
Need a help in adding an entry to the AIX inittab on VIO server. The VIO server is a restricted shell, to add entry to the inittab we need to access the root shell using command:
oem_setup_env
. I'm trying to add the below entry using SSH from Jump Server to the VIO server. The entry doesn't get added to inittab file.
ssh -q aixlpar122 "ssh -q padmin@vio01 print "\mkitab \"splunk:2:once:/usr/bin/startsrc\ -g\ splunk\ \>\ \/dev\/console\ 2\>\&1\ " | oem_setup_env "
Getting below error :
rksh: /dev/console: 0403-019 The operation is not allowed in a restricted shell.
Asked by satsensort
(87 rep)
Jun 19, 2019, 08:53 AM
Last activity: Jun 19, 2019, 02:25 PM
Last activity: Jun 19, 2019, 02:25 PM