scripting question

General support questions
Post Reply
johnpraxel
Posts: 4
Joined: 2017/11/09 18:55:09

scripting question

Post by johnpraxel » 2018/05/24 23:08:26

Good afternoon,

I have a network of 69 clients and I would like to push a new auditd.conf file using ssh. I am able to push keys to all the clients and then connect and push the new template out. However it appears that once the file is there it cannot overwrite the original file. It appears but I am not certain that the permission allow me to change the file as it might not recognize me as root even though I am logged in as root. I have attempted to chmod the auditd.conf file but so far nothing works.

If anyone has an idea what to look for i would most appreciate it as I am a nubie and I know I will be doing a lot of scripting in the future.

Thank you.

Jon

mghe
Posts: 766
Joined: 2015/11/24 12:04:43
Location: Katowice, Poland

Re: scripting question

Post by mghe » 2018/05/25 05:19:15

Check linux file attributes, it can be immutable

$ lsattr

Post Reply