HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=21)
-   -   help scripting please (http://www.howtoforge.com/forums/showthread.php?t=42905)

mark2010 23rd January 2010 01:34

help scripting please
 
am new to Linux enviroment and i need your big help to start with :

scenario

" 1.To test whether user accounts have an empty password. If they
do, it sets a temporary password and forces the user to change the password at the next login.

2. to displays a summary of all accounts for which the password has been set. If no passwords have been set, the program displays a summary line, indicating no password is set. "


thank you

#!/bin/sh

till 23rd January 2010 17:06

How is this related to the myDNSConfig Control panel?

jhnmorrison9 12th October 2010 15:11

mydnsconfig.
 
Dear all,

I need your help for resolving an issue.
The application mydnsconfig is not accepting Arabic Domains can anyone help me please.

Previously i was using Domain Manager in that for arabic domains we have to convert IDN to ASCII code then it will accepts i have done this same thing but the mydnsconfig is not responding and the output is below.

ERROR1. Zone has a invalid format.

So please help me the champs. eagerly waiting for your reply.

jhnmorrison9 12th October 2010 15:28

Dears,

I came to know that mydnsconfig will accepting IDNcode can i know how to convert from arabic domain to IDN code.

for example: تجوالي.السعودية (xn--mgbfg1hsao.xn--mgberp4a5d4ar) this is ASCII code of arabic domain but how to convert it in to IDN code. Please help me out from this issue.

falko 13th October 2010 19:02

http://mct.verisign-grs.com/

jhnmorrison9 15th October 2010 03:00

Mydnsconfig
 
Dear Falko,

I need to ask you some thing about Mydnsconfig..

The question is why this application is not accepting Arabic Domains.

As i came to know that Mydnsconfig will accept IDN code for arabic domains but it was not responding.
Example: I did in this way (xn--mgbfg1hsao.xn--mgberp4a5d4ar)--- تجوالي.السعودية

I entered this code in the zone but Mydnsconfig responding me as the zone is not in the correct format. So please help me to resolve this issue....

falko 15th October 2010 17:40

I think you need to change the regex in interface/web/dns/form/dns_soa.tform.php. Maybe you can change

Code:

'origin' => array (
                        'datatype'        => 'VARCHAR',
                        'formtype'        => 'TEXT',
                        'validators'        => array (        0 => array (        'type'        => 'NOTEMPTY',
                                                                                                                'errmsg'=> 'origin_error_empty'),
                                                                                1 => array (        'type'        => 'UNIQUE',
                                                                                                                'errmsg'=> 'origin_error_unique'),
                                                                                2 => array (        'type'        => 'REGEX',
                                                                                                                'regex' => '/^[\w\.\-]{2,64}\.[a-zA-Z]{2,10}[\.]{0,1}$/',
                                                                                                                'errmsg'=> 'origin_error_regex'),

to

Code:

'origin' => array (
                        'datatype'        => 'VARCHAR',
                        'formtype'        => 'TEXT',
                        'validators'        => array (        0 => array (        'type'        => 'NOTEMPTY',
                                                                                                                'errmsg'=> 'origin_error_empty'),
                                                                                1 => array (        'type'        => 'UNIQUE',
                                                                                                                'errmsg'=> 'origin_error_unique'),
                                                                                2 => array (        'type'        => 'REGEX',
                                                                                                                'regex' => '/^[\w\.\-]{2,64}\.[a-zA-Z]{2,30}[\.]{0,1}$/',
                                                                                                                'errmsg'=> 'origin_error_regex'),



All times are GMT +2. The time now is 16:58.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.