Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, I was using centos.Today i switched over to ubuntu, when i login as root i got authentication failure. "~$ su - Password: su: Authentication failure" the password is system ...
  1. #1
    Just Joined!
    Join Date
    Dec 2010
    Posts
    16

    root authentication failure

    Hi,
    I was using centos.Today i switched over to ubuntu, when i login as root i got authentication failure.

    "~$ su -
    Password:
    su: Authentication failure"

    the password is system password that i created when installing.
    I installed squid, there i cannot edit squid.conf file. it shows as read only file.

    The same way i edited in centos,it worked.
    I am new to linux can anyone help me out

    Thanks and regards
    Suresh

  2. #2
    Trusted Penguin Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,393
    don't use 'su', prepend your command with the tool 'sudo' - this'll ask you for your own login password rather than the root one.

    If you have a lot of commands to issue, you can always do 'sudo bash' to get a command session for the root user.
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Just Joined!
    Join Date
    Dec 2010
    Posts
    16
    Hi
    Thanks. can you tell me how to edit read only file.
    i tryed vi /etc/squid/squid.conf
    it opens when i save it tells readonly.
    Regards
    Suresh.

  4. #4
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Again, use sudo.
    Code:
    sudo vi /etc/squid/squid.conf
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

Posting Permissions

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