Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > how to change the effective user identficator

Reply
Thread Tools

how to change the effective user identficator

 
 
Daneel Yaitskov
Guest
Posts: n/a
 
      07-20-2008
Hi,


I can't change the EUID of a perl process which performs a perl script.
I used the manual perlsec and wrote the script:

#!/usr/bin/perl

use English '-no_match_vars';

$EUID = 0;
open(THEFILE, ">/var/log/messages") || die "can't open file";
print "The file was opened\n";
#end of the script

The script file has the rights:
$chown root:root test.pl
$chmod a+xs test.pl
The script gives the error "can't open file"


Daneel
 
Reply With Quote
 
 
 
 
Jürgen Exner
Guest
Posts: n/a
 
      07-20-2008
[Forwarding to CLPM because CLP is obsolete]

Daneel Yaitskov <> wrote:
>I can't change the EUID of a perl process which performs a perl script.
>I used the manual perlsec and wrote the script:
>
>#!/usr/bin/perl
>
>use English '-no_match_vars';
>
>$EUID = 0;
>open(THEFILE, ">/var/log/messages") || die "can't open file";
>print "The file was opened\n";
>#end of the script
>
>The script file has the rights:
>$chown root:root test.pl
>$chmod a+xs test.pl
>The script gives the error "can't open file"
>
>
>Daneel

 
Reply With Quote
 
 
 
 
Jürgen Exner
Guest
Posts: n/a
 
      07-20-2008
[Forwarding to CLPM because CLP is obsolete]

Daneel Yaitskov <> wrote:
>I can't change the EUID of a perl process which performs a perl script.
>I used the manual perlsec and wrote the script:
>
>#!/usr/bin/perl
>
>use English '-no_match_vars';
>
>$EUID = 0;
>open(THEFILE, ">/var/log/messages") || die "can't open file";
>print "The file was opened\n";
>#end of the script
>
>The script file has the rights:
>$chown root:root test.pl
>$chmod a+xs test.pl
>The script gives the error "can't open file"
>
>
>Daneel

 
Reply With Quote
 
Daneel Yaitskov
Guest
Posts: n/a
 
      07-20-2008
Jürgen Exner wrote:
> [Forwarding to CLPM because CLP is obsolete]



I don't know what is CLPM. I didn't find definition of CLPM or CLP in
manuals: perl, perltoc and perldoc CLPM. Please, hint where can I read
about it.



Daneel
 
Reply With Quote
 
Daneel Yaitskov
Guest
Posts: n/a
 
      07-20-2008
Jürgen Exner wrote:
> [Forwarding to CLPM because CLP is obsolete]



I don't know what is CLPM. I didn't find definition of CLPM or CLP in
manuals: perl, perltoc and perldoc CLPM. Please, hint where can I read
about it.



Daneel
 
Reply With Quote
 
Jürgen Exner
Guest
Posts: n/a
 
      07-20-2008
Daneel Yaitskov <> wrote:
>Jürgen Exner wrote:
>> [Forwarding to CLPM because CLP is obsolete]

>
>
>I don't know what is CLPM. I didn't find definition of CLPM or CLP in


comp.lang.perl.misc

comp.lang.perl has been rmgroup'ed and replaced with the
comp.lang.perl.* hierarchy over a decade ago.

>manuals: perl, perltoc and perldoc CLPM. Please, hint where can I read
>about it.


perldoc -q usenet

jue
 
Reply With Quote
 
Jürgen Exner
Guest
Posts: n/a
 
      07-20-2008
Daneel Yaitskov <> wrote:
>Jürgen Exner wrote:
>> [Forwarding to CLPM because CLP is obsolete]

>
>
>I don't know what is CLPM. I didn't find definition of CLPM or CLP in


comp.lang.perl.misc

comp.lang.perl has been rmgroup'ed and replaced with the
comp.lang.perl.* hierarchy over a decade ago.

>manuals: perl, perltoc and perldoc CLPM. Please, hint where can I read
>about it.


perldoc -q usenet

jue
 
Reply With Quote
 
mringrate mringrate is offline
Junior Member
Join Date: Sep 2008
Posts: 3
 
      09-15-2008
MAKE $250,000 IN WEEKS using PAYPAL

AS SEEN ON OPRAH AND 20/20
**Proven by various, highly-respected U.S. TV and Radio programs as
being 100% legal, feasible and true. **
**Oprah Winfrey and ABC's investigation team 20/20 also prove it can
be done.***

THIS REALLY CAN MAKE YOU EASY MONEY!! IT WORKS!!! BUT YOU HAVE TO
FOLLOW The LETTER FOR IT TO WORK!!!! THIS IS NOT A PYRAMID SCAM!! :
I came across an article similar to this that said you could make
thousands of dollars within weeks with only an initial investment of
$6.00!

...here's how!

PayPal verifies that this $6 investment program is 100% legal and is a
big hit this year see their note below or ask them directly...

For a simple investment of 15-30 minutes and just $6, it is 100% worth
it to make thousands so quickly. This is not another scam that takes
lots of your hard earned money; this is a no risk investment that will
make you thousands of dollars very easily and quickly.

Turn $6 into $15,000 in only 30 days...here's how! You have most
likely seen or heard about this project on TV programs such as 20/20
and Oprah or you may have read about it in the Wall Street Journal.

Here are the 4 easy steps to success:

STEP 1:
Take a few minutes to join PayPal: www.paypal.com

When creating your PayPal account make sure you use the same Email
address as your user name in the list below so people can send money
to your account.

STEP 2
Once you have a PayPal account running. Send $1.00 dollar donation
from your PayPal account to THE FIRST e-mail address on the list
along
with a note saying "Please add me to your list". Then use PayPal to
post $1 to EACH of the additional 5 Email Addresses below because you
pay people with an email address in PayPal.

To do this you may need to use a credit card, which is very easy, and
secure so nobody but PayPal may see it. If you don't have a credit
card show this great lucrative offer to someone that has one and get
them to help you pay the $6.

There are the 6 individual Email addresses that you have to send $1 to
through PayPal for this to work properly and for you to receive
money.

Now send $1 to each of these following emails. These email addresses
are PayPal IDs or usernames.

1)
2)
3)
4)
5)
6)

STEP 3
Now,... after paying $1.00 to each of the email placements above, take
the #1 Email Address off the list, move the other Email Addresses up
(6 becomes 5, 5 becomes 4, etc.) and add Your Email Address as number
6 on the list.

STEP 4
Change anything you need to, but try to keep this article as close to
the original as possible.
Now, post your amended article to at least 200 newsgroups (there are
thousands of groups).

And email your message to as many people you can. Remember, the more
you post and email the more money you make! This is perfectly legal!
You then insert your Email Address into the list and it will move up
geometrically. So that when your name reaches the #1 position you will
have potentially received thousands of dollars into your account!!!

HOW TO POST TO NEWS GROUPS:
Use Netscape or Internet Explorer and try searching for various
newsgroups (on-line forums, message boards, chat sites, discussions.)

Log on any search engine like yahoo.com, google.com, altavista.com,
excite.com, etc., then search with the subject ''millionaire message
board'' or ''money making message board'' or ''employment message
board'' or ''money making discussions'' or ''money making forum'' or
''business message board'' etc.

You will find thousands and thousands of message boards.

Click on them one by one and you will find the option 'post a new
message'. Then Post this article as a 'new message' by highlighting
the text of this letter and selecting copy then paste from the edit
menu.

Fill in the Subject, this will be the header that everyone sees as
they scroll through the list of postings in a particular group, click
the
post message button.

You're done with your first one! It only takes about 60 seconds to
complete postings on message boards after you catch on.

REMEMBER, THE MORE NEWSGROUPS YOU POST IN, THE MORE MONEY YOU WILL
MAKE!!

You will begin receiving money in your account from around the world
within days!
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
how to change the effective UID Daneel Yaitskov Perl Misc 6 07-30-2008 03:06 PM
how to change the effective user identficator Daneel Yaitskov Perl 0 07-20-2008 03:08 PM
Re : Java, JNI and UNIX root effective user id Phill Tadman Java 4 10-19-2003 03:19 PM
get effective and real user-ids in a setuid program in linux vimala C Programming 1 08-01-2003 03:29 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57