Search found 66 matches

by ghulam yaseen
Thu Feb 25, 2010 5:45 pm
Forum: Administration
Topic: Linux User Management and Permissions
Replies: 2
Views: 2173

you can use either acl or groupmod so that multiple user groups can write on same dir.

Regards,
by ghulam yaseen
Thu Jan 14, 2010 12:20 pm
Forum: Security
Topic: Telnet jail
Replies: 2
Views: 5712

you can follow this link for ssh/telnet jail of users....

http://www.fuschlberger.net/programs/ss ... root-jail/

Best Regards,
by ghulam yaseen
Fri Jan 08, 2010 9:17 am
Forum: Administration
Topic: Scripts Required!
Replies: 5
Views: 2720

simplified script

well......lambda your script seems much more simple than mine.i just did a try, as i am not an expert :lol: #!/bin/sh IFS= maybemail=`df | awk '$1 ~ /^\// {if ($5 > 90) {printf "%s is at %s\n", $6, $5}}';` if [ -n "$maybemail" ]; then echo $maybemail | mail -s "file systems on `hostname` over 90%" f...
by ghulam yaseen
Thu Jan 07, 2010 5:17 pm
Forum: Administration
Topic: Scripts Required!
Replies: 5
Views: 2720

regarding scripts

but do remember, more the scripts you run...more the system memory and cpu usage will happen.....
by ghulam yaseen
Thu Jan 07, 2010 5:13 pm
Forum: Administration
Topic: Scripts Required!
Replies: 5
Views: 2720

Re: Scripts Required!

following script will send you email once the system load goes over 5 output1=`uptime | awk '{print $11}' | cut -c 1` mail_address="your_mail_address" if [ $output1 -ge 5 ] then echo "System load is gone over 5" | mail -s "system load warning" $mail_address else echo "nothing" fi Regards, Ghulam Yas...
by ghulam yaseen
Thu Jan 07, 2010 4:59 pm
Forum: Administration
Topic: Scripts Required!
Replies: 5
Views: 2720

Re: Scripts Required!

Following script will send you an email once specified filesystems go over 90% #!/bin/bash output1=`df -lh | grep /dev/sda1 | awk '{print $5}' | sed 's/[!@#\$%^&*()]//g'` output5=`df -lh | grep /dev/sda3 | awk '{print $5}' | sed 's/[!@#\$%^&*()]//g'` output2=`df -lh | grep /dev/sdb | awk '{print $5}...
by ghulam yaseen
Wed Dec 23, 2009 5:43 pm
Forum: Administration
Topic: Total memory
Replies: 2
Views: 1996

total memory calculations

i believe top command in Unix and linux OS gives individual application used memory.

Regards,
Ghulam Yaseen
http://friendspak.com
by ghulam yaseen
Tue Dec 22, 2009 9:42 pm
Forum: Administration
Topic: Samba Server Security issue
Replies: 3
Views: 2876

samba security server

Dear rmuhammadali,

try change this
security = SERVER to security = user or domain

and check if you have this line also

encrypt passwords = yes


Regards,
Ghulam Yaseen
http://friendspak.com
by ghulam yaseen
Tue Dec 08, 2009 12:34 pm
Forum: Administration
Topic: limiting ftp connection per nic mac address
Replies: 4
Views: 3018

proftpd configuration

w/salam, Dear Farrukh bhai, I am sure you taken my question in the firewall sense....but that's not it. It is that i get around ten thousands users connect to my ftp server every day from karachi only, my proftpd configuration restricts one connection per REAL IP and many users get one real IP and d...
by ghulam yaseen
Thu Nov 26, 2009 4:53 pm
Forum: Administration
Topic: limiting ftp connection per nic mac address
Replies: 4
Views: 3018

limiting ftp connection per nic mac address

Dear All, I am currently able to limit ftp connection per IP but since in an ISP envirment more than one user gets same ip address and are refused the connection due to one download per host, is it possible that we limit them using their MAC address......one download per mac address. Regards, Ghulam...
by ghulam yaseen
Mon Sep 28, 2009 9:20 am
Forum: Installation
Topic: Yum repositories to update or install package from ISO CDROM
Replies: 5
Views: 5795

Yum repositories to update or install package from ISO CDROM

Dear Shahid, This error [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')> means that your DNS are not confogired properly. Kindly check resolv.conf, Other wise with the heading of this thread Yum repositories to update or install package from ISO CDROM it seems that you...
by ghulam yaseen
Sat Sep 26, 2009 7:43 pm
Forum: Installation
Topic: Yum repositories to update or install package from ISO CDROM
Replies: 5
Views: 5795

yum error

Dear Shahid,

probably you need to delete /var/run/yum.pid, pkill -9 yum, /etc/init.d/yum-updatesd restart and then try again.


Regards,
Ghulam Yaseen
by ghulam yaseen
Fri Aug 21, 2009 8:16 pm
Forum: Administration
Topic: nagios plugin for Cacti
Replies: 1
Views: 3043

nagios plugin for Cacti

Dear All, I am trying to get working Nagios Plugin for cacti, but i am unable to see any data on NPC(Nagios Plugin for Cacti). I have the DB which contains all tables with npc_ extension. Seems like i have an issue with a PHP file but do not know what file. Any one knows how to resolve this issue Al...
by ghulam yaseen
Sun May 24, 2009 6:50 pm
Forum: Administration
Topic: recover deleted files
Replies: 2
Views: 3423

recover deleted files

Dear All,

Can i recover deleted file on linux