Perl getpwent in Tru64 5.1


 
Thread Tools Search this Thread
Operating Systems HP-UX Perl getpwent in Tru64 5.1
# 1  
Old 12-12-2007
Perl getpwent in Tru64 5.1

Hello,

I want to check empty user password in a Perl script in Tru64 5.1.
What I am doing is something like this:

Code:
use User::pwent;
...
while ( my $ent = getpwent() ) {
   print $ent->passwd, "\n";
}

Running this script as a non-privileged user, the encrypted passwords will be '*'. I don't have access to root in the machine, so my doubt is: running the script in privileged user, the '*' passwords will be substituted with the encrypted passwords in auth.db file?

Note: Perl version is 5.8.0

Thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Tru64

Two part question, I was told that you can download Tru64 5.1b for free, is this true and if so where? Second part, could I load this on a XP Pro PC with vmware? (1 Reply)
Discussion started by: Troberts50
1 Replies

2. HP-UX

Tru64 Question

Could any one tell me if there are still any versions or tru64 that are currently supported by HP.. I have been all over and my last resort should have been my first place to look. I am using Tru64 v 4.0 and am thinking about upgrading to 5.1B, But due to contract issues it has to be supported and... (3 Replies)
Discussion started by: car2nst2006
3 Replies

3. UNIX for Dummies Questions & Answers

tru64

hi i am trying to get ssh server on tru64 5.1 can anyone help? thanks ed. (1 Reply)
Discussion started by: deusprogrammer
1 Replies

4. UNIX for Dummies Questions & Answers

Tru64-unix

Hello everybody I am new in TRU64 UNIX and i would really appreciate if somebody can help me with some info regarding the classification of the user rights of this OS. The types of user i know from previous experience in HP-UX 11 i is the root user or the superuser, the user admn that is the... (0 Replies)
Discussion started by: adak2010
0 Replies

5. HP-UX

HP-UX and Tru64

I had buy two old workstation: a Digital alpha 21164 and a HP C360... What version of tru64 on alpha and HP-UX on HP C360 run on those boxes? Where i can buy/download a small/workstation-base (if exists) version of those operating system ? Tnx in advance (1 Reply)
Discussion started by: antani
1 Replies

6. UNIX for Advanced & Expert Users

ps report (on tru64)

hi, i have 10 processes running on a tru64 machine with 16 cpu. when i am checking the states of these processes with ps command, i saw that almost never more than 3 of them are in the R(unning) state. (generally they are in the S(leeping) state). although there are many other processes... (3 Replies)
Discussion started by: yakari
3 Replies

7. UNIX for Dummies Questions & Answers

Cannot boot Tru64

Hi, I just got an AlphaServer DS10 in my lap with a note 'Fix it !'. It's just that I'm not very good with unix. Anyways, it seems like the osf_boot file is missing from root. I can boot the server in singel user mode with the Tru64 5.1 cd and from there open a console window. When I checked... (0 Replies)
Discussion started by: magher
0 Replies

8. UNIX for Dummies Questions & Answers

Top in Tru64

Hi all. Anyone know what permissions or anything is needed to give users the privileges to see top statistics information ? I ask this because I have a user on which I execute top from and display just this info load averages: 0.49, 0.47, 0.46 ... (3 Replies)
Discussion started by: fidodido
3 Replies

9. UNIX Desktop Questions & Answers

tru64 unix

Whick book would I get for dummies learning tru64, ie basics. thankyou (1 Reply)
Discussion started by: jacl
1 Replies
Login or Register to Ask a Question
bup-margin(1)						      General Commands Manual						     bup-margin(1)

NAME
bup-margin - figure out your deduplication safety margin SYNOPSIS
bup margin [options...] DESCRIPTION
bup margin iterates through all objects in your bup repository, calculating the largest number of prefix bits shared between any two entries. This number, n, identifies the longest subset of SHA-1 you could use and still encounter a collision between your object ids. For example, one system that was tested had a collection of 11 million objects (70 GB), and bup margin returned 45. That means a 46-bit hash would be sufficient to avoid all collisions among that set of objects; each object in that repository could be uniquely identified by its first 46 bits. The number of bits needed seems to increase by about 1 or 2 for every doubling of the number of objects. Since SHA-1 hashes have 160 bits, that leaves 115 bits of margin. Of course, because SHA-1 hashes are essentially random, it's theoretically possible to use many more bits with far fewer objects. If you're paranoid about the possibility of SHA-1 collisions, you can monitor your repository by running bup margin occasionally to see if you're getting dangerously close to 160 bits. OPTIONS
--predict Guess the offset into each index file where a particular object will appear, and report the maximum deviation of the correct answer from the guess. This is potentially useful for tuning an interpolation search algorithm. --ignore-midx don't use .midx files, use only .idx files. This is only really useful when used with --predict. EXAMPLE
$ bup margin Reading indexes: 100.00% (1612581/1612581), done. 40 40 matching prefix bits 1.94 bits per doubling 120 bits (61.86 doublings) remaining 4.19338e+18 times larger is possible Everyone on earth could have 625878182 data sets like yours, all in one repository, and we would expect 1 object collision. $ bup margin --predict PackIdxList: using 1 index. Reading indexes: 100.00% (1612581/1612581), done. 915 of 1612581 (0.057%) SEE ALSO
bup-midx(1), bup-save(1) BUP
Part of the bup(1) suite. AUTHORS
Avery Pennarun <apenwarr@gmail.com>. Bup unknown- bup-margin(1)