Newbie Needs Help


 
Thread Tools Search this Thread
Operating Systems Linux Newbie Needs Help
# 1  
Old 07-20-2008
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 08:53 PM..
# 2  
Old 07-20-2008
Try this
as root local:
Code:
vi /etc/ssh/sshd_config

find a line that reads
Code:
PermitRootLogin no

comment out the line by adding a # character in column 1. I don't remember but I think you may have to restart sshd - or it may also respond to kill -HUP <pid of sshd> and re-read configuration settings.
# 3  
Old 07-21-2008
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  
Old 07-21-2008
Quote:
Originally Posted by vpjohn
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

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  
Old 07-21-2008
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  
Old 07-22-2008
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  
Old 07-23-2008
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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

perl newbie . &&..programming newbie

Hi, I am new to programming and also to perl..But i know 'perl' can come to my rescue, But I am stuck at many places and need help..any small help is much appreciated... below is the description of what i intend to acheive with my script. I have a files named in this format... (13 Replies)
Discussion started by: xytiz
13 Replies

2. Shell Programming and Scripting

perl newbie . &&..programming newbie (question 2)

Hello everyone, I am having to do a lot of perl scripting these days and I am learning a lot. I have this problem I want to move files from a folder and all its sub folders to one parent folder, they are all .gz files.. there is folder1\folder2\*.gz and there are about 50 folders... (1 Reply)
Discussion started by: xytiz
1 Replies

3. UNIX for Dummies Questions & Answers

UNIX newbie NEWBIE question!

Hello everyone, Just started UNIX today! In our school we use solaris. I just want to know how do I setup Solaris 10 not the GUI one, the one where you have to type the commands like ECHO, ls, pwd, etc... I have windows xp and I also have vmware. I hope I am not missing anything! :p (4 Replies)
Discussion started by: Hanamachi
4 Replies

4. Solaris

Newbie

Hello Guys, I just join the unix world today, I had my first lesson on unix today. So expect so much questions from me the next time I log in. Thanks (3 Replies)
Discussion started by: Micko
3 Replies

5. UNIX for Dummies Questions & Answers

Newbie in need of help

Hey all. I am a MS person that is looking to get into real computing for a change. I have seen a few different references to "UNIX Essentials and Core" DVD in different newbie threads and a quick intraweb search on Google only comes up with links to this forum and an Amazon review. Does anyone... (3 Replies)
Discussion started by: cfjohnsn
3 Replies

6. UNIX Desktop Questions & Answers

newbie

Hi, I am interested in learning unix and would like some advice on how I would start to learn unix. Therefore, What would be a good (free) unix distribution to install? Would it be better to invest in a packaged Linux distribution (redhat etc) and get the feel for unix this way? Are... (4 Replies)
Discussion started by: wolf2
4 Replies

7. UNIX for Dummies Questions & Answers

Newbie

I know I'm jsut a newbie, I'm setting up a 1.3 ghz dell as a server. I have experiance using Windows for a webserver, and I was jsut woundering if I would have great difficulty using Unix. is there there like netscape for internet? is there like word? can you listen to Mp3s? can someone... (4 Replies)
Discussion started by: Special K
4 Replies

8. UNIX for Dummies Questions & Answers

newbie needs help

hi i need some help on command grep and pipe but the man grep and man pipe doesn't help me much is there any site show more detail help on all the unix command?? (1 Reply)
Discussion started by: goodman
1 Replies

9. Programming

help<newbie>

i am new to the programing enviroment i know html and some of cgi i would like to know how to creat programs i know nothing!!!!!!!!!!!!! what do i need to get started where can i learn the language what language do i need to learn i tried scheme http://www.htdp.com it did not work out well... (9 Replies)
Discussion started by: skistar
9 Replies

10. IP Networking

help<newbie>

hello i would like to get a server so i may post websites on the web do i have to pay a lot of money to use someone else's server or is there a way to turn a computer into a basic server please help i am trying to find the most inexpensive way to get my own domain up on the web if this is... (1 Reply)
Discussion started by: skistar
1 Replies
Login or Register to Ask a Question