* D/UX passwords -> Linux
@ 1999-05-07 20:19 Jason.Pincin
1999-05-08 4:09 ` Bill Roman
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Jason.Pincin @ 1999-05-07 20:19 UTC (permalink / raw)
To: axp-list
Hi again,
Has anyone on this list ever tackled the problem of migrating
Digital Unix 3.2c's password database to Linux? Not sure how I'm going to
handle this in the transition to Linux without re-keying in a ton of users
and re-asigning passwords to everyone... not an option really...
Any suggestions would be greatly appreciated.
Jason Pincin
Systems Engineer
RHCE
The Networks, Inc.
http://networks.net
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: D/UX passwords -> Linux
1999-05-07 20:19 D/UX passwords -> Linux Jason.Pincin
@ 1999-05-08 4:09 ` Bill Roman
1999-05-09 17:03 ` Paul Jakma
1999-05-10 13:52 ` Robert Bowles
2 siblings, 0 replies; 10+ messages in thread
From: Bill Roman @ 1999-05-08 4:09 UTC (permalink / raw)
To: axp-list
Jason.Pincin@networks.net wrote:
>
> Has anyone on this list ever tackled the problem of migrating
> Digital Unix 3.2c's password database to Linux? Not sure how I'm going to
> handle this in the transition to Linux without re-keying in a ton of users
> and re-asigning passwords to everyone... not an option really...
I don't know enough about DU to know whether "password database" might
imply something more than /etc/passwd in your case. I do know that
I've taken a line from /etc/passwd on a system running some version
of DU (sorry, I've never paid attention to what version) and put it
in /etc/passwd on Alpha Linux, and the DU password then worked fine
under Linux.
--
Bill Roman (roman@songdog.eskimo.com / roman@songdog.uucp) running linux
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: D/UX passwords -> Linux
1999-05-07 20:19 D/UX passwords -> Linux Jason.Pincin
1999-05-08 4:09 ` Bill Roman
@ 1999-05-09 17:03 ` Paul Jakma
1999-05-10 13:52 ` Robert Bowles
2 siblings, 0 replies; 10+ messages in thread
From: Paul Jakma @ 1999-05-09 17:03 UTC (permalink / raw)
To: axp-list
On Fri, 7 May 1999 Jason.Pincin@networks.net wrote:
Hi again,
Has anyone on this list ever tackled the problem of migrating
Digital Unix 3.2c's password database to Linux? Not sure how I'm going to
handle this in the transition to Linux without re-keying in a ton of users
and re-asigning passwords to everyone... not an option really...
Any suggestions would be greatly appreciated.
keep the password file on the D/UX machine, and use NIS or better
NIS+ to distribute it to clients on the network.
(or is linux going to run on the machine currently running D-UX?)
--
Paul Jakma
paul@clubi.ie http://hibernia.clubi.ie
PGP5 key: http://www.clubi.ie/jakma/publickey.txt
-------------------------------------------
Fortune:
"We all know Linux is great...it does infinite loops in 5 seconds."
(Linus Torvalds about the superiority of Linux on the Amterdam
Linux Symposium)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: D/UX passwords -> Linux
1999-05-07 20:19 D/UX passwords -> Linux Jason.Pincin
1999-05-08 4:09 ` Bill Roman
1999-05-09 17:03 ` Paul Jakma
@ 1999-05-10 13:52 ` Robert Bowles
1999-05-10 16:59 ` Michal Jaegermann
2 siblings, 1 reply; 10+ messages in thread
From: Robert Bowles @ 1999-05-10 13:52 UTC (permalink / raw)
To: axp-list
I'm assuming that a DU-3.2c passwd-db is _very_ different
(doesn't use crypt)...
-- Login snooping (please use responsibly)
I'm guessing that users are (for example):
1. telnet'ing into this machine, which...
2. connects them to some variant of inetd, which...
3. spawns a telnetd, which...
4. uses a common auth facility (ie. 'login')
All you'd need is a wrapper around 'login' which calls
crypt and writes 'username:crypted-passwd' to _some_file_.
On Fri, May 07, 1999 at 04:19:41PM -0400, Jason.Pincin@networks.net wrote:
>
> Hi again,
>
> Has anyone on this list ever tackled the problem of migrating
> Digital Unix 3.2c's password database to Linux? Not sure how I'm going to
> handle this in the transition to Linux without re-keying in a ton of users
> and re-asigning passwords to everyone... not an option really...
>
> Any suggestions would be greatly appreciated.
>
> Jason Pincin
> Systems Engineer
> RHCE
> The Networks, Inc.
> http://networks.net
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
>
--
void rbowles(int sig)
{
signal(sig, rbowles);
raise(sig);
}
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: D/UX passwords -> Linux
1999-05-10 13:52 ` Robert Bowles
@ 1999-05-10 16:59 ` Michal Jaegermann
0 siblings, 0 replies; 10+ messages in thread
From: Michal Jaegermann @ 1999-05-10 16:59 UTC (permalink / raw)
To: rbowles; +Cc: axp-list
Robert Bowles wrote:
>
> I'm assuming that a DU-3.2c passwd-db is _very_ different
> (doesn't use crypt)...
IIRC some old experience this assumption is wrong. I mean that
apart of a database also exists /etc/passwd and is using a regular
crypt so it is possible to copy-and-paste between Linux and DU
(make sure that you use vipw on DU side - it does more than simple
locking).
This does not exclude, of course, a possibility that some other
password maitenance schemes on DU do exist; also on Linux side one
may use some alternative PAM module (pam_smb, for example, to
authenticate from NT server) so there is no guarantee that the
same encryption will be used on both ends. OTOH it is really
simple to check if this is the case in some particular situation
just using few accounts with known passwords.
Michal
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: D/UX passwords -> Linux
@ 1999-05-10 12:07 Jason.Pincin
1999-05-10 21:01 ` Paul Jakma
0 siblings, 1 reply; 10+ messages in thread
From: Jason.Pincin @ 1999-05-10 12:07 UTC (permalink / raw)
To: axp-list
> keep the password file on the D/UX machine, and use NIS or better
> NIS+ to distribute it to clients on the network.
> (or is linux going to run on the machine currently running D-UX?)
Yes. Linux will be replacing D/UX on that Alpha 2100 server... :) Any
thoughts?
-----Original Message-----
From: Paul Jakma [mailto:paul@clubi.ie]
Sent: Sunday, May 09, 1999 1:04 PM
To: axp-list@redhat.com
Subject: Re: D/UX passwords -> Linux
On Fri, 7 May 1999 Jason.Pincin@networks.net wrote:
Hi again,
Has anyone on this list ever tackled the problem of migrating
Digital Unix 3.2c's password database to Linux? Not sure how I'm going to
handle this in the transition to Linux without re-keying in a ton of users
and re-asigning passwords to everyone... not an option really...
Any suggestions would be greatly appreciated.
keep the password file on the D/UX machine, and use NIS or better
NIS+ to distribute it to clients on the network.
(or is linux going to run on the machine currently running D-UX?)
--
Paul Jakma
paul@clubi.ie http://hibernia.clubi.ie
PGP5 key: http://www.clubi.ie/jakma/publickey.txt
-------------------------------------------
Fortune:
"We all know Linux is great...it does infinite loops in 5 seconds."
(Linus Torvalds about the superiority of Linux on the Amterdam
Linux Symposium)
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: D/UX passwords -> Linux
1999-05-10 12:07 Jason.Pincin
@ 1999-05-10 21:01 ` Paul Jakma
1999-05-11 10:35 ` Miguel Barreiro Paz
0 siblings, 1 reply; 10+ messages in thread
From: Paul Jakma @ 1999-05-10 21:01 UTC (permalink / raw)
To: axp-list
On Mon, 10 May 1999 Jason.Pincin@networks.net wrote:
> keep the password file on the D/UX machine, and use NIS or better
> NIS+ to distribute it to clients on the network.
> (or is linux going to run on the machine currently running D-UX?)
Yes. Linux will be replacing D/UX on that Alpha 2100 server... :) Any
thoughts?
99% certain you can copy the passwords from one to the other. crypt()
should be the same on both. It uses DES after all, which is a govt
Standard (the s in des), and crypt() is also governed by the X/OPEN
unix standard as using DES.
Perhaps you can even copy the complete password file over. Just
delete the system accounts and append it to the fresh linux one.
Linux's password is just a standard UNIX password format. the only
catch is variable lengths - so you'd need to check it carefully. (eg
DU allows much larger values for UID than linux)
regards,
--
Paul Jakma
paul@clubi.ie http://hibernia.clubi.ie
PGP5 key: http://www.clubi.ie/jakma/publickey.txt
-------------------------------------------
Fortune:
Let the machine do the dirty work.
-- "Elements of Programming Style", Kernighan and Ritchie
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: D/UX passwords -> Linux
1999-05-10 21:01 ` Paul Jakma
@ 1999-05-11 10:35 ` Miguel Barreiro Paz
1999-05-11 11:14 ` Matti Aarnio
0 siblings, 1 reply; 10+ messages in thread
From: Miguel Barreiro Paz @ 1999-05-11 10:35 UTC (permalink / raw)
To: axp-list
> > keep the password file on the D/UX machine, and use NIS or better
> > NIS+ to distribute it to clients on the network.
> > (or is linux going to run on the machine currently running D-UX?)
>
> Yes. Linux will be replacing D/UX on that Alpha 2100 server... :) Any
> thoughts?
>
> 99% certain you can copy the passwords from one to the other. crypt()
> should be the same on both. It uses DES after all, which is a govt
> Standard (the s in des), and crypt() is also governed by the X/OPEN
> unix standard as using DES.
Tru64 - or whatever OSF1 is called this week - can store passwords
in several formats, as debian and, I assume, redhat can. Plain passwd file
will probably be compatible; they can be stored in dbm or dbz or similar
databases, and these are more unlikely to be directly readable from Linux.
You could try converting from dbm to plain file in the DU box, and then
using the file in Linux (or converting that again to db* from Linux).
Regards,
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: D/UX passwords -> Linux
1999-05-11 10:35 ` Miguel Barreiro Paz
@ 1999-05-11 11:14 ` Matti Aarnio
0 siblings, 0 replies; 10+ messages in thread
From: Matti Aarnio @ 1999-05-11 11:14 UTC (permalink / raw)
To: axp-list
(attributions lost in editing, sorry)
> Tru64 - or whatever OSF1 is called this week - can store passwords
> in several formats, as debian and, I assume, redhat can. Plain passwd file
> will probably be compatible; they can be stored in dbm or dbz or similar
> databases, and these are more unlikely to be directly readable from Linux.
> You could try converting from dbm to plain file in the DU box, and then
> using the file in Linux (or converting that again to db* from Linux).
The /etc/passwd.{pag,dir} is trivial db version of the /etc/passwd
text file -- each entry is there twice: once keyed with character string
(username), and once with UID. (getpwnam(), getpwuid())
The PASSWORD encryption, however, might be a difficult case.
Tru64 has at least two ways to encrypt passwords:
- classical UNIX crypt()
- SecureWare bigcrypt()
I don't recall having seen BSD popularized md5crypt() in the repertoire.
Passwords encrypted with the classical one are trivially copyable over,
but passwords encrypted with SecureWare are definitely incompatible.
In SECURED (C2) mode, the system uses sort of 'shadow' password system,
and passwords are stored under "Trusted Computing Base" subsystem; under
"/tcb/files/" directory...
So, if you have passwords stored into /etc/passwd *file* for everybody
to copy, you can copy that file very likely straight over to Linux.
However if you have secured environment in running, you can't use those
passwords. (This is based on assumptions about system not using
bigcrypt() without C2 being enabled... I could be wrong, I am not
fulltime Tru64 ISSO -- Security Officer.)
> Regards,
/Matti Aarnio <matti.aarnio@sonera.fi>
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: D/UX passwords -> Linux
@ 1999-05-11 12:49 Jason.Pincin
0 siblings, 0 replies; 10+ messages in thread
From: Jason.Pincin @ 1999-05-11 12:49 UTC (permalink / raw)
To: axp-list
Thanks. I did figure it out. While the password crypts were the same, and
I was able to plug them into a linux shadow file, It's not going to be as
easy as appending the file. D/UX isn't using straight /etc/passwd, it's
using it's "Protected Passwords". So the passwords are scattered throughout
single letter directories in /tcb. I juts hafta write a simple script that
will gateher them all up, and do readlines from /etc/passwd, and stuff the
right passwd in where needed.
Thanks!
Jason
-----Original Message-----
From: Paul Jakma [mailto:paul@clubi.ie]
Sent: Monday, May 10, 1999 5:01 PM
To: axp-list@redhat.com
Subject: RE: D/UX passwords -> Linux
On Mon, 10 May 1999 Jason.Pincin@networks.net wrote:
> keep the password file on the D/UX machine, and use NIS or better
> NIS+ to distribute it to clients on the network.
> (or is linux going to run on the machine currently running D-UX?)
Yes. Linux will be replacing D/UX on that Alpha 2100 server... :) Any
thoughts?
99% certain you can copy the passwords from one to the other. crypt()
should be the same on both. It uses DES after all, which is a govt
Standard (the s in des), and crypt() is also governed by the X/OPEN
unix standard as using DES.
Perhaps you can even copy the complete password file over. Just
delete the system accounts and append it to the fresh linux one.
Linux's password is just a standard UNIX password format. the only
catch is variable lengths - so you'd need to check it carefully. (eg
DU allows much larger values for UID than linux)
regards,
--
Paul Jakma
paul@clubi.ie http://hibernia.clubi.ie
PGP5 key: http://www.clubi.ie/jakma/publickey.txt
-------------------------------------------
Fortune:
Let the machine do the dirty work.
-- "Elements of Programming Style", Kernighan and Ritchie
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~1999-05-11 13:36 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-07 20:19 D/UX passwords -> Linux Jason.Pincin
1999-05-08 4:09 ` Bill Roman
1999-05-09 17:03 ` Paul Jakma
1999-05-10 13:52 ` Robert Bowles
1999-05-10 16:59 ` Michal Jaegermann
-- strict thread matches above, loose matches on Subject: below --
1999-05-10 12:07 Jason.Pincin
1999-05-10 21:01 ` Paul Jakma
1999-05-11 10:35 ` Miguel Barreiro Paz
1999-05-11 11:14 ` Matti Aarnio
1999-05-11 12:49 Jason.Pincin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox