Sponsored Content
Operating Systems Linux Trouble setting up basic user authentication on apache2 web server Post 302933803 by LinuxIntern445 on Monday 2nd of February 2015 11:16:55 AM
Old 02-02-2015
Hey Corona, thanks alot for your help.

So I ran that command , and got the following:

./htpasswd2.1: troff or preprocessor input text

As for the htpasswd, I read a couple other forums and someone said if you are using apache2, it should be htpasswd2. The only thing with that is, I have a htpasswd2.1 and no htpasswd to be found.

I ran that command as you suggested, and nothing is coming up

whereis htpasswd
htpasswd:
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

setting up web server

Is there any good resources for setting up a unix web server, I mean starting with the basics for a extremely new newbie. Thanks Scott (1 Reply)
Discussion started by: supastar
1 Replies

2. UNIX for Dummies Questions & Answers

setting up web server on Red hat 7.2

hi I was successful in installing redhat 7.2 with no problems or error =) (first try) and It took me about 40 minutes to install it on a p233 mmx. It's running Gnome. I have some issues which I'm unsure of how to deal with. 1.How do I install an apache server, or is there one simular that... (11 Replies)
Discussion started by: Special K
11 Replies

3. UNIX for Dummies Questions & Answers

Need dummies guide to setting up Web server...

Hiya All, Hope you can help! I need a Dummies guide to setting up a Web server. I hope you have some good URLs or advice etc. I now finally have: 1. "Web Server" - Fedora Core3 onto my Spare PC. 2. Windows XP laptop 3. Basic Web site set up via Front Page - to upload onto Web... (5 Replies)
Discussion started by: marty 600
5 Replies

4. Shell Programming and Scripting

Having trouble writing a basic shell program

Hello. I'm trying to write a shell script that will take files that have .tar, .tar.gz, .tar.Z, .gz, .Z and .zip file extensions and uncompress and unarchive them. The script should be able to take multiple arguments. So far I can write a script using the case command that will do this but it will... (3 Replies)
Discussion started by: SeanWuzHere
3 Replies

5. Ubuntu

Trouble setting up Java classpath

Saw an error while setting up an application called i2phex: # ./run.sh java.lang.RuntimeException: Failed to initialize phex.net.repres.i2p.I2PPresentationManager at phex.common.ManagerController.initializeManagers(ManagerController.java:78) at phex.Main.main(Main.java:161)After... (0 Replies)
Discussion started by: Israel213
0 Replies

6. UNIX for Dummies Questions & Answers

Trouble setting up a shared folder

I'm trying to set up a folder in my home directory that will be shared with another user but for some reason it is not working this is what I've done, I have tried two different ways using ACL's and chown/chgrp etc I set up a group called say: sharedgroup and added both my user (john) and fred... (3 Replies)
Discussion started by: 14952john
3 Replies

7. Shell Programming and Scripting

Trouble with setting a variable with vastool

Hi I have this command that when put on the command line it returns the output the way I want it. /opt/quest/bin/vastool list -a groups | grep testdev_li | grep dev | awk -F"" 'NF>2{print $2}' | cut -c2- | tr '\n' '|' The output of this is ... (2 Replies)
Discussion started by: ajetangay
2 Replies

8. What is on Your Mind?

Visualizing MySQL Session : Web Server User Behavior at UNIX.com

Visualizing MySQL Session - Web Server User Behavior The video in this post shows unix.com forum user session information in a way that has never been visualized before. I plan to enrich this visualization significantly in the future - it's currently just a first beta. RWBeylgjOqs (0 Replies)
Discussion started by: Neo
0 Replies

9. Solaris

User authentication failed while log in Solaris 8 client on Linux NIS server.

Based on the NIS migration tests I did and another question I posted earlier on. https://www.unix.com/solaris/272021-solaris-8-md5-encryption-support.html I tried to downgrade NIS linux encryption to DES to support solaris connection. So I modified /etc/pam.d/system-auth as below, password... (0 Replies)
Discussion started by: bestard
0 Replies
PasswdMD5(3pm)						User Contributed Perl Documentation					    PasswdMD5(3pm)

NAME
Crypt::PasswdMD5 - Provides interoperable MD5-based crypt() functions SYNOPSIS
use Crypt::PasswdMD5; $cryptedpassword = unix_md5_crypt($password, $salt); $apachepassword = apache_md5_crypt($password, $salt); DESCRIPTION
the "unix_md5_crypt()" provides a crypt()-compatible interface to the rather new MD5-based crypt() function found in modern operating systems. It's based on the implementation found on FreeBSD 2.2.[56]-RELEASE and contains the following license in it: "THE BEER-WARE LICENSE" (Revision 42): <phk@login.dknet.dk> wrote this file. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp "apache_md5_crypt()" provides a function compatible with Apache's ".htpasswd" files. This was contributed by Bryan Hart <bryan@eai.com>. As suggested by William A. Rowe, Jr. <wrowe@lnd.com>, it is exported by default. For both functions, if a salt value is not supplied, a random salt will be generated. Contributed by John Peacock <jpeacock@cpan.org>. EXPORT None by default. HISTORY
$Id: PasswdMD5.pm,v 1.3 2004/02/17 11:21:38 lem Exp $ 19980710 luismunoz@cpan.org: Initial release 19990402 bryan@eai.com: Added apache_md5_crypt to create a valid hash for use in .htpasswd files 20001006 wrowe@lnd.com: Requested apache_md5_crypt to be exported by default. 20010706 luismunoz@cpan.org: Use Digest::MD5 instead of the (obsolete) MD5. $Log: PasswdMD5.pm,v $ Revision 1.3 2004/02/17 11:21:38 lem Modified the POD so that ABSTRACT can work Added usage example for apache_md5_crypt() Revision 1.2 2004/02/17 11:04:35 lem Added patch for random salts from John Peacock (Thanks John!) De-MS-DOS-ified the file Replaced some '' with q// to make Emacs color highlighting happy Added CVS docs Completed the missing sections of the POD documentation Changed my email address to the Perl-related one for consistency The file is now encoded in ISO-8859-1 LICENSE AND WARRANTY
This code and all accompanying software comes with NO WARRANTY. You use it at your own risk. This code and all accompanying software can be used freely under the same terms as Perl itself. AUTHOR
Luis E. Mu[ntilde]oz <luismunoz@cpan.org> SEE ALSO
perl(1). perl v5.12.4 2011-08-30 PasswdMD5(3pm)
All times are GMT -4. The time now is 09:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy