Problem Getting below error after connecting to SFTP server: # sftp sftp_user1@dbappweb.com sftp_user1@dbappweb.com's password: Connected to dbappweb.com. sftp> ls remote readdir("/incoming"): Permission denied Reason I was getting the “Permission denied” error because SELinux was enabled on the SFTP servers and it was enforcing. The status …
Chroot SFTP in Linux Sometimes we need to transfer or access some files on a server through SFTP. In these cases we need to restrict the users so that they can access the files in their home directories only, other directories or files of the server …
Check the /etc/login.defs file to check the applied password policy, here it is showing that password expiry days define as 99999 i.e. it will never expire. # cat /etc/login.defs . . . # Password aging controls: # # PASS_MAX_DAYS Maximum number of days a password may …
Problem I have added a new disk to the Linux server but after creating the partition using fdisk command, the partitioned disk was not found, as shown below: # fdisk /dev/mapper/mpathq Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building …
Problem I have configured a new server with RHEL 7.4 as a web server. I tried to mount an NFS shared folder on this machine and got the below error: # mount -o tcp nfsserver:/upload /home/upload mount: wrong fs type, bad option, bad superblock on 10.30.1.62:/upload, missing …
Bigfix Agent Installation Prerequisite for RedHat Before installing the client on Red Hat Enterprise Linux 6 or later, ensure you have: 1. Disabled the SELinux process status of the SELinux can be checked by using the command getenforce. # getenforce Enforcing To disable the SELinux feature you need …