Find the answer to your Linux question:
Results 1 to 7 of 7
Im tring to modify menu.lst but it wont let me coz I dont have privilage... what can I do to get privilage? I tried signing in as "su" or "root" ...
  1. #1
    Just Joined!
    Join Date
    Aug 2005
    Posts
    54

    Geting Privilage

    Im tring to modify menu.lst but it wont let me coz I dont have privilage...
    what can I do to get privilage?
    I tried signing in as "su" or "root" but I dont know the passwords?????????
    what r the passwords??

  2. #2
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Quote Originally Posted by Instant View Post
    Im tring to modify menu.lst but it wont let me coz I dont have privilage...
    what can I do to get privilage?
    I tried signing in as "su" or "root" but I dont know the passwords?????????
    what r the passwords??
    What distribution are you running? You should have had an opportunity to set the root password during your install.
    Registered Linux user #270181
    TechieMoe's Tech Rants

  3. #3
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,230
    What distro are you using?

    Essentially, you need to have root permissions to modify this file. Either you need to login as root or obtain them a different way.

    The most popular way to obtain root privileges is using the 'su' command. This stands for switch user, and by default will make you into root. This requires that you know the root password. Some distros have this disabled for security reasons.

    The other way is called sudo, which is supposedly more secure. Ubuntu and some other distros use this by default. sudo grants some root privileges to a non-root user, which means that you can do administrative tasks without needing to know the root password. To use sudo, you prefix your command with it:
    Code:
    sudo vi /boot/grub/grub.conf
    You will be asked for a password, but this time it is your USER password, and not the root one.
    DISTRO=Arch
    Registered Linux User #388732

  4. #4
    Just Joined!
    Join Date
    Aug 2005
    Posts
    54
    Kubuntu 7
    They asked for a username and a password during the installation
    I assumed its not the root ....
    and I am using it all the time....
    1) is it the root? >> I have to create another user then right

  5. #5
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,096
    Ubuntu and Kubuntu use sudo and they have disabled the root account by default. Use sudo with the command you want to issue along with your user password:

    Code:
    sudo commandname
    Enter user password when it's requested...
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  6. #6
    Just Joined!
    Join Date
    Aug 2005
    Posts
    54
    why
    sudo vi /boot/grub/grub.conf
    not
    sudo vi /boot/grub/menu.lst

    ???

  7. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Quote Originally Posted by Instant
    why
    sudo vi /boot/grub/grub.conf
    not
    sudo vi /boot/grub/menu.lst
    its sudo vi /boot/grub/menu.lst only.

    Fedora/RH/Gentoo uses grub.conf and all Debian based distros uses menu.lst file only.

    if you are using kubuntu, execute any of these commands.
    Code:
    sudo nano /boot/grub/menu.lst
    OR
    Code:
    kdesu kate /boot/grub/menu.lst
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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