Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* What is passwd.pag?
@ 1998-06-17  4:00 Cameron Laird
  1998-06-17  4:00 ` Nikola Milutinovic
  0 siblings, 1 reply; 5+ messages in thread
From: Cameron Laird @ 1998-06-17  4:00 UTC (permalink / raw)



All of a sudden an enormous (14 megabyte) /etc/passwd.pag
appeared in my file system.  What is this?  I moved it
offline, and logins and related authentication all seem
fine.  Anyone know what this is about?
-- 

Cameron Laird           http://starbase.neosoft.com/~claird/home.html
claird@NeoSoft.com      +1 713 996 8546 FAX



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: What is passwd.pag?
  1998-06-17  4:00 What is passwd.pag? Cameron Laird
@ 1998-06-17  4:00 ` Nikola Milutinovic
  1998-06-18  4:00   ` Cameron Laird
  0 siblings, 1 reply; 5+ messages in thread
From: Nikola Milutinovic @ 1998-06-17  4:00 UTC (permalink / raw)



Cameron Laird wrote:
> 
> All of a sudden an enormous (14 megabyte) /etc/passwd.pag
> appeared in my file system.  What is this?  I moved it
> offline, and logins and related authentication all seem
> fine.  Anyone know what this is about?

Files:

/etc/passwd
/etc/passwd.dir
/etc/passwd.pag

The first is your "raw" password file. The other two are "hashed"
versions. Basically, if you have a lot of users, hashed password
database should speed up user lookup. If you use C2 security, the system
will try to use hashed version.

Still, I cannot understand how you got passwd.pag of 14 MB. What is the
size of passwd?

Removing passwd.dir & .pag shouldn't affect login ability and you should
ba able to re-create hashed versdions. I'm not sure which command would
do that (vipw, convauth, ?), but it gets built when I run account
manager.

Nix.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: What is passwd.pag?
  1998-06-18  4:00   ` Cameron Laird
@ 1998-06-18  4:00     ` Nikola Milutinovic
  1998-06-19  4:00     ` Allan Hawdon
  1 sibling, 0 replies; 5+ messages in thread
From: Nikola Milutinovic @ 1998-06-18  4:00 UTC (permalink / raw)



Cameron Laird wrote:
> 
> >/etc/passwd
> >/etc/passwd.dir
> >/etc/passwd.pag
> >
> >The first is your "raw" password file. The other two are "hashed"
> >versions. Basically, if you have a lot of users, hashed password
> >database should speed up user lookup. If you use C2 security, the system
> >will try to use hashed version.
> Good points.  Do you know where this is efficiently
> documented?

Digital UNIX has nice looking documentation, but nothing to sink your
teeth into. I'm collecting bits and pieces of info, here and there.

> >Still, I cannot understand how you got passwd.pag of 14 MB. What is the
> >size of passwd?
> Under a megabyte.

Under 1 MB? How "much under"? This is hashed version, maybe it just
expandes more on large files?

> I use adduser,removeuser,... from the command line.
> I had used vipw about a week before, but it doesn't
> look as though the passwd.pag dates from then.

With C2 Sec., when you run chsh it says: "Hashed password database not
used, only passwd updated". So, I'm not sure. What does man say about
it? Try also "man prpasswd".

Nix.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: What is passwd.pag?
  1998-06-17  4:00 ` Nikola Milutinovic
@ 1998-06-18  4:00   ` Cameron Laird
  1998-06-18  4:00     ` Nikola Milutinovic
  1998-06-19  4:00     ` Allan Hawdon
  0 siblings, 2 replies; 5+ messages in thread
From: Cameron Laird @ 1998-06-18  4:00 UTC (permalink / raw)



In article <3587D8DC.FBD4CFAA@EUnet.yu>,
Nikola Milutinovic  <milutinn@EUnet.yu> wrote:
			.
			.
			.
>/etc/passwd
>/etc/passwd.dir
>/etc/passwd.pag
>
>The first is your "raw" password file. The other two are "hashed"
>versions. Basically, if you have a lot of users, hashed password
>database should speed up user lookup. If you use C2 security, the system
>will try to use hashed version.
Good points.  Do you know where this is efficiently
documented?
>
>Still, I cannot understand how you got passwd.pag of 14 MB. What is the
>size of passwd?
Under a megabyte.
>
>Removing passwd.dir & .pag shouldn't affect login ability and you should
>ba able to re-create hashed versdions. I'm not sure which command would
>do that (vipw, convauth, ?), but it gets built when I run account
>manager.
I use adduser,removeuser,... from the command line.
I had used vipw about a week before, but it doesn't
look as though the passwd.pag dates from then.
>
>Nix.
>
>


-- 

Cameron Laird           http://starbase.neosoft.com/~claird/home.html
claird@NeoSoft.com      +1 713 996 8546 FAX



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: What is passwd.pag?
  1998-06-18  4:00   ` Cameron Laird
  1998-06-18  4:00     ` Nikola Milutinovic
@ 1998-06-19  4:00     ` Allan Hawdon
  1 sibling, 0 replies; 5+ messages in thread
From: Allan Hawdon @ 1998-06-19  4:00 UTC (permalink / raw)



In article <6mb3dd$p5f$1@Starbase.NeoSoft.COM>, claird@Starbase.NeoSoft.COM (Cameron Laird) writes:
> In article <3587D8DC.FBD4CFAA@EUnet.yu>,
> Nikola Milutinovic  <milutinn@EUnet.yu> wrote:
> 			.
> 			.
> 			.
>>/etc/passwd
>>/etc/passwd.dir
>>/etc/passwd.pag
>>
>>The first is your "raw" password file. The other two are "hashed"
>>versions. Basically, if you have a lot of users, hashed password
>>database should speed up user lookup. If you use C2 security, the system
>>will try to use hashed version.
> Good points.  Do you know where this is efficiently
> documented?

man mkpasswd

vipw runs this automatically when you exit





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-06-19  4:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-17  4:00 What is passwd.pag? Cameron Laird
1998-06-17  4:00 ` Nikola Milutinovic
1998-06-18  4:00   ` Cameron Laird
1998-06-18  4:00     ` Nikola Milutinovic
1998-06-19  4:00     ` Allan Hawdon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox