Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Encrypted Password

0 views
Skip to first unread message

Chris Morris

unread,
Apr 20, 2004, 4:05:47 PM4/20/04
to
Is there a way to retrive passwords from a server for users? I'm helping a
friend move his box to a outsourse provider and need to retrive the
passwords for all the accounts on the system. I'm thinking that this is
going to be a no go, but had to ask anyway. Thanks. Chris Morris

Alexander Dalloz

unread,
Apr 20, 2004, 4:31:28 PM4/20/04
to

Maybe I miss something, but why don't you just backup and copy the up to
now used passwd + shadow + group + gshadow files?

Getting the real password from the encrypted needs brute force attack on
them and that can take quite a long time if they are not mostly trivial,
if you ever get a result.

Alexander


--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653

Chris Morris

unread,
Apr 21, 2004, 8:39:11 AM4/21/04
to
Alexander Dalloz <alexande...@uni-bielefeld.de> wrote in
news:pan.2004.04.20....@uni-bielefeld.de:

> Maybe I miss something, but why don't you just backup and copy the up
> to now used passwd + shadow + group + gshadow files?
>
> Getting the real password from the encrypted needs brute force attack
> on them and that can take quite a long time if they are not mostly
> trivial, if you ever get a result.
>
> Alexander
>
>

Thanks, thats what I was thinking. Oh well just best to reset there
passwords then. Thanks again. Chris

Joel

unread,
May 21, 2004, 12:22:27 AM5/21/04
to
I don't understand why you wouldn't copy over the /etc/passwd, /etc/shadow
and /etc/group file over to the new server. We do that all the time. If your
moving people one at a time, just build the new user account and give them a
junk password. Then cut the old password from /etc/shadow and paste it over
the new one. It will work just fine. there is really no reason for you to
know all your user passwords and cause them grief. Normally we do server
jumps and our users never know the difference..

Joel

"Chris Morris" <jcmor...@yahoo.com> wrote in message
news:40866b6f$0$77170$9a6e...@news.newshosting.com...

0 new messages