Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-24-2009, 12:49 AM   #1
Registered: Nov 2009
Posts: 49

Rep: Reputation: 15
Uncertain about line code

The code below is used to create a nagiosadmin account for logging into the Nagios web interface

htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
I am now using PCLinuxOS as the monitoring host (where nagios is installed). PCLinuxOS returns this error :

bash: htpasswd: command not found

when I type that line.

How do I resolve this issue?
Old 12-24-2009, 01:19 AM   #2
LQ Newbie
Registered: May 2009
Posts: 4

Rep: Reputation: 0
Check if the executable for htpasswd exists on the system
"whereis htpasswd"
htpasswd is generally found in /usr/bin/htpasswd

Also check if you have proper permissions.Generally the permissions are 755.


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
LXer: Future Uncertain LXer Syndicated Linux News 0 04-23-2009 03:30 AM
LXer: The Future Of UT3 On Linux Appears Uncertain LXer Syndicated Linux News 0 04-10-2009 02:30 AM
Error in Perl Code : Bad switch statement(Problem in code block)? near ## line # suyog255 Programming 4 02-20-2008 05:35 PM
continue a line of code to next line? geeyathink Programming 16 01-30-2008 02:30 AM
line of code indiancosmonaut Solaris / OpenSolaris 5 08-29-2007 04:25 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:45 PM.

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