Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2 questions about httpd 2

Status
Not open for further replies.

Cadwalader

IS-IT--Management
Feb 12, 2002
297
US
Hi all,


#1 Why can't I log in as root from a remote connection?

#2 When I view the httpd file (from a remote PC), it looks like it's Wingdings. Why?

About the system:

Linux RedHat 7.3, text only server installation.
I am new to *nix, so take it easy on me. ;-)
Hope I was of some help...
--OR--
Thanks for the help...
--Rich

 
To answer the first one I am assuming you are connecting to the machine via ssh. ssdh_config has a configuration directive called PermitRootLogin, which is by default set to "No". Changing it to "yes" will allow root to login. However, this is not recommended, as it can be a security risk. To be safest, login as a non-root user and use the "su" command to login again as root. Classically, the command with parameters is "su - root" (the spaces on both sides of the dash are deliberate).

To answer your second, it's because httpd is a binary file. It isn't human-readable. ______________________________________________________________________
TANSTAAFL!
 
If you are login using telnet, a quick fix is to rename the /etc/securetty file to something else like /etc/securetty.old.

IBM Certified Confused - MQSeries
IBM Certified Flabbergasted - AIX 5 pSeries System Administration
 
Hello all,
I DLed PuTTY as the ssh client for the Windows machines, and gues what? sshd_config was already set to PermitRootLogin yes. Now I can login as root from other PC's. Thanks for the help. :)

If I'm not being too much of a bother,what about FTP? I can't seem to connect to the Linux via FTP. I get "connection refused". That obviously means that there is some thing set to "no" somewhere (I think). Any suggestions?

Hope I was of some help...
--OR--
Thanks for the help...
--Rich

 
Daniel,

The install.log shows it's there, but I don't know if it's running. I also don't know if what I see in the install.log is an ftp client not. Actually, there are three or four things with "ftp" in the file name. Any suggestions? I type ps all and I don't see ftp. Does that mean anything? Or am I barking up the wrong tree?

Thanks for the help :) Hope I was of some help...
--OR--
Thanks for the help...
--Rich

 
I think that the standard FTP server that ships with RedHat is wu-ftpd, try executing it from a console. //Daniel
 
Things to try:
see if your server is listening on ftp port with the command:
netstat -l #look for :ftp

Take a look at the file /etc/xinet.d/wu_ftp it probably says disable = yes

change this to no and restart xinet with the following command:
service xinetd restart

You may need to make further configuration changes to allow access for a specific user.
Take a look at teh wu_ftp website.

Good Luck.
 
For FTP testing try the following:

telnet localhost 21

If it fails with a "connection refused" message then you either don't have a ftpd process installed/running, or it is disabled.

Look in /etc/xinetd.d for something like wu-ftpd, if its there change the "disable = yes" to "disable = no".
You will need to restart xinetd by running the following command:/etc/init.d/xinetd restart

If there is nothing there related to "ftpd" it's quite likely you don't have an ftp server installed. IBM Certified Confused - MQSeries
IBM Certified Flabbergasted - AIX 5 pSeries System Administration
 
Thank you to everyone. You all have been so much help. I am lucky to have found this forum a while back. I don't know what I would do with out you folks, and this forum.


Enuffa da sobby stuff.

Thanks, I really, really, appreciate it. Now that I have the basic web server stuff figured out, it's off the learn Perl/CGI/php (need to feed the brain, if ya know what I mean). I am soooo happy that I don't have to pay for hosting now. :) Just need to upgrade my cable connection for a static IP (it's RoadRunner, if anyone is familiar with it). And Thanks again. I know this sounds like a fairwell, but I know I'll be back in here starving for knowledge. ;-) Hope I was of some help...
--OR--
Thanks for the help...
--Rich

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top