dear all
i have created a username on debian machine .now i want ssh to that
machine so there comes always root passwd
ssh 192.168.2.21
then shell ask for root passwd
but i want to login as user
ie ssh 192.168.2.21 arfan
but does not work
pls help
regards
[I'm going to keep this in the group, others deserve to see the answers.]
At 02:25 AM 4/17/01 +, Michael Mitchell wrote:
>Thanks again!
>
>Frequently need to do data validation, NT based intranet, SQL
>server. Using 32win perl, the Indigo Perl distribution.
>
>I know the tables, etc., have
On Mon, Apr 16, 2001 at 11:37:14AM -0700, Prentice, Phillip R wrote:
> Hello,
>
> I am fairly new to perl and am having problems matching a specific
> character. I want to be able to match the "_" character at the end of a
> string. For example, asume I have an array of strings with the followi
I need to create simple perl programs that modify
user's password on linux machine (using # usermod)
but I dunno how to use its pass encryption
thanx
or maybe there's another better approach on this
regards
gaga
__
Do You Yahoo!?
Get email at your
Everyone keeps giving regular expressions which include provision for the
characters before the '_'. No need. This will do nicely:
m/_$/...or just /_$/
Means: "Match a string that has '_' as the last character". You don't need to
explicitly deal with the preceeding characters if there
[Brought back to the group.]
>Thanks for asking the question. I trying to find the route used for making
>PERL a tool to test non-PERL apps.
Interesting. Well, I'd have to know a lot more about the type of
application you propose testing. If you're executing applications that
simply change
It REALLY helps me to verbally walk through a regex.
Your original one (m/$\w+\_/) says something like:
"match the end of the line ($) followed by one or more
word characters followed by ??? Not sure, because the
"_" doesn't need to be escaped. If you want to match
*any* string with the last cha
Ray,
The documentation at:
http://www.perl.com/pub/doc/FAQs/cgi/www-security-faq.html
is also a very good resource...
If I *too* may inflect a bit of hubris...
http://www.perlcgi-book.com
Good luck!
Brent
On Mon, Apr 16, 2001 at 08:37:09PM +0100, Nic LAWRENCE wrote:
> Thought I'd have a go at securing one of my scripts after Ray's question
> about security. When using "strict", I am told the following:
>
> Scalar value @views_keys[$k] better written as $views_keys[$k] at
> ./newremote2.pl line 32
At 08:48 PM 4/16/01 +0100, Nic LAWRENCE wrote:
>All becomes clear. Thanks.
BTW, I used the wrong section from perldiag below; I should have picked the
part on array slices for your example. But it's practically identical
except for [] instead of {} :-)
> > -Original Message-
> > From:
On Mon, Apr 16, 2001 at 08:37:09PM +0100, Nic LAWRENCE wrote:
> Thought I'd have a go at securing one of my scripts after Ray's question
> about security. When using "strict", I am told the following:
Actually, it's having warnings on that causes this, not strict. This,
incidentally, is a *good*
On Mon, Apr 16, 2001 at 08:37:09PM +0100, Nic LAWRENCE wrote:
: Thought I'd have a go at securing one of my scripts after Ray's question
: about security. When using "strict", I am told the following:
:
: Scalar value @views_keys[$k] better written as $views_keys[$k] at
: ./newremote2.pl line 327
At 08:37 PM 4/16/01 +0100, Nic LAWRENCE wrote:
>Thought I'd have a go at securing one of my scripts after Ray's question
>about security. When using "strict", I am told the following:
>
>Scalar value @views_keys[$k] better written as $views_keys[$k] at
>./newremote2.pl line 327.
>Scalar value @_[0
Thought I'd have a go at securing one of my scripts after Ray's question
about security. When using "strict", I am told the following:
Scalar value @views_keys[$k] better written as $views_keys[$k] at
./newremote2.pl line 327.
Scalar value @_[0] better written as $_[0] at ./newremote2.pl line 342
Geeze, these answers come in much faster than I can type...
I did want to check your use of an array... You're using hash access:
$array{0} = 'clk_n';
Shouldn't this be
$array[0] = 'clk_n';
-Original Message-
From: Prentice, Phillip R [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 16
On Mon, Apr 16, 2001 at 11:37:14AM -0700, Prentice, Phillip R wrote:
>
> I want to be able to match the "_" character at the end of a string.
> For example, asume I have an array of strings with the following data:
>
> $array{0} = "clk_n"
> $array{1} = "test_in_6_"
> $array{2} = "clk_out"
>
Phillip -
> I want to create a regular expression which will match $array{1} and not the
> others in the array. This is what I have so far.
>
> foreach (@array) {
> if(m/$\w+\_/) {
>print "Matched, $_\n";
> }
> }
To match at the end of the string, you should anchor with '$' at the end
Hello,
I am fairly new to perl and am having problems matching a specific
character. I want to be able to match the "_" character at the end of a
string. For example, asume I have an array of strings with the following
data:
$array{0} = "clk_n"
$array{1} = "test_in_6_"
$array{2} = "clk_out"
On Mon, Apr 16, 2001 at 11:39:50AM -0700, Peter Scott wrote:
: At 01:13 PM 4/16/01 -0400, Casey West wrote:
: >
: >WRT Perl, you can eliminate most major problems with the use of '-T'.
: >Make sure your CGIs start with these lines:
: >
: >#!/path/to/perl -wT
: >use strict;
: >
: >If you can get yo
At 09:07 AM 4/16/01 -0700, Michael Mitchell wrote:
>Currently I'm a strictly blackbox tester type, but see the utility of perl
>for testing. What would be the best resource for learning PERL pointing
>to that goal? That is, should I pay more attention to one area over another?
Are you talking
At 01:13 PM 4/16/01 -0400, Casey West wrote:
>On Mon, Apr 16, 2001 at 12:03:21PM -0600, Ray Calkins 100660207 wrote:
>: Hello All:
>:
>: I'm want to write a few CGI programs for my web site, but I've heard
>there are
>: some (unspecified) security issues with Perl and CGI. How can I avoid
>leav
Currently I'm a strictly blackbox tester type, but see the utility of perl for
testing. What would be the best resource for learning PERL pointing to that goal?
That is, should I pay more attention to one area over another?
-newbie mike
> What type CGI are you going to be writing?
Lots of different stuff I want to do, but I thought I'd start with a chat or
BBS-like script, as there seem to be a few availible to work from.
Ray Calkins
[EMAIL PROTECTED] [EMAIL PROTECTED]
"My opinions are my own, and do not reflect tho
Actually that's a good question which I should look in to myself too.
Especially seeing as I'm self taught .. (goes to check out the url you
gave)...
What type CGI are you going to be writing?
> -Original Message-
> From: Ray Calkins 100660207 [mailto:[EMAIL PROTECTED]]
> Sent: 16 April
On Mon, Apr 16, 2001 at 12:03:21PM -0600, Ray Calkins 100660207 wrote:
: Hello All:
:
: I'm want to write a few CGI programs for my web site, but I've heard there are
: some (unspecified) security issues with Perl and CGI. How can I avoid leaving
: myself open?
WRT Perl, you can eliminate mos
Hello All:
I'm want to write a few CGI programs for my web site, but I've heard there are
some (unspecified) security issues with Perl and CGI. How can I avoid leaving
myself open?
I have read http://www.csclub.uwaterloo.ca/u/mlvanbie/cgisec/ "CGI Security
Tutorial", but it's a little over m
Hi
At 09:19 PM 4/15/2001 -0400, Joel Burton wrote:
>On Sun, 15 Apr 2001, N@ta$ wrote:
>
> > -A Quake3Arena server
> > HAVE IT
> >
> > -An SQL database compatable with Perl:DBI:DBD and PHP4
> > CURRENTLY RUNNING PostgreSQL, but HAVE NOT INSTALLED DBI::DBD
> >
> > -Perl
> >R
Hi Arfan
Search www.perl.com
At 10:44 PM 4/15/2001 +0500, arfan wrote:
>hi to all
>i am very new in perl world pls tell me the site from where i can get
>all perl documentation and notes
>hoping reply
>arfan hmad rana
Arfan you are from where ?
Joel
Mumbai, India
--
28 matches
Mail list logo