I have recently found an argument against disabling a root user login in Linux at http://archives.neohapsis.com/archives/openbsd/2005-03/2878.html
I assume that, if everybody uses a public key authentication, there's no risk at losing the root password.
Is it always better to disable the root login via ssh?
What's the difference between the www & public_html folder on the same server on my shared linux hosting. I've seen data is same on both of these folders. Is one of them just a redirect or is the data getting replicated. What is the purpose of 2 folders or even a redirect folder?
Thanks in advance! :)
Is there a Linux shell that will let you type less than full commands as you can with Cisco IOS, at least for the first command (and not its arguments)?
I haven't really thought enough if this is actually a good thing, but might be fun to play with :-)
I've installed the development version of Crunchbang, a linux distro based off Debian. I got Ruby and Rubygems installed, but I can't get the gems I've installed to load. Here is a command-line session:
$ ruby -v
ruby 1.9.1p378 (2010-01-10 revision 26273) [i486-linux]
$ gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.6
- RUBY…
I just bought my first home server, and I want to install Debian Linux!
Can anyone recommend me which one to use? I have read that there are 3 types, one for testing, one stable and then another one. But I don't know much more about it.
Can you please advise me?
Thanks, Boda Cydo.
Hello,
Im using Red Hat Enterprise Linux 3. I installed openmotif-2.2.2-16.src.rpm by running the bellow command
rpm -ivh openmotif-2.2.2-16.src.rpm
I got a 100% complete message.But,when i run rpm -q openmotif, i get the message "package openmotif is not installed"
Please Help
Thank You
Hi,
I have two servers running Linux 2.6.9 kernel.
When i telnet to server1 , the telnet will be disconnected only after 3 login failures. While, when i telnet to server2, telnet will be disconnected after the first login failure. I expect server2 to behave the same way as server1 when telnet is executed.
Kindly tell me where i should…
I recently made the move from Linux development to Windows development. And as much of a Linux enthusiast that I am, I have to say - C# is a beautiful language, Visual Studio is terrific, and now that I've bought myself a trackball my wrist has stopped hurting from using the mouse so much.
But there's one thing I can't get past: the…
I need to convert a very large latex project (made up of many .tex and style files) into .html (or something similarly non-.pdf).
Can someone recommend a quality converter program?
Preferably, one that is:
available on linux (specifically Ubuntu)
actively maintained
Thanks!
I am doing some benchmarking on EXT4 performance on Compact Flash media.
I have created an ext4 fs with block size of 65536. however I can not
mount it on ubuntu-10.10-netbook-i386. (it is already mounting ext4 fs with 4096 bytes of block sizes)
According to my readings on ext4 it should allow such big block sized
fs. I want to hear…
I have a Samsung RC530 notebook and OCZ Vertex-3 6Gbps SATA SSD working in AHCI mode.
# dmesg | grep DMI
SAMSUNG ELECTRONICS CO., LTD. RC530/RC730/RC530/RC730, BIOS 03WD.M008.20110927.PSA 09/27/2011
# lspci -nn
00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller…
I'm have trouble transfering files again from my work PC, which is a linux machine to my home windows PC.
My work has changed it so I now need to SSH twice before I can access my PC.
So I need to:
ssh username@server.name
password: xxxxx
I then need to do it again.
ssh computer_name
password: xxxxx
I've…
I am using gmail as my email provider, and I only have gmail servers for my mx records. I don't like the 500 message per day cap. To address this issue I would like to run postfix on my Linux machine to only send email, incoming port 25 blocked by my firewall. I can send email, however google marks all messages sent…
I have a linux box with two ethernet interfaces (eth0 & eth1) with two corresponding IPs. As per my understanding, currently they are served by 1 IP stack. Is it possible to install another IP stack with IP Stack 1 handling ethernet interface eth0 and the other IP stack handling eth1.
I have installed emacs23 on Linux Mint 8. I would like to hide the toolbar, and I can do it with Options Show/Hide Tool-bar. But the Tool-bar comes back next time I start emacs. How can I hide it persistently?
I want to install these libraries in cygwin, how do I do it? are all of them available on cygwin environment or only on linux?
g++ - the version 4.4
graphviz
gnuplot
plotdrop
libboost version 1.38
libgsl0-dbg
libgsl0-dev
libgsl0ldbl
On one linux server (Gentoo hardened), we are experiencing bursts of the following messages in dmesg from time to time:
TCP: Treason uncloaked! Peer xx.xx.xxx.xxx:65039/80 shrinks window 4094157295:4094160199. Repaired.
Is there anything we should take care of or is this normal?
Update: Maybe related, we are using…
I haven't put much thought into this until now, but it seems odd that there is a /var/tmp and /tmp directories for most of the linux distro's I routinely use ( Ubuntu, Centos, Redhat ).
Is there any semantic difference between the two, like when whoever designed the first file system layout, he or she…
Hi,
I've copied a folder of data from one linux server to another via a tarball.
The group ids (GIDs) don't match up on the two servers, so I now have files that look like
-rw-rw-r-- 1 tim 1013 88 2008-11-14 10:18 config
There is a mixture of group ownerships in the folder, and I want to keep…
How can I combine multiple single page prints into a single print job?
For example, using Firefox on Linux one can print a web page such that each sheet of paper has four pages printed upon it. I would like to combine several separate web pages so that for example, web-page-a, web-page-b and…
Hi
I am running a bash script on a Linux server. At the time it finished running, I got this message
../scripts/makepbs.sh: error reading input file: Stale NFS file handle
What does it mean?
Thanks and regards!
I have a client requirement to encrypt all outgoing email from a linux server. This can be done using any software, sendmail/postfix etc. They have given me the key they want to use, and want all forms (using php) to be encrpyted. Can I set sendmail/etc to encrypt all emails? This could be…
I want using any free Linux document viewer that does
both pdf and djvu (Okular, Evince, etc.) to do the following:
magic_command('document-viewer','./11.pdf','instance1')
magic_command('document-viewer','./21.djvu','instance2')
two instances (windows) of document-viewer are opened
one…