![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SED Newbie | cpslo09 | Shell Programming and Scripting | 3 | 10-19-2006 12:51 PM |
| UNIX newbie NEWBIE question! | Hanamachi | UNIX for Dummies Questions & Answers | 3 | 09-14-2006 07:23 AM |
| Newbie in need of help | cfjohnsn | UNIX for Dummies Questions & Answers | 3 | 05-17-2006 03:10 PM |
| Newbie | Special K | UNIX for Dummies Questions & Answers | 4 | 06-10-2002 11:02 AM |
| NEWBIE << help >> | LolapaloL | High Level Programming | 1 | 11-13-2001 10:02 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Newbie Needs Help
Greetings all.
I am new to this forum and new to the server-side of things. Recently, we let our IT guy go and it is up to me to fill in in the meantime. My first problem is although I am entering the propr log in info to access putty I keep getting access denied. Is there a firewall setting I need to change to allow access? My second problem is how to set the proper index file in Fedora once I access through SSH. I need to eliminate a Fedora Page that crops up whenever anyone clicks on a link to go to our homepage. I am certain I look like a real newbie, but I am not trained in this stuff and it is a little confusing. Any help is appreciated. Thanks. John Last edited by vpjohn; 07-20-2008 at 04:53 PM. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Try this
as root local: Code:
vi /etc/ssh/sshd_config Code:
PermitRootLogin no |
|
#3
|
|||
|
|||
|
A little more help, please.
I was able to access vi /etc/ssh/sshd_config. I found #PermitRootLogin yes and changed 'yes' to 'no'. How do I save the change? John |
|
#4
|
||||
|
||||
|
Quote:
If you want to login as 'root' then you want: PermitRootLogin yes type :wq to w=write q=quit. If it was set to 'no' then root login would be disabled. If you getting access denied it sounds like the username and/or password is wrong. Keep in ming the username AND password are case-sensitive |
|
#5
|
|||
|
|||
|
Thank you, Ikon. I have solved the log in issue.
My task now is to remove that ridiculous Fedora Core Test Page, which is why I am going through this exercise. My undersatanding is to do this in putty...and once I make the change where exactly do I type in :wq? Thanks. |
|
#6
|
|||
|
|||
|
The :wq is a command for the vi editor. If you use a different editor, the keystrokes to save and quit will be different. If you are not very familiar with Unix, perhaps a newbie-level editor such as nano might be easier for you.
The Fedora Core Test Page is what your Apache is set up to display. It's not clear what you want it to display instead. Actually I believe the test page will also contain some instructions for which files to edit in order to change it to something else. Googling for it brought up one page with the text "If you are the website administrator: You may now add content to the directory /var/www/html/. Note that until you do so, people visiting your website will see this page, and not your content. To prevent this page from ever being used, follow the instructions in the file /etc/httpd/conf.d/welcome.conf." |
|
#7
|
|||
|
|||
|
As per removing the Fedora Core test page. I went into SSH and edited the in the following. Result: Fedora core page still appears. Can someone tell me what I missed?
[root@u15257869 ~]# cd /etc/httpd/conf.d/ [root@u15257869 conf.d]# ls mailman.conf php.conf README webalizer.conf zz010_psa_httpd.conf perl.conf python.conf ssl.conf welcome.conf [root@u15257869 conf.d]# vi welcome.conf # This configuration file enables the default "Welcome" # page if there is no default index page present for # the root URL. To disable the Welcome page, comment # out all the lines below. # <LocationMatch "^/+$"> Options -Indexes ErrorDocument 403 /error/noindex.html </LocationMatch> http://www.mydomain.com Thanks. John |
|||
| Google The UNIX and Linux Forums |