LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-24-2009, 01:49 AM   #1
anaigini45
Member
 
Registered: Nov 2009
Posts: 43

Rep: Reputation: 15
Uncertain about line code


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

Code:
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, 02:19 AM   #2
deepthi_rapaka
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.
 
  


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


All times are GMT -5. The time now is 04:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration