Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-17-2005, 12:46 AM
|
#1
|
Member
Registered: Sep 2003
Location: Adelaide, Australia
Distribution: Fedora/RH
Posts: 231
Rep:
|
Qmail - Encrypted Passwords
Hi everyone,
I have been running a Qmail mail server for a few months already but now boss wants passwords and emails encrypted and not plain text.
Does anyone have any ideas how to do this? I am not really worried about the emails at this stage because we have told users to not store on the server anyways but the passwords I can understand is insecure. I have installed VqAdmin and it will show the text passwords for all users.
Any help would be great.
Ta
Chris
|
|
|
01-17-2005, 03:42 AM
|
#2
|
Member
Registered: May 2004
Location: Frisco, TX
Distribution: Debian Unstable
Posts: 73
Rep:
|
If you are asking how to encrypt authentication and sending of email then all you have to do is get/generate a SSL cert and enable TLS.
Are you using pop or imap? Which prog are you using for this?
|
|
|
01-17-2005, 07:04 PM
|
#3
|
Member
Registered: Sep 2003
Location: Adelaide, Australia
Distribution: Fedora/RH
Posts: 231
Original Poster
Rep:
|
no not really. When I go into Vqadmin I can see everyones passwords. They are stored somewhere in plain text. This concerns me as Im about to handover knowledge to somebody else and im not 100% sure if I want them to have access to everyones password. What I want is that those mail passwords be encrypted.
|
|
|
01-17-2005, 08:28 PM
|
#4
|
Member
Registered: Sep 2003
Location: Adelaide, Australia
Distribution: Fedora/RH
Posts: 231
Original Poster
Rep:
|
Ok I think im able to refine my question a bit more now after some looking around.
My server has the following file
/home/vpopmail/domains/etc.com/vpasswd
this file contain plain text passwords in them. eg password12
no encryption. How can I make sure these passwords are encrypted?
THanks for any help
|
|
|
01-21-2005, 03:58 PM
|
#5
|
Member
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736
Rep:
|
When you run --configure on vpopmail, you can pass an argument that will tell vpopmail whether you want plain-text passwords or not.
./configure --enable-clear-passwd=n
Check here for more info...
http://www.inter7.com/vpopmail/install.txt
|
|
|
01-21-2005, 04:11 PM
|
#6
|
Member
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561
Rep:
|
Keep in mind though, that if this person whom you do not fully trust has direct access, especially root access, to the server then they can read everyone's email manually directly out of the vpopmail mailboxes. If you are truly paranoid about this, then the best thing to do is too encrypt the actual email using something like GnuPGP. That way nobody, no matter what access they have to the server, can read the email except the person with the key.
|
|
|
01-23-2005, 06:50 PM
|
#7
|
Member
Registered: Sep 2003
Location: Adelaide, Australia
Distribution: Fedora/RH
Posts: 231
Original Poster
Rep:
|
Hi thanks for your replies. Yes im aware of this DaHammer but must do what boss wants right
What are the side affects of recompiling like this? Will I need to re-create the domain users etc?
|
|
|
01-23-2005, 07:12 PM
|
#8
|
Member
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736
Rep:
|
No. If you recompile and run make, make install-strip, it will not mess up anything that you have running now. However, you may want to review all of the available options for configure to see what other features you may want to adjust. For vpopmail, there are a bunch. Just run ./configure --help to see them all. Some of these options have a default value that you may not want. Post back here if you have questions about what these do.
But no, there are no side effects, but you may want to consider stopping qmail while you run the make commands.
|
|
|
01-23-2005, 07:13 PM
|
#9
|
Member
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736
Rep:
|
You know what... I may have spoken too soon. I seem to remember once upon a time, I changed mine from being encrypted to unencrypted and I seem to remember the ones I already had stored did not change. I think it's only done on the new accounts that are made afterwards. But don't quote me on that. It's been over a year ago.
|
|
|
06-25-2013, 02:11 AM
|
#10
|
LQ Newbie
Registered: Jun 2013
Location: India
Distribution: Ubuntu
Posts: 1
Rep: 
|
Hide the Password in vqadmin Web Panel
Running the below command will not effect the current configuration. It will remove the password coloum from vqadmin web panel.
Step 1) go to Vqadmin Setup folder
Step 2) Vim user.c
Comment the below line
#ifdef CLEAR_PASS
printf("<th><FONT face=%s color=\"%s\">Password</FONT></th>\n",face, fgcolor);
#ifdef CLEAR_PASS
printf("<td align=middle><FONT face=%s color=\"%s\">%s</FONT></td>\n",face, fgcolor, vpw->pw_clear_passwd);
Step 3)
./configure --enable-cgibindir=/var/www/cgi-bin --enable-htmldir=/var/www/html
Step 4)
make && make install-strip
|
|
|
All times are GMT -5. The time now is 03:46 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|