When set on a directory, Setting the setgid permission on a directory (e.g. “chmod g+s”) it causes new files and subdirectories created within it to inherit its group ID, rather than the primary group ID of the user who created the file (the owner ID is never affected, only the group ID).
If you SSH to the same server a lot and don’t want to type the password each time you can configure SSH so you don’t have to. First login to your terminal as normal and run $ ssh-keygen This will ask you the name of the key pair file you want to use. It will […]
Here is an example of how ports are controlled by SELinux. Say that the port that apache uses was changed to 1000 when you start apache you get these errors [root@server01 conf]# systemctl status httpd httpd.service – The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled) Drop-In: /usr/lib/systemd/system/httpd.service.d └─php-fpm.conf Active: failed (Result: exit-code) […]
apache root document folder was changed from normal folder to /repos folder attempting to get index.html resutls in an error [root@server01 repos]# curl localhost/index.html Forbidden You don’t have permission to access /index.html on this server. set the correct context on the new folder [root@server01 repos]# semanage fcontext -a -t httpd_sys_content_t “/repos(/.*)?” check the context [root@server01 […]
Pre-Update Steps Login to the servers as root Download the update to the server 1) change to the plexmeduaserver directory root@plex:/ # cd/usr/local/share/plexmediaserver 2) stop the plexmediaserver service root@plex:/usr/local/share/plexmediaserver # service plexmediaserver stopStopping plexmediaserver.Cleaning up leftover child processes. 3) Copy the plex update to the current directory 3) Unzip the Plex update (the exact name […]
To make an ability check, roll a d20 and add the relevant ability modifier. As with other d20 rolls, apply bonuses and penalties, and compare the total to the DC. If the total equals or exceeds the DC, the ability check is a success—the creature overcomes the Challenge at hand. Otherwise, it’s a failure, which […]
Go to : \Conan Exiles\ConanSandbox\Config\ Open “DefaultGame.ini Look for [/script/movieplayer.movieplayersettings] And set the following (not the – at the start) -StartupMovies=StartupUE4 -StartupMovies=StartupNvidia -StartupMovies=CinematicIntroV2
How to restore your hard drive from a Time Machine backup Whether you’re having major problems with your current hard drive or upgrading to a new Mac, Time Machine can help you get back to business. Power up your Mac and hold down the Command and R keys to enter the macOS Recovery Partition. Your […]
Edit the /etc/modules file and add the name of the module (without the .ko extension) on its own line. On boot he kernel will try to load all the modules named in this file.
Specify the following settings in /boot/config.txt: hdmi_force_hotplug=1 Tells your Pi an HDMI display is attached. hdmi_ignore_edid=0xa5000080 hdmi_group=2 hdmi_mode=16 # Forces a resolution of 1024×768 at 60Hz.