Skip to main content

All Questions

Tagged with
0 votes
0 answers
270 views

How to block access to .bashrc and .profile

How can I block possibility to download .bashrc and .profile files from Debian server with Nginx? I already added this to vhosts configuration: location ~* \.(bashrc|profile)$ { deny all; } ...
Brzozova's user avatar
  • 101
1 vote
1 answer
694 views

Bash: ".profile" not loaded despite nonexistance of .bash_profile or .bash_login (Debian 10)

Reading the documentation in ~/.profile, on my Debian system, it is stated that # ~/.profile: executed by the command interpreter for login shells. # This file is not read by bash(1), if ...
user3728501's user avatar
  • 2,984