Tag Info

New answers tagged

0

will a restart be required will the system be stable/functional until the restart if required will users have to log out before I run apt for updates to succeed You should probably restart if this includes glibc and kernel updates. The system will likely function until you can restart, but if that's a concern, you should schedule a ...


6

In Linux, like I think in all Unixes, when a process has an open file, it can continue to access it even if you delete it. After deletion the file is unreachable by other processes (there is no directory entry for it), but processes that had opened it before deletion can continue to access it using the handle the kernel gave them when they had opened it. The ...


-2

端口的问题。 我用的是 非root用户,非root 用户不能使用 1024一下 端口。修改使用端口均大于1024即可。 如: 启动项:/home/ops/bind/named/sbin/named -gc /home/ops/bind/named/etc/named.conf -p 19953 ./etc/named.conf 文件的 controls { inet 127.0.0.1 port 9953 allow { 127.0.0.1; } keys { “rndc-key”; }; };


0

Since the default /etc/fail2ban/filter.d/sshd.conf already has a regex for AllowUsers and DenyUsers... ... ^%(__prefix_line)sUser .+ from <HOST> not allowed because not listed in AllowUsers\s*$ ^%(__prefix_line)sUser .+ from <HOST> not allowed because listed in DenyUsers\s*$ ... The following will: Allow connections from exampleusername from ...


1

This tip shows you how to improve DNS lookups by using multiple nameservers. This is useful if you've ever had your primary DNS server become unreachable for any reason. Nameservers are listed in /etc/resolv.conf, one per line. Code Listing 1: Example /etc/resolv.conf nameserver 192.168.1.1 nameserver 10.0.0.1 To improve DNS lookups, add multiple DNS ...


0

Your script has several mistakes. When you want to move pulseaudio directories out of home directory, then you have to add following code to your ~/.bash_profile config file: PULSE_DIR="/tmp/$( whoami )-pulse" mkdir -p $PULSE_DIR && chmod 700 $PULSE_DIR export PULSE_CONFIG_PATH=$PULSE_DIR export PULSE_STATE_PATH=$PULSE_DIR export ...


5

Your shell will try try expand the * wildcard, before elevating the privileges of the ls command. Because as a regular user you don't have sufficient rights to read /var/log/apache2 that expansion will fail. Then the *.log will be passed through to sudo, but since sudo doesn't do globbing (that's a shell function) the ls will fail again as there is no ...


1

I ended up fixing this by completely removing all of sendmail and postfix and reinstalling. I followed this guide exactly and it worked first time. https://www.digitalocean.com/community/tutorials/how-to-install-and-setup-postfix-on-ubuntu-14-04 Still not sure what the original error was but I wanted to add an answer here just in case others come across ...



Top 50 recent answers are included