Archive:

Month: September 2019


Scponly cannot chroot

By: | Post date: September 10, 2019 | Comments: No Comments

Posted in categories: Computer Tips, Work related

Scponly from CentOS 7 cannot chroot. Problem is that /sbin/scponlyc does not have corrent SUID. Do a chmod 4755 /sbin/scponlyc resolves it.

Seagate NAS make no_root_squash

By: | Post date: September 9, 2019 | Comments: No Comments

Posted in categories: Uncategorized

Seagate NAS create NFS shares as root_squash. This makes is inconvenient to use it as linux backup device. By remounting / as rw, editing /usr/lib/python2.7/site-packages/unicorn/sharing/nfs.py, change root_squash to no_root_squash, reboot, problem saved.