I wanted to change bash history # lines kept and tried to edit this file, but says permission denied.
-rw-r--r-- 1 root root 842 May 24 2004 /etc/profile
I am logged in as root (from su), but says permission denied. I have tried editing other root only files (with same permissions), and works ok?
Anyone know why root can't edit this file and some way around it?
-rw-r--r-- 1 root root 842 May 24 2004 /etc/profile
I am logged in as root (from su), but says permission denied. I have tried editing other root only files (with same permissions), and works ok?
Anyone know why root can't edit this file and some way around it?