Most Popular

1500 questions
116
votes
9 answers

Can you mount a network switch upside down?

We just took delivery of a new Avaya 2500 48-port switch, that has 24 PoE ports. The problem is that all the PoE ports are on the left-hand size of the switch, and our PoE device cables can only reach the right-hand side of the switch (we're…
116
votes
8 answers

Which ports do I need to open in the firewall to use NFS?

I'm running Ubuntu 11.10 - setting up NFS to share a directory among many other servers. Which ports are required to be opened on the firewall?
kenny
  • 1,273
116
votes
8 answers

How to run command as user who has /usr/sbin/nologin as Shell?

All I need to do is to run a specific script as a particular user who does have the nologin/false shell indicated in /etc/passwd. I would run the script as root and this should run as another user. Running: ~# su -c "/bin/touch /tmp/test"…
Tommaso
  • 1,181
116
votes
9 answers

How to check if I'm in screen session?

I need it to determine if hitting ctrl+d would disconnect me from server or just close current screen. Is it somehow possible to check if I'm right now in screen session?
wlk
  • 1,733
115
votes
1 answer

What is the purpose of the ".well-known"-folder?

If've found a new error message in our log files and would like to know, for what this .well_known folder is used for. Which application/client would need to access such a folder and which application would create files inside it? Here are some…
Sascha
  • 1,274
115
votes
3 answers

SFTP logging: is there a way?

I'm wondering if there is a way to log commands received by the server. It can be all SSH commands, as long as it includes information on commands related to file transfer. I'm having issues with an SFTP client and the creator is asking for logs,…
Darryl Hein
  • 1,772
  • 2
  • 19
  • 21
115
votes
12 answers

How can I prevent the warning No xauth data; using fake authentication data for X11 forwarding?

Every time I initiate an ssh connection from my Mac to a Linux (Debian) I do get this warning: No xauth data; using fake authentication data for X11 forwarding. This also happens for tools that are using ssh, like git or mercurial. I just want to…
sorin
  • 8,226
115
votes
2 answers

How to re-order windows, change the scroll shortcut, and modify the status bar contents in GNU Screen?

I learned to use gnu-screen and have been using it for the past several weeks. I got a grip of the basics now, and would be very helpful if I get these queries clarified: How do I rename / reorder / move windows in Linux screen utility? For eg.,…
Rangzy
  • 1,251
  • 2
  • 9
  • 5
114
votes
21 answers

Login without running bash_profile or bashrc

So let's say one typoed something in their .bashrc that prevents him (or her) from logging in via ssh (i.e. the ssh login exits because of the error in the file). Is there any way that person could login without executing it (or .bashrc since the…
Tom Ritter
  • 3,277
114
votes
6 answers

Where can I find data stored by a Windows Service running as "Local System Account"?

I'm using a service which stores data on disk. The service is running as "local system account". Where is the stored data for that system user? I'm thinking about C:\Documents and Settings\Default User but I'm not sure about that. Can someone…
paulgreg
  • 4,164
114
votes
5 answers

Do you need separate IPv4 and IPv6 listen directives in nginx?

I've seen various config examples for handling dual-stack IPv4 and IPv6 virtual hosts on nginx. Many suggest this pattern: listen 80; listen [::]:80 ipv6only=on; As far as I can see, this achieves exactly the same thing as: listen [::]:80…
Synchro
  • 3,220
114
votes
4 answers

Tell Jenkins to run a specific project on a particular slave node

How do I tell Jenkins to run a specific project on a particular slave? I've set up a Jenkins master node, and a slave node that I want to use for staging an application. But I can't figure out how to configure the project to run on the slave node I…
114
votes
6 answers

Why is Enterprise Storage so expensive?

This is a Canonical Question about the Cost of Enterprise Storage. See also the following question: What's the best way to explain storage issues to developers and other users Regarding general questions like: Why do I have to pay 50 bucks a…
114
votes
12 answers

How to start/stop iptables on Ubuntu?

How can I start/stop the iptables service on Ubuntu? I have tried service iptables stop but it is giving "unrecognized service". Why is it doing so? Is there any other method?
neha soni
113
votes
8 answers

Best practice: Should I always install a fresh OS for new employees?

I had an argument with a superior about this. Though at first glance the prior user of a laptop only did work in his own documents-folders, should I always install a new OS for the next user or is deleting the old profile enough? The software that…
ExNought
  • 1,143