LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-19-2014, 01:26 AM   #1
kalaia1986
LQ Newbie
 
Registered: May 2012
Posts: 3

Rep: Reputation: Disabled
Unhappy Could not open passwd file: /etc/squid/hpasswd


Could not open passwd file: /etc/squid/hpasswd
 
Old 11-20-2014, 09:09 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,908

Rep: Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016
Quote:
Originally Posted by kalaia1986 View Post
Could not open passwd file: /etc/squid/hpasswd
And are we supposed to guess as to what you're talking about? You provide NO DETAILS at all...version/district of linux, what you're trying to do, what you've done so far, versions over software, etc. Provide details or you can't get help.
 
Old 11-28-2014, 01:25 AM   #3
kalaia1986
LQ Newbie
 
Registered: May 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Problem squid proxy

I'm using redhat linux el5 32bit, i'm using squid proxy server, using chpassword notworking.

this is problem Could not open passwd file: /etc/squid/hpasswd
 
Old 11-28-2014, 09:31 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,908

Rep: Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016
Quote:
Originally Posted by kalaia1986 View Post
I'm using redhat linux el5 32bit, i'm using squid proxy server, using chpassword notworking.

this is problem Could not open passwd file: /etc/squid/hpasswd
Several things come to mind.
  • You're using Red Hat Enterprise...are you PAYING FOR IT??? RHEL is NOT free. If you're not paying, you have NOT applied any of the patches/bugfixes that may relate to whatever problem you're having.
  • What version of 5? Only 5.1x is still supported, and that support will end very soon.
  • Version of Squid?
  • How you installed Squid?
  • Are you running the command as root?
If you're not paying for RHEL, you need to either PAY, or use CentOS instead. If you go the CentOS route, install the latest 32bit version (6.x), and apply the updates/patches. RHEL5, in an unpatched/unsupported state is VERY insecure at this point. And since you're not providing all the details (still), I can only assume you mean you're using the chpasswd.cgi script, right? That program hasn't been updated since 2009, is five years out of date, and if you don't install it correctly, it won't work.

How did you install chpasswd?
 
Old 12-02-2014, 04:36 AM   #5
kalaia1986
LQ Newbie
 
Registered: May 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
linux services

Linux:
How to write a System init script to start, stop, and restart my own PHP application
 
Old 12-02-2014, 08:48 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,908

Rep: Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016
Quote:
Originally Posted by kalaia1986 View Post
Linux:
How to write a System init script to start, stop, and restart my own PHP application
You need to read the LQ Rules, please. Open new threads for new questions, and when you DO open a thread, you need to provide complete DETAILS. Also, this is not the place to come to get people to write scripts for you....if you're having problems with a script, post what YOU have written/tried, and tell us where you're stuck.

Otherwise, there are MANY bash-scripting tutorials you can find. You can also look at the EXISTING scripts, and start there. Since you've never posted a follow-up to your ORIGINAL question, if you want help, you're going to have to RESPOND to things clearly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Syncing shadow file with passwd file Issa1 Linux - Newbie 2 05-13-2012 08:12 PM
likewise open, passwd, samba permissions Linux.Girl Linux - General 1 12-19-2011 09:59 AM
[SOLVED] Deleted testuser from passwd file but squid still allows connections qwertyjjj Linux - Server 2 08-15-2009 11:46 AM
SQUID and /etc/passwd auth (with group?) pam? columb Linux - Server 1 03-02-2009 03:23 AM
open office document w/ passwd rmakers Linux - Software 7 03-11-2006 11:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:40 AM.

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