Skip to main content

Posts

Showing posts with the label selinux

How to Reset Forgotten Password on Kali Linux

          Kali Linux is a Linux distribution used in the Cybersecurity domain. It is maintained and funded by Offensive Security. Kali Linux is Debian based and it uses the Debian repository for most of its packages. This Linux distribution is designed for digital forensics and penetration testing. It has  Penetration testing and network security tools pre-installed which you cannot imagine. It is completely free and open source. So you can use it for free and even contribute to its development.         Now forgetting login credentials is an annoying thing in the case of any operating system. Resetting forgotten passwords often comes with the risk of data loss and requires a lot of effort if you are not a technology enthusiast. This article will be a simple step-by-step guide on resetting forgotten passwords on Kali Linux. How to Reset Forgotten Password on Kali Linux?           In this section, we will ...

Vsftpd and selinux mixed hybrid structure

 SELinux (Security-Enhanced Linux) is a security mechanism that provides an additional layer of protection for your system by enforcing access control policies. When SELinux is enabled, it may prevent vsftpd from functioning correctly if proper policies are not set up. To check whether SELinux is interfering with vsftpd, you can use the sealert command to view any SELinux-related errors. First, try to reproduce the issue with vsftpd. For example, if vsftpd is not allowing file uploads, try to upload a file using an FTP client. After reproducing the issue, run the following command to view any SELinux-related errors: This command will show you any SELinux-related errors that have occurred recently. Look for errors related to vsftpd, such as denied access to certain files or directories. If you see any SELinux-related errors, you can try to resolve them by creating custom policies for vsftpd. You can use the audit2allow command to generate policies based on the errors that you see in...