Would enabling jailshell in cPanel System tweaks prevent the server root user write perms to his .bashrc file ?
When I ssh to my new cpanel server su - and edit .bashrc I get permision denied.
root can't chmod .bashrc or cp to .bashrc
???
Would enabling jailshell in cPanel System tweaks prevent the server root user write perms to his .bashrc file ?
When I ssh to my new cpanel server su - and edit .bashrc I get permision denied.
root can't chmod .bashrc or cp to .bashrc
???
You need to use a full shell account to be able to su to root, not a jailshell.
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
I'm trying to to figure out why when I ssh to the server as server admin then su - to become server root I can't chmod, edit or write to my root .bashrc file.
I'm setting up a new cPanel server and always, with other RHEL servers, edited my .bashrc to email me logins as a rudementary security flag.
Check whether you have any attributes on the file:
lsattr .bashrc
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Thanks that was the problem.