Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Fedora 4 and SSH root questions

  1. #1

    Question Fedora 4 and SSH root questions

    I have Fedora Core 4 installed on my virtual dedicated server. Are the commands different for versions 5 and 6? I am new to this and wondering if I am getting no luck because I have an old version installed...

    Also when I log into ssh, the only usernames and passwords that work is my ftp user and pass. From there I have been trying to su to root so that I can install packages. Now, I am really green, and I know that I could be going about this all the wrong way, so just wondering if anyone could let me know if I am on the right course or way off...

    Thanks!

  2. #2
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935
    Commands are the same all across SSH not just Fedora. SSH logins are the same as real system user accounts (by default).
    LinuxVillage - The truely community run Linux/Floss forum !

    No IT BS !!

  3. #3

    Smile

    Thank you!

  4. #4
    I changed my root password in my cpanel I still can not log in as root. I downloaded PuTTY. Here is what I did"

    login as: root
    login@mysite.com's password: mypass

    This does not work. The only user name and password that works is the set that I can log into ftp with. And when I log in that way, none of the commands are recognized. All I want to do is install ImageMagick through SSH and I can't get root access or get any commands to run.

  5. #5
    Advisor Outlaw's Avatar
    Join Date
    May 2001
    Location
    Clifton Park, NY
    Posts
    630
    It's possible direct ssh login to root is disabled. After changing the password, are you still unable to su to root as your ftp user?

  6. #6
    yes, even after changing my password it still does not work for me... How would I change those settings?

  7. #7
    In my account preferences, there is an option:

    "Shell access to server with FTP user's credentials." I have this set to

    /bin/bash (chrooted)

  8. #8

    does this look familiar to anyone?

    Is this the code that I need to change to allow root access to be enabled? I looked at another forum that had similar code to this one, which could be the problem:

    root:*:0:0:Root:/:/bin/false
    myusername:x:10001:10001::/:/bin/bash

  9. #9
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935
    NEVER log in remotely via SSH or FTP or any other services.

    Log in via normal user (which you used via FTP) then type in

    su

    and then supply your password. If you set up your apache via chroot then it might be different but "su" (SuperUser) should work across the borad.
    LinuxVillage - The truely community run Linux/Floss forum !

    No IT BS !!

  10. #10
    Advisor Outlaw's Avatar
    Join Date
    May 2001
    Location
    Clifton Park, NY
    Posts
    630
    Quote Originally Posted by Compunuts View Post
    NEVER log in remotely via SSH as root or FTP or any other services.

    Log in via normal user (which you used via FTP) then type in

    su

    and then supply your password. If you set up your apache via chroot then it might be different but "su" (SuperUser) should work across the borad.
    Minor clarification

Similar Threads

  1. Dual Boot Ubuntu / Fedora - Installing Fedora First
    By peter in forum Redhat / Fedora
    Replies: 2
    Last Post: 12-17-2010, 09:01 PM
  2. Replies: 0
    Last Post: 11-24-2008, 03:34 AM
  3. kppp - why do I have to run it as root from Fedora/RedHat?
    By horus in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 03-02-2004, 07:36 PM
  4. Windows XP cannot see Fedora System, but Fedora can read XP
    By rrushing in forum Linux - Hardware, Networking & Security
    Replies: 4
    Last Post: 01-30-2004, 04:32 AM
  5. Possible root kit
    By trommaster in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 11-08-2002, 09:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •