List Info

Thread: Getting the Owner name of a file!




Getting the Owner name of a file!
country flaguser name
United States
2007-10-18 09:18:10

Hi there!

I have a problem. I want to get the owner Name of a file, but not the
uid. I must say i'm not a good hacker with this and i already tried
getpwnam. No i don't know about in what version getpwnam is
implemented but in my Perl 5.8.8. it is not.. and i can't upgrade
because my company sticks to this version.

So is there any other way to get an owner??

Thank you,
Gergely

__._,_.___
.

__,_._,___
Re: Getting the Owner name of a file!
country flaguser name
United States
2007-10-18 09:26:38

>>&gt;>> "skarlso777"; == skarlso777 < Gergely_Brautigam%40epam.com">Gergely_Brautigamepam.com> writes:

skarlso777> I have a problem. I want to get the owner Name of a file, but not
skarlso777> the uid. I must say i'm not a good hacker with this and i already
skarlso777&gt; tried getpwnam. No i don't know about in what version getpwnam is
skarlso777> implemented but in my Perl 5.8.8. it is not.. and i can't upgrade
skarlso777&gt; because my company sticks to this version.

It's definitely in *unix* Perl 5.8.8, because it was in unix Perl 3.0
(maybe even 2.0).

Are you on windows without telling us that?

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<; merlyn%40stonehenge.com">merlynstonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

__._,_.___
.

__,_._,___
RE: Getting the Owner name of a file!
country flaguser name
Hungary
2007-10-18 09:33:59

Ahhh... Yes i am.. i'm sorry i haven't thougth about that... it's
almost shifts end and i can't feel my brain Thank you for the quick
answer!

-----Original Message-----
From: Randal L. Schwartz [mailto: merlyn%40stonehenge.com">merlynstonehenge.com]
Sent: Thursday, October 18, 2007 4:27 PM
To: Gergely Brautigam
Cc: perl-beginner%40yahoogroups.com">perl-beginneryahoogroups.com
Subject: Re: [PBML] Getting the Owner name of a file!

>>&gt;>> "skarlso777"; == skarlso777 < Gergely_Brautigam%40epam.com">Gergely_Brautigamepam.com> writes:

skarlso777> I have a problem. I want to get the owner Name of a file,
skarlso777> but not the uid. I must say i'm not a good hacker with this
skarlso777> and i already tried getpwnam. No i don't know about in what
skarlso777> version getpwnam is implemented but in my Perl 5.8.8. it is
skarlso777> not.. and i can't upgrade because my company sticks to this
version.

It's definitely in *unix* Perl 5.8.8, because it was in unix Perl 3.0
(maybe even 2.0).

Are you on windows without telling us that?

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777
0095 < merlyn%40stonehenge.com">merlynstonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl
training!

__._,_.___
Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

New web site?

Drive traffic now.

Get your business

on Yahoo! search.

Yoga Groups

Exchange insights

with members of

the yoga community.

RE: Getting the Owner name of a file!
country flaguser name
Hungary
2007-10-19 03:48:04

On second thouth... I'd still have no clue how the get the owner of a
file in a windows environment without installing Win32 module which i
cannot because i don't have CL.exe which is a visual c++ compiler
tool... Any ideas???

Thank you in advice,
Gergely.

________________________________

From: perl-beginner%40yahoogroups.com">perl-beginneryahoogroups.com
[mailto: perl-beginner%40yahoogroups.com">perl-beginneryahoogroups.com] On Behalf Of Gergely Brautigam
Sent: Thursday, October 18, 2007 4:34 PM
To: Randal L. Schwartz
Cc: perl-beginner%40yahoogroups.com">perl-beginneryahoogroups.com
Subject: RE: [PBML] Getting the Owner name of a file!

Ahhh... Yes i am.. i'm sorry i haven't thougth about that... it's
almost shifts end and i can't feel my brain Thank you for the quick
answer!

-----Original Message-----
From: Randal L. Schwartz [mailto: merlyn%40stonehenge.com">merlynstonehenge.com
&lt;mailto:merlyn%40stonehenge.com> ]
Sent: Thursday, October 18, 2007 4:27 PM
To: Gergely Brautigam
Cc: perl-beginner%40yahoogroups.com">perl-beginneryahoogroups.com
<mailto:perl-beginner%40yahoogroups.com>
Subject: Re: [PBML] Getting the Owner name of a file!

>>&gt;>> "skarlso777"; == skarlso777 < Gergely_Brautigam%40epam.com">Gergely_Brautigamepam.com
<mailto:Gergely_Brautigam%40epam.com> > writes:

skarlso777> I have a problem. I want to get the owner Name of a file,
skarlso777> but not the uid. I must say i'm not a good hacker with this
skarlso777> and i already tried getpwnam. No i don't know about in what
skarlso777> version getpwnam is implemented but in my Perl 5.8.8. it is
skarlso777> not.. and i can't upgrade because my company sticks to this
version.

It's definitely in *unix* Perl 5.8.8, because it was in unix Perl 3.0
(maybe even 2.0).

Are you on windows without telling us that?

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777
0095 < merlyn%40stonehenge.com">merlynstonehenge.com <mailto:merlyn%40stonehenge.com> >
<;URL:http://www.stonehenge.com/merlyn/
<http://www.stonehenge.com/merlyn/> >
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl
training!

[Non-text portions of this message have been removed]

__._,_.___
.

__,_._,___
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )