LinuxQuestions.org
Visit Jeremy's Blog.
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, 12:49 AM   #1
anaigini45
Member
 
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

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, 01: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 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:41 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