---
+ Post New Thread
Results 1 to 8 of 8
  1. #1
    QMA
    QMA is offline
    Member level 1
    Points: 1,576, Level: 9
    Achievements:
    7 years registered

    Join Date
    Apr 2007
    Posts
    40
    Helped
    0 / 0
    Points
    1,576
    Level
    9

    switch to superuser

    i am a new user of ubuntu. i want to know that how can i switch to superuser root?
    i tell the details. i have installed ubuntu on my laptop with username qma and password ****. i dont know that root is by default superuser. now i have come to know that root is super user. so i want to log in as superuser root but as i have not created it (or it is created by default) i do not know about the password of root. is there any way so that i know the password of root or at least i can log in as super user root as i have to learn some commands which require the seperuesr root like fsck command.

    •   Alt15th May 2008, 06:27

      advertising

        
       

  2. #2
    Full Member level 5
    Points: 3,353, Level: 13
    dipal_z's Avatar
    Join Date
    Apr 2005
    Location
    India
    Posts
    278
    Helped
    38 / 38
    Points
    3,353
    Level
    13

    ubuntu switch to root

    In Ubuntu, you just need to add sudo before any command you want to be executed by root user. When it prompts for password enter current user's password.

    e.g.

    command for normal user : make install
    command for super user : sudo make install



    •   Alt15th May 2008, 07:04

      advertising

        
       

  3. #3
    QMA
    QMA is offline
    Member level 1
    Points: 1,576, Level: 9
    Achievements:
    7 years registered

    Join Date
    Apr 2007
    Posts
    40
    Helped
    0 / 0
    Points
    1,576
    Level
    9

    ubuntu superuser

    thanx dipal

    now i want to know about the command fsck. the details about fsck and its parameter.
    i want to check it by running this command. will u like to suggest me use this command as have tried to get help about this command but i think ubuntu help was a level higher than my level. so plz reply me in some easy words with some easy example.



    •   Alt15th May 2008, 14:23

      advertising

        
       

  4. #4
    Full Member level 2
    Points: 2,599, Level: 11

    Join Date
    Dec 2002
    Posts
    135
    Helped
    11 / 11
    Points
    2,599
    Level
    11

    linux switch to superuser

    sudo su
    ir then asks for password
    then u will be login as root



  5. #5
    Newbie level 6
    Points: 892, Level: 6

    Join Date
    Apr 2008
    Posts
    11
    Helped
    0 / 0
    Points
    892
    Level
    6

    ubuntu change to superuser

    in the terminal write

    sudo

    insert your pasword
    and
    root passwd

    and you define your root pasword



  6. #6
    Full Member level 5
    Points: 3,353, Level: 13
    dipal_z's Avatar
    Join Date
    Apr 2005
    Location
    India
    Posts
    278
    Helped
    38 / 38
    Points
    3,353
    Level
    13

    how to superuser

    Quote Originally Posted by QMA
    thanx dipal

    now i want to know about the command fsck. the details about fsck and its parameter.
    i want to check it by running this command. will u like to suggest me use this command as have tried to get help about this command but i think ubuntu help was a level higher than my level. so plz reply me in some easy words with some easy example.
    First and most important thing is as a normal user we are not really required to use this command. This is used to check the correctness of file system. If you can tell me what exactly you are planning to achieve i will be able to help you in better way. As this is very complex topic that will need understanding of ext3 file system and journaling as well.



  7. #7
    QMA
    QMA is offline
    Member level 1
    Points: 1,576, Level: 9
    Achievements:
    7 years registered

    Join Date
    Apr 2007
    Posts
    40
    Helped
    0 / 0
    Points
    1,576
    Level
    9

    change to superuser ubuntu

    i have got some commands from my office to practice. this is the first one. some of the other commands are easy to understand but some are confusing like this one. there is another command chmod. i m not understanding why is it used and where. if u suggest me any pre requisite documents then plz do add their urls or attach them.
    thanx



  8. #8
    Full Member level 5
    Points: 2,850, Level: 12

    Join Date
    Oct 2005
    Location
    South Africa
    Posts
    296
    Helped
    27 / 27
    Points
    2,850
    Level
    12

    switch to super user

    chmod is used to change the file permissions. This is a powerful tool and should not be under estimated.

    Tip. if you want to know how a command works ito its parameters and function typing man command on the command line will give you access to the manual pages of the specific command

    for instance

    user@host~$man chmod

    will give you something similar to (using Ubuntu Hardy 8.04)

    NAME
    chmod - change file mode bits

    SYNOPSIS
    chmod [OPTION]... MODE[,MODE]... FILE...
    chmod [OPTION]... OCTAL-MODE FILE...
    chmod [OPTION]... --reference=RFILE FILE...

    DESCRIPTION
    This manual page documents the G.....

    Cheers,
    Slayer



+ Post New Thread
Please login