Find the answer to your Linux question:
Results 1 to 6 of 6
Hi friends I dont have the root access to my pc. When I type su , i get this error. I dont think it asked for root password during installation. ...
  1. #1
    Linux Newbie
    Join Date
    Aug 2005
    Posts
    213

    No Root access asked during installation

    Hi friends

    I dont have the root access to my pc. When I type su , i get this error.
    I dont think it asked for root password during installation.

    Even if it asked and if i inadvertently clicked next, the password is same as of
    user cool. I keep the same pwds, when trying new os, just to avoid confusion and later change them.

    But now i am not getting access to root. Is there a way to change the
    root pwd pl. Or does ubunto give a default pwd to root during installation pl.

    Thanks

    Code:
    cool@XpIndia:~$ su
    Password:
    su: Authentication failure
    Sorry.
    cool@XpIndia:~$
    Cool Surfer - Registered linux user #397629

  2. #2
    Linux Newbie RustamB's Avatar
    Join Date
    Aug 2005
    Location
    Baku, Azerbaijan
    Posts
    214
    You certainly mistyped the password either during installation or while being asked for it later. Try typing it with caps lock on, or with other keyboard layout. Regarding on how to change the root password in your situation, I'm not sure.

  3. #3
    Linux Newbie
    Join Date
    Aug 2001
    Location
    USA, Texas
    Posts
    217
    I'm pretty sure Ubuntu tries to keep you out of root. You should be able to do anything you need using sudo and your user's password (ex: sudo vi /etc/hosts # to edit a file only writable by root) .... if you must be the root user you can always try: 'sudo su - root' with your user's password, not root's.
    [ [ SykkN alloc ] initWithThePowerTo: destroyYouAll ];
    /* Don\'t make me use it! */

  4. #4
    Linux Newbie
    Join Date
    Aug 2005
    Posts
    213
    Hmm...
    Cool Surfer - Registered linux user #397629

  5. #5
    Linux Newbie
    Join Date
    Aug 2005
    Posts
    213
    Quote Originally Posted by sykkn
    I'm pretty sure Ubuntu tries to keep you out of root. You should be able to do anything you need using sudo and your user's password (ex: sudo vi /etc/hosts # to edit a file only writable by root) .... if you must be the root user you can always try: 'sudo su - root' with your user's password, not root's.
    How do I edit the file /etc/fstab ?

    can u pl tell me the full syntax ?

    Like i want my windows drives to be auto mounted.
    Cool Surfer - Registered linux user #397629

  6. #6
    Linux Newbie
    Join Date
    Aug 2005
    Posts
    213
    ok , got it , done n thanks.

    tried sudo gedit /etc/fstab

    and it worked.
    Cool Surfer - Registered linux user #397629

Posting Permissions

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