[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] RaQ4 -> RaQ550 passwords



Gerald,
	The files are in /var/db because libpwdb is used on the RAQ550s.

	Use the Perl Module "PWDB" (more info by typing "perldoc PWDB") to access
the files.  PWDB is a wrapper around the BTREE DBM functions but contains
lots of functions to easily update those files, without having to access the
DBM files directly.  If you know Perl, you can migrate the MD5 hash
passwords over after initially creating them.

	You can also use this program to easily read BTREE DBM files, just to do a
quick dump and see whats in there.

-- begin --
#!/usr/bin/perl

use strict ;
use DB_File ;
use vars qw( %h $k $v ) ;

tie %h, "DB_File", $ARGV[0], O_RDONLY, 0640, $DB_BTREE or die "Cannot open
file: $ARGV[0]: $!\n";

# print the contents of the file
while (($k, $v) = each %h)
{ print "$k -> $v\n" }

untie %h ;
-- end --

Hope this helps!  I've never used the CMU so I have no idea how it migrates
passwords.  I am planning on a RAQ550 -> RAQ550 move so I was going to use
the CMU.  I hope it will move the passwords!  Sun should allow the user
import/export to export the raw password hash too, I really don't know WHY
they make the password be the username or random, when it's easy to get the
hash instead.

Bill

-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Gerald Waugh
Sent: Friday, November 15, 2002 8:02 AM
To: Cobalt Users
Subject: Re: [cobalt-users] RaQ4 -> RaQ550 passwords


On Fri, 15 Nov 2002, Mailing List wrote:

> On 11/15/02 6:41 AM, "Gerald Waugh" wrote:
>
> > It's worse than I thought. I just created a new user on the 550, and he
is
> > not in /etc/passwd or /etc/shadow. So I guess the passwds are
elsewhere???
>
> Didn't someone say that they store users or passwords in the database on
the
> 550??
>
Yes, I found that out! /var/db/ But they are binary, you can't read those
files. I wonder if the CMU was supposed to migrate the passwords???

Gerald
--
http://frontstreetnetworks.com | http://raqware.com
Front Street Networks LLC  | Phone: +1 203-785-0699
229 Front Street, Ste. C, New Haven, CT. 06513-3203

_____________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users


begin 666 ATT00040.htm
M/"%$3T-465!%($A434P@4%5"3$E#("(M+R]7,T,O+T141"!(5$U,(#,N,B\O
M14XB/@T*/$A434P^#0H\2$5!1#X-"CQ-151!($A45% M15%5258](D-O;G1E
M;G0M5'EP92(@0T].5$5.5#TB=&5X="]H=&UL.R!C:&%R<V5T/5=I;F1O=W,M
M,3(U,B(^#0H\345402!.04U%/2)'96YE<F%T;W(B($-/3E1%3E0](DU3($5X
M8VAA;F=E(%-E<G9E<B!V97)S:6]N(#8N,"XT-#$W+C B/@T*/%1)5$Q%/E)%
M.B!;8V]B86QT+75S97)S72!285$T("TF9W0[(%)A434U,"!P87-S=V]R9',\
M+U1)5$Q%/@T*/"](14%$/@T*/$)/1%D^#0H\(2TM($-O;G9E<G1E9"!F<F]M
M('1E>'0O<&QA:6X@9F]R;6%T("TM/@T*#0H\4#X\1D].5"!325I%/3(^1V5R
M86QD+#PO1D].5#X-"@T*/$)2/B9N8G-P.R9N8G-P.R9N8G-P.R9N8G-P.R9N
M8G-P.R9N8G-P.R9N8G-P.R \1D].5"!325I%/3(^5&AE(&9I;&5S(&%R92!I
M;B O=F%R+V1B(&)E8V%U<V4@;&EB<'=D8B!I<R!U<V5D(&]N('1H92!205$U
M-3!S+CPO1D].5#X-"CPO4#X-"@T*/% ^)FYB<W [)FYB<W [)FYB<W [)FYB
M<W [)FYB<W [)FYB<W [)FYB<W [(#Q&3TY4(%-)6D4],CY5<V4@=&AE(%!E
M<FP@36]D=6QE("9Q=6]T.U!71$(F<75O=#L@*&UO<F4@:6YF;R!B>2!T>7!I
M;F<@)G%U;W0[<&5R;&1O8R!05T1")G%U;W0[*2!T;R!A8V-E<W,@=&AE(&9I
M;&5S+B9N8G-P.R!05T1"(&ES(&$@=W)A<'!E<B!A<F]U;F0@=&AE($)44D5%
M($1"32!F=6YC=&EO;G,@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