Ascend Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (ASCEND) Preventing spaces in usernames.



On Thu, 6 Aug 1998, Phillip Grasso wrote:

> How do I prevent users logging in with Spaces in their
> usernames?
> with Ascend radius.

I guess it's safer for you to prevent it when REGISTERING the user on your
system. If you want to do it with Radius, you should execute an external
script, for example, in Perl with something like that (I did it on the fly):

	#!/usr/bin/perl
	$login = "some one";
	if ($login =~ / /g) {
	 print "It contains spaces, let's not allow!\n";
	} else {
	 print "Login ok!";
	}
	exit;

Best Regards,
  Daniel Lafraia
=============================================================================
 IRON Informatica Ltda		Santos	    TEL/FAX: (013) 289-1020 --------
 Diretor Tecnico	       Sao Paulo     http://www.iron.com.br -------
 lafraia@iron.com.br	     	Brasil      YOUR INTERNET PROVIDER! ------
-------------------------------------------------------------------------

++ Ascend Users Mailing List ++
To unsubscribe:	send unsubscribe to ascend-users-request@bungi.com
To get FAQ'd:	<http://www.nealis.net/ascend/faq>


References: