Skip to content

Instantly share code, notes, and snippets.

@caot
Last active April 9, 2021 12:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caot/45bb90b79e902576a60b34fe57384280 to your computer and use it in GitHub Desktop.
Save caot/45bb90b79e902576a60b34fe57384280 to your computer and use it in GitHub Desktop.
[root@server01 ~]# sudo -u apache bash
bash-4.1$ whoami
apache
bash-4.1$
mount Windows share on Red Hat Enterprise Linux system using CIFS?
setsebool -P httpd_use_cifs on
ls -dZ /mnt/ecpmnt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment