Search found 166 matches

by a24uall
Sun Jul 14, 2013 2:56 pm
Forum: SSH
Topic: How to create ssh banner
Replies: 0
Views: 2722

How to create ssh banner

vi /etc/motd
by a24uall
Sun Jul 14, 2013 2:50 pm
Forum: HOW TO FIND HACKING
Topic: How did the hacker got in?
Replies: 0
Views: 5872

How did the hacker got in?

Any users managed to get root privilege? perl -n -e '@user = split /:/ ; print "@user[0]\n" if @user[2] == "0";' < /etc/passwd root@localhost[/tmp]# perl -n -e '@user = split /:/ ; print "@user[0]\n" if @user[2] == "0";' < /etc/passwd root sdrtect ghhjtyu roo...
by a24uall
Fri Jun 21, 2013 10:55 am
Forum: R1soft
Topic: How to check if R1soft is running any backup/restore process
Replies: 0
Views: 5738

How to check if R1soft is running any backup/restore process

root@server15 [/]# ps auxf | grep agent
root 25992 20.6 0.1 2758084 131752 ? Ssl May31 6236:51 /usr/sbin/r1soft/bin/cdp -s -c /usr/sbin/r1soft/conf/agent_config
root 16597 0.0 0.0 103236 852 pts/5 S+ 01:24 0:00 \_ grep agent
root@server15 [/]#
by a24uall
Thu Jun 06, 2013 4:21 pm
Forum: Mysql Basic Commands
Topic: Mysql monitoring commands
Replies: 0
Views: 6525

Mysql monitoring commands

mysqladmin status Uptime: 1914343 Threads: 7 Questions: 189964153 Slow queries: 57635 Opens: 11560430 Flush tables: 1 Open tables: 64 Queries per second avg: 99.232 mysqladmin extended-status +-----------------------------------+------------+ | Variable_name | Value | +------------------------------...
by a24uall
Tue May 21, 2013 4:03 pm
Forum: ERRORS
Topic: Dropping connnection from 153.25.23.25 because of tcp_wrappe
Replies: 0
Views: 7167

Dropping connnection from 153.25.23.25 because of tcp_wrappe

Dropping connnection from 153.25.23.25 because of tcp_wrappers at cpsrvd-ssl line 3903 Cannt access WHM and above error in cpanel error logs /usr/local/cpanel/logs/error_log Solution : Check /etc/hosts.allow and /etc/hosts.deny vi /etc/hosts.allow Add the below lines cpaneld: ALL whostmgrd: ALL webm...
by a24uall
Fri May 17, 2013 2:18 pm
Forum: Miscellaneous
Topic: How to change permission for all the cpanel users to default
Replies: 0
Views: 2955

How to change permission for all the cpanel users to default

cd /home vi /home/fixpermcustom.sh echo -e "Checking ownership of /home/user \n" for i in `ls /var/cpanel/users/` do if [ "$i" != "root" ]; then chown -R $i:$i /home/$i chown $i:nobody /home/$i/public_html /home/$i/.htpasswds chown $i:mail /home/$i/etc /home/$i/etc/*/s...
by a24uall
Thu May 16, 2013 1:45 pm
Forum: Basic Commands
Topic: Rsync commands
Replies: 0
Views: 2709

Rsync commands

Various rsync commands. Check "/home/arun/rsync/1/" and "/home/arun/rsync/2/" and deletes any files in folder "2" which are not in "1". rsync -vrlptD --delete /home/arun/rsync/1/ /home/arun/rsync/2/ Sample output below : sending incremental file list ./ deleti...
by a24uall
Sun May 12, 2013 3:25 pm
Forum: Login
Topic: Automatic mysql login
Replies: 0
Views: 5737

Automatic mysql login

vi /root/.my.cnf
[client]
user=root
password=myghs58jgShw
by a24uall
Sat May 11, 2013 3:01 pm
Forum: Python
Topic: How to install pip
Replies: 0
Views: 5637

How to install pip

Enable and Install EPEL Repo CentOS6/EL6 version cd /usr/local/src/ wget http://mirror-fpt-telecom.fpt.net/fedora/epel/6/i386/epel-release-6-8.noarch.rpm rpm -ivh epel-release-6-8.noarch.rpm CentOS5/EL5 version cd /usr/local/src/ wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-...
by a24uall
Sat May 11, 2013 1:30 pm
Forum: Basic Commands
Topic: How to symlink and unlink that
Replies: 0
Views: 2385

How to symlink and unlink that

To symlink a file
cd /home/username
ln -s /usr/bin/testfile
This will create a symlink in /home/user/testfile to point to /usr/bin/testfile

To remove the symlink created
unlink testfile

Go to advanced search