Showing posts with label login. Show all posts
Showing posts with label login. Show all posts

Monday, July 18, 2011

Speeding up ssh connections/logins

Very useful is to deactivate the DNS lookups in the ssh server. Another easy modification: add one line to the /etc/ssh/sshd_config file:


  1. Type: # pico /etc/ssh/sshd_config
  2. Add the line (green bold one): 
#PermitTunnel no

UseDNS no

# no default banner path

Cobalt RaQ 4: slow slow sloooooow ftp login

Hi guys,
this week I turned on on RaQ with the old Cobalt OS with all the Zeffie's updates (New updates appeared this year). I like the fast responese of the Cobalt servers with this old Operating System and I don't need the extra capabilities of the BlueQuartz or BlueOnyx systems.

But today I started to check if I can compile the latest 2.4 kernel but when I went to some upload files to the server I could not connect to ftp. Some search of the web to found the problem, the proftp server has some features enabled in the latest version that can be deactivated for us.

To do this just add this lines (green bold ones) to the /etc/proftpd.conf file just after the first configuration lines:

ServerName                      "ProFTPD"
ServerType                      inetd
DeferWelcome                    off
DefaultServer                   on
DefaultRoot                     / admin
DefaultRoot                     ~/../.. site-adm
DefaultRoot                     ~ !site-adm

UseIPv6                                off
UseReverseDNS                   off

And add one line to the GLOBAL subsection (green bold chars):
IdentLookups                    off
   AllowAll

# Report localtime, not GMT
TimesGMT                        off

Wednesday, January 19, 2011

How to enable AWStats on Strongbolt

Today I started to play with my backup RaQ 4 server. It's loaded with Strongbolt and looking at the hard disk I found that AWStats is installed by default but pointing a web browser to www.myaddress.net/awstats only gave me an small box asking for a user and password but never I was able to log in.

I remembered there is a post in the Strongbolt forums but with no good solution. A new search and I found this on the closed Nuonce Forums. In fact Strongbolt has AWStats installed but is missing one perl library that is needed to authenticate users in the systems: perl-suidperl.

Just need to install this library and then you can log with the vsite admin password:
[root@web etc]# yum install perl-suidperl

Setting up Install Process
Setting up repositories
update        100% =========================    951 B 00:00
BlueQuartz 100% =========================    951 B 00:00
base           100% =========================   1.1 kB 00:00
addons       100% =========================    951 B 00:00
extras         100% =========================   1.1 kB 00:00
Reading repository metadata in from local files
Excluding Packages from CentOS-4 - Updates
Finished
Excluding Packages from CentOS-4 - Base
Finished
Excluding Packages from CentOS-4 - Addons
Finished
Excluding Packages from CentOS-4 - Extras
Finished
Parsing package install arguments
Resolving Dependencies
> Populating transaction set with selected packages. Please wait.
> Downloading header for perl-suidperl to pack into transaction set.
perl-suidperl-5.8.5-53.el    100% =========================    20 kB 00:00
> Package perl-suidperl.i386 3:5.8.5-53.el4 set to be updated
> Running transaction check

Dependencies Resolved

================================================================
Package                Arch            Version              Repository                 Size
================================================================
Installing:
 perl-suidperl         i386             3:5.8.5-53.el4    update                       112 k

Transaction Summary
================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 112 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): perl-suidperl-5.8.    100% =========================     112 kB 00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: perl-suidperl ######################### [1/1]

Installed: perl-suidperl.i386 3:5.8.5-53.el4
Complete!
[root@web etc]#
Remeber that lo log in the Statistics page tou need the vsite admin usr and password, not the server admin password!