AIX sudoers error

Kevin50
Kilo Contributor

Getting the following error on the AIX side:

testacct : user NOT in sudoers ; TTY=pts/0 ; PWD=/home/testacct ; USER=root ; COMMAND=/usr/bin/procwdx 1112221

Please help.

 

Kevin

1 ACCEPTED SOLUTION

Andrew Westerv4
Mega Guru

It looks like you do not have the sudo permission required to run procwdx, which is supposed to collect the working directory of processes on an AIX system.

I suggest reviewing through these articles from ServiceNow Docs to make sure you have the right setup for your test account. There are example lines for adding to /etc/sudoers.

SSH credentials

Service Mapping commands requiring a privileged user

View solution in original post

3 REPLIES 3

Andrew Westerv4
Mega Guru

It looks like you do not have the sudo permission required to run procwdx, which is supposed to collect the working directory of processes on an AIX system.

I suggest reviewing through these articles from ServiceNow Docs to make sure you have the right setup for your test account. There are example lines for adding to /etc/sudoers.

SSH credentials

Service Mapping commands requiring a privileged user

Kevin50
Kilo Contributor

Thank you! I'm getting push back from our Unix team regarding why the CMDB actually needs this data. I explained that there are, behind the scenes, are relationships and mappings that are being configured, that may be dependent upon this data. Is this a true explanation or should I look into removing that request of the process directories. Not sure, if I did, what other dependent pieces would be affected. Any advice would be greatly appreciated.


Best Regards,

Kevin

You are absolutely correct. Some of these commands are exploring more information about the device to be able to collect more information. As example, when ServiceNow Discovery finds that there is an Oracle database installed it will send additional commands to understand how that application is setup and installed.