Most Popular
1500 questions
64
votes
13 answers
Linux: productive sysadmins without root (securing intellectual property)?
Is there any way to make a seasoned Linux syadmin productive without giving him full root access?
This question comes from a perspective of protecting intellectual property (IP), which in my case, is entirely code and/or configuration files (i.e.…
Matt
- 1,057
64
votes
8 answers
Deploying a folder of template files using ansible
Is there an easy way to deploy a folder full of template .j2 folder to a linux box, using the same name as the template, but without the .j2 extension, rather than using the template module for each file?
Right now i have a long list of:
- name:…
Trololololol
- 743
64
votes
8 answers
What is causing Access Denied when using the aws cli to download from Amazon S3?
I'm really flailing around in AWS trying to figure out what I'm missing here. I'd like to make it so that an IAM user can download files from an S3 bucket - without just making the files totally public - but I'm getting access denied. If anyone can…
Josh Gagnon
- 785
64
votes
8 answers
How can I find current SSH protocol version of the current connection?
I connect to a Linux machine (CentOS 6.4) using PuTTY. Except from fact that I can set PuTTY to only use one type of protocol, how can I find the current SSH connection's version (SSH1 or SSH2)?
codiac
- 759
64
votes
2 answers
Where are the logs for ufw located on Ubuntu Server?
I have an Ubuntu server where I am blocking some IPs with ufw. I enabled logging, but I don't know where to find the logs. Where might the logs be or why might ufw not be logging?
blockhead
- 901
64
votes
14 answers
How to know if a machine is an EC2 instance
I would like to run some scripts on hosts which are EC2 instances but I don't know how to be sure that the host is really an EC2 instance.
I have made some tests, but this is not sufficient:
Test that binary ec2_userdata is available (but this will…
Kelindil
- 773
64
votes
9 answers
How to change owner of mount point
We have moved mysql data directory to another disk, so now /var/lib/mysql is just a mount point to another partition. We set the owner of the /var/lib/mysql directory to mysql.mysql.
But everytime we mount the partition, the ownership changes to…
Arie K
- 1,631
64
votes
4 answers
How to specify multiple included domains in SPF record?
Our business email is hosted on Google apps. In addition, our web server may also send email. Currently our SPF record in DNS looks like this:
domain.com. IN TXT "v=spf1 a include:_spf.google.com -all"
This is all fine, however now we've…
Aleks G
- 1,036
- 2
- 10
- 22
64
votes
5 answers
Equivalent of logrotate on OSX
Is logrotate hiding somewhere on OSX, or is there an equivalent? It's not in /usr/sbin.
Steve Bennett
- 6,000
64
votes
4 answers
Can the environment variables tool in Windows be launched directly?
Is there a more direct way to the environmental variables GUI than the following?
Right click 'My Computer' and select 'Properties'.
Click 'Advanced System Settings' link.
Click 'Advanced' tab.
Click 'Environment Variables...' button.
Can I make a…
JasonV.com
- 801
64
votes
9 answers
Creating a virtual machine in VirtualBox from a physical one
Is there any way to create a virtual machine that you can use in VirtualBox from a physical installation that you have? For instance, if I have Windows XP installed on a physical computer and want to have a virtual version of that machine on a…
DHamrick
- 825
64
votes
4 answers
Fastest way to extract tar.gz
Is there anyway to extract a tar.gz file faster than tar -zxvf filenamehere?
We have large files, and trying to optimize the operation.
Justin
- 5,668
64
votes
8 answers
Overriding some DNS entries in BIND for internal networks
I have an internal network with a DNS server running BIND, connected to the internet through a single gateway. My domain "example.com" is managed by an external DNS provider. Some of the entries in that domain, say "host1.example.com" and…
Remy Blank
- 2,055
64
votes
4 answers
What does 'nice' mean on CPU utilization graphs?
On Ubuntu server load graphs I see 4 types of CPU consumption: User, System, Nice and Idle.
What does Nice type mean?
Niro
- 1,551
63
votes
3 answers
How to totally remove a certbot-created SSL certificate?
I use Ubuntu 16.04 with Nginx and I've installed Nginx Certbot on my operating system (Ubuntu 16.04) with:
apt-get update -y
add-apt-repository ppa:certbot/certbot -y
apt-get update -y
apt-get upgrade python-certbot-nginx -y
I setted Nginx…