RE: [ilugd] help with utilities in linux
hi all, I would like to be straight to the point here. i was doing some file manipulations in linux and have a need for utilities which help me do the following two activities... 1. to be able to split a big file into different parts (not of similar sizes) for eg. a 1000 kb file split from 1-100kb, 100-123kb, 123-500kb,.etc... ('split' only does same sizes, 'cut' does only for one line, and not the whole file...!) not sure, but you can use dd 2. secondly, and more importantly, to download only a part of a big file from an ftp (or an http) server. i.e. download only 100-200kb from a 1Mb file from the net. ('wget' only restarts a partial download, doesnt seem to have an option for stopping a download at a particular point..) any ideas?? (a pointer to a shell/perl script, or a perl module would be fantastic too..!) ___ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd
[ilugd] Password Policy
Hi, I have some queries on the password policy. Please respond with whatever info you have on this. Here it is: Depending on the security level you want, password policy is decided/set at the time of installation. If it is set for not accepting dictionary words, the user passwords can not be set/changed based on the dictionary words. While setting the password, if it is a dictionary word, the system IMMEDIATELY responds with a message that the password is based on a dictionary word. I want to know how this dictionary based policy is stored on the system, how it can scan the full dictionary of thousands of words within fraction of second. I would like to know what kind of indexing logic is required/done for using this. If the system is installed for multiple languages, it checks for all the dictionaries for all the languages with the same lightening response. e.g. recently I tried to change my password on one of my websites with a spanish word (eg. cielo or uno) based password and I was refused immediately. Extending this further, if I have Indian languages like Hindi installed in the system, how the dictionary is stored/read for this purpose and also how the indexing/(sort order) is done for the respective dictionary. Please send me whatever info you have on this. Any books/Websites/reference material welcome.. Thanks in advance. -Sudhanwa ~!~!~!~!~!~!~!~!~!~!~ www.sudhanwa.com ~!~!~!~!~!~!~!~!~!~!~ ___ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd
RE: [ilugd] Password Policy
Don't know about how the dictionary is stored on Linux specifically, but you should read some Data Structure book (look for the data structure called TRIEs). I guess, that would be the indexing mechanism. Its a very powerful data structure and any word should take only : no_of_alphabets * no_of_characters in the worst case, where no_of_alphabets is the count of all the distinct alphabets that can form a word in the dictionary (naively, A-Z) and no_of_characters is the number of characters i your password (uno has 3). Regards, Venky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, June 28, 2003 12:14 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [ilugd] Password Policy Hi, I have some queries on the password policy. Please respond with whatever info you have on this. Here it is: Depending on the security level you want, password policy is decided/set at the time of installation. If it is set for not accepting dictionary words, the user passwords can not be set/changed based on the dictionary words. While setting the password, if it is a dictionary word, the system IMMEDIATELY responds with a message that the password is based on a dictionary word. I want to know how this dictionary based policy is stored on the system, how it can scan the full dictionary of thousands of words within fraction of second. I would like to know what kind of indexing logic is required/done for using this. If the system is installed for multiple languages, it checks for all the dictionaries for all the languages with the same lightening response. e.g. recently I tried to change my password on one of my websites with a spanish word (eg. cielo or uno) based password and I was refused immediately. Extending this further, if I have Indian languages like Hindi installed in the system, how the dictionary is stored/read for this purpose and also how the indexing/(sort order) is done for the respective dictionary. Please send me whatever info you have on this. Any books/Websites/reference material welcome.. Thanks in advance. -Sudhanwa ~!~!~!~!~!~!~!~!~!~!~ www.sudhanwa.com ~!~!~!~!~!~!~!~!~!~!~ ___ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd ___ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd
Re: [ilugd] help with utilities in linux
I think PHP can help you with the second problem. i remember it has a function fgets(filename/url, 4096). you can replace 4096 with any value you want to download upto. Hoe that helps. Akshay On Sat, 2003-06-28 at 08:06, Robins Tharakan wrote: hi all, I would like to be straight to the point here. i was doing some file manipulations in linux and have a need for utilities which help me do the following two activities... 1. to be able to split a big file into different parts (not of similar sizes) for eg. a 1000 kb file split from 1-100kb, 100-123kb, 123-500kb,.etc... ('split' only does same sizes, 'cut' does only for one line, and not the whole file...!) 2. secondly, and more importantly, to download only a part of a big file from an ftp (or an http) server. i.e. download only 100-200kb from a 1Mb file from the net. ('wget' only restarts a partial download, doesnt seem to have an option for stopping a download at a particular point..) any ideas?? (a pointer to a shell/perl script, or a perl module would be fantastic too..!) tia. affly robins ___ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd ___ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd
[ilugd] (no subject)
___ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd
[ilugd] ip range in dhcp in linux
hi all i have a linux server it is a leased line provider server and i want the close some ip address how can i do it plz send me details. thanks mukesh - Sify Mail - now with Anti-virus protection powered by Trend Micro, USA. Know more at http://mail.sify.com Sify Power mail- a Premium Service from Sify Mail! know more at http://mail.sify.com ___ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd