Most Popular
1500 questions
142
votes
69 answers
The Joel Test for system administrator jobs
Based on “Organizational issues” — sore spots of IT? I think it would be fair to say that system administrators need to determine if a place is worth working at. There is a similar well known test by Joel for programmers.
What are the 12 questions…
Nick Kavadias
- 10,836
141
votes
39 answers
What useful things can one add to one's .bashrc?
Is there anything that you can't live without and will make my life SO much easier? Here are some that I use ('diskspace' & 'folders' are particularly handy).
# some more ls aliases
alias ll='ls -alh'
alias la='ls -A'
alias l='ls -CFlh'
alias…
Gareth
- 8,573
140
votes
4 answers
How to handle security updates within Docker containers?
When deploying applications onto servers, there is typically a separation between what the application bundles with itself and what it expects from the platform (operating system and installed packages) to provide. One point of this is that the…
Make Mark
- 1,994
- 3
- 15
- 15
140
votes
10 answers
Is there an equivalent of MySQL's SHOW CREATE TABLE in Postgres?
Is there an equivalent of MySQL's SHOW CREATE TABLE in Postgres? Is this possible? If not what is the next best solution?
I need the statement because I use it to create the table on an remote server (over WCF).
vlebar
- 1,503
- 2
- 9
- 4
140
votes
12 answers
Can I hide all server / os info?
I don't want anyone to be able to detect that I'm using NGINX or even Ubuntu from the internet. There are tools out there (such as BuiltWith) which scan servers to detect what tools they're using. Also, some cracking tools might help with deteting.…
orokusaki
- 2,873
139
votes
13 answers
How do I get apt-get to ignore some dependencies?
How do I make apt-get ignore some dependencies? For example, I wanted to install mailx so I can use it to send email from cron scripts/report-generating tools. However, installing mailx also installs exim4 and a whole bunch of dependencies (I…
FrancisV
- 1,786
- 3
- 16
- 18
139
votes
5 answers
Rsync difference between --checksum and --ignore-times options
Can anyone clarify the differences between the --checksum and --ignore-times options of rsync?
My understanding is as follows:
--checksum
If the file size and time match, it will do a checksum at both ends to see if the files are really…
Andy Madge
- 1,657
- 3
- 14
- 14
138
votes
24 answers
How do you make it obvious you are on a production system?
A few of us at my company have root access on production servers. We are looking for a good way to make it exceedingly clear when we have ssh'd in.
A few ideas we have had are:
Bright red prompt
Answer a riddle before getting a shell
Type a random…
Sionide21
- 1,553
137
votes
4 answers
What significance does the user/host at the end of an SSH public key file hold?
I can’t figure out why does an SSH public key file generated by ssh-keygen have a user and host at the end of it.
Example: id_rsa.pub
ssh-rsa ... rest of file ... /CA9gyE8HRhNMG6ZDwyhPBbDfX root@mydomain
Notice the root@mydomain at the end of the…
Basil A
- 2,140
137
votes
5 answers
How does IPv6 subnetting work and how does it differ from IPv4 subnetting?
This is a Canonical Question about IPv6 Subnetting.
Related:
How does IPv4 Subnetting Work?
I know a lot about IPv4 Subnetting, and as I prepare to (deploy|work on) an IPv6 network I need to know how much of this knowledge is transferable and…
Michael Hampton
- 247,473
137
votes
3 answers
How do I reattach to Ubuntu Server's 'do-release-upgrade' process?
I accidentally pressed Ctrl+C during Ubuntu Server's do-release-upgrade process. I'd dropped to a shell to compare a .conf file in /etc/. When I pressed Ctrl-C, it asked whether I wanted to try to reattach to the upgrade process, but it failed to do…
Alex Leach
- 1,737
- 3
- 16
- 18
137
votes
4 answers
What type of DNS record is needed to make a subdomain?
I'm making a website, and I need a sub-domain.
I need to add the new part to my website, but I don't know which type of DNS record to add in the DNS console to point to this new site.
Is it A or CNAME?
Keavon
- 1,471
137
votes
3 answers
Is there a way to view the members of an Active Directory group if you aren't a domain admin and can't log into to a domain controller?
Is there a way to view the members of an Active Directory group if you aren't a domain admin and can't log into to a domain controller?
Alan Hecht
- 1,493
136
votes
7 answers
Certification authority root certificate expiry and renewal
In 2004, I set up a small certification authority using OpenSSL on Linux and the simple management scripts provided with OpenVPN. In accordance with the guides I found at the time, I set the validity period for the root CA certificate to 10 years.…
Remy Blank
- 2,045
135
votes
5 answers
Clean way to write complex multi-line string to a variable
I need to write some complex xml to a variable inside a bash script. The xml needs to be readable inside the bash script as this is where the xml fragment will live, it's not being read from another file or source.
So my question is this if I have a…
ChrisInCambo
- 1,771