This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
Other / The CWPpro version 0.9.8.1239 update destroyed sshd and .ssh.
« on: July 02, 2026, 03:47:29 AM »
When upgrading CWPpro version: 0.9.8.1236 to CWPpro version: 0.9.8.1239 /root/.ssh was removed!
[root@aaa .ssh]# lsattr
----ia--------e----- ./authorized_keys
----ia--------e----- ./authorized_keys2
--------------e----- ./chave-aaa
--------------e----- ./known_hosts
[root@fairmontrio1 .ssh]# /scripts/update_cwp
=====================================================
============================ CentOS Web Panel Cron ================
=====================================================
##########################
Firewall Flush Daily Blocks
##########################
######################
Update Server Packages
######################
Redirecting to /bin/systemctl restart cwpsrv.service
Redirecting to /bin/systemctl restart cwp-phpfpm.service
Redirecting to /bin/systemctl reload cwpsrv.service
Redirecting to /bin/systemctl reload cwp-phpfpm.service
Redirecting to /bin/systemctl restart cwpsrv.service
Redirecting to /bin/systemctl restart httpd.service
Redirecting to /bin/systemctl reload httpd.service
warning: /var/tmp/rpm-tmp.COg4OK: Header V4 DSA/SHA1 Signature, key ID 914bdf7e: NOKEY
error: Failed dependencies:
perl(Date::Calc) is needed by postfix-2:3.4.8-2.centos.8+p18.0.24.0+t200128.1353.x86_64
Redirecting to /bin/systemctl reload nginx.service
Redirecting to /bin/systemctl reload httpd.service
Redirecting to /bin/systemctl restart httpd.service
sed: cannot rename /root/.ssh/sedR9aMWq: Operation not permitted
chown: changing ownership of '/root/.ssh/authorized_keys': Operation not permitted
chmod: changing permissions of '/root/.ssh/authorized_keys': Operation not permitted
chsh: Shell not changed.
chsh: Shell not changed.
sed: cannot rename /root/.ssh/sedgX6N5j: Operation not permitted
chown: changing ownership of '/root/.ssh/authorized_keys': Operation not permitted
chmod: changing permissions of '/root/.ssh/authorized_keys': Operation not permitted
chsh: Shell not changed.
chsh: Shell not changed.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
[root@aaa .ssh]# ls -lah
total 0
Be careful when updating! We had a huge loss.
[root@aaa .ssh]# lsattr
----ia--------e----- ./authorized_keys
----ia--------e----- ./authorized_keys2
--------------e----- ./chave-aaa
--------------e----- ./known_hosts
[root@fairmontrio1 .ssh]# /scripts/update_cwp
=====================================================
============================ CentOS Web Panel Cron ================
=====================================================
##########################
Firewall Flush Daily Blocks
##########################
######################
Update Server Packages
######################
Redirecting to /bin/systemctl restart cwpsrv.service
Redirecting to /bin/systemctl restart cwp-phpfpm.service
Redirecting to /bin/systemctl reload cwpsrv.service
Redirecting to /bin/systemctl reload cwp-phpfpm.service
Redirecting to /bin/systemctl restart cwpsrv.service
Redirecting to /bin/systemctl restart httpd.service
Redirecting to /bin/systemctl reload httpd.service
warning: /var/tmp/rpm-tmp.COg4OK: Header V4 DSA/SHA1 Signature, key ID 914bdf7e: NOKEY
error: Failed dependencies:
perl(Date::Calc) is needed by postfix-2:3.4.8-2.centos.8+p18.0.24.0+t200128.1353.x86_64
Redirecting to /bin/systemctl reload nginx.service
Redirecting to /bin/systemctl reload httpd.service
Redirecting to /bin/systemctl restart httpd.service
sed: cannot rename /root/.ssh/sedR9aMWq: Operation not permitted
chown: changing ownership of '/root/.ssh/authorized_keys': Operation not permitted
chmod: changing permissions of '/root/.ssh/authorized_keys': Operation not permitted
chsh: Shell not changed.
chsh: Shell not changed.
sed: cannot rename /root/.ssh/sedgX6N5j: Operation not permitted
chown: changing ownership of '/root/.ssh/authorized_keys': Operation not permitted
chmod: changing permissions of '/root/.ssh/authorized_keys': Operation not permitted
chsh: Shell not changed.
chsh: Shell not changed.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
[root@aaa .ssh]# ls -lah
total 0
Be careful when updating! We had a huge loss.
Pages: [1]
