LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-19-2008, 03:31 AM   #1
rossx
LQ Newbie
 
Registered: Aug 2006
Posts: 9

Rep: Reputation: 0
Email account passwords for each domain on the server


Hi Everyone,

I am currently in the process of migrating all our our clients domains from one fedora core server to a faster server.

I have a list of all the clients email accounts etc and i'm moving them over with their home directories, but just wanted to ask if anyone knows where the email passwords for each user are stored. I have most of them in a spreadsheet but unfortunately I think some of them may have been changed and I never updated the spreadsheet.

If anyone know's where the passowrds are stored, that would be great.

( I know theres probrably a high chance that the passwords are encrypted, but I just want to know where they are stored, just in case there not ).

Ps: I looked around etc/postfix and checked the mysql databases to see if there's anything there but cannot find anything.

When I go into the users/groups application, it only displays info per domain.

Hope you can helps.

Thanks

Last edited by rossx; 08-19-2008 at 03:32 AM.
 
Old 08-19-2008, 03:50 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
If they are standard unix style accounts (ie genuine accounts, not just virtual users for postfix) then it will depend on your authentication system. Assuming you don't use anything fancy, they are probably in /etc/shadow, and yes, they are encrypted. Can you copy shadow across and re-use it? I don't know, but you could try it.
 
Old 08-19-2008, 09:13 AM   #3
rossx
LQ Newbie
 
Registered: Aug 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks for the info billymayday,

Each user has ftp so they are geniue accounts and I found them in the shadow file. Couldnt see the email accounts though but just per domain user.

I'll give this a try and test it out.

Thanks for the tip.
 
Old 08-19-2008, 05:43 PM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Generally mail systems either have their own accounts, for example virtual users, or use the system accounts like a I suspect you do (as do I)
 
Old 08-20-2008, 03:01 AM   #5
rossx
LQ Newbie
 
Registered: Aug 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Found out where the account passwords are stored for this system.

They're located in the following directory /etc/userdb/

They are encrypted, but i'm going to copy the folder over to the new server and see if this saves me having to enter the passwords in again for each email account once moved to the new server.

I'll keep you updated on how this goes, just incase this benefits other members of this forum.

Many thanks

Last edited by rossx; 08-20-2008 at 03:03 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to append domain in Account Name in Mail server packets Linux - Server 2 09-09-2007 09:01 PM
how to append domain in Account Name in Mail server packets Linux - Server 1 09-08-2007 07:32 PM
Multi-Server account creation or Domain accounts antony.booth Linux - Enterprise 5 01-17-2007 04:58 PM
Mail server on vanity domain that forwards to gmail account matt! Linux - Software 1 05-22-2006 12:54 PM
Sync MySQL passwords with local account passwords? turbine216 Linux - Software 2 02-18-2005 03:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration