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" ...
- 06-29-2007 #1Just 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??
- 06-29-2007 #2Registered Linux user #270181
TechieMoe's Tech Rants
- 06-29-2007 #3
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:
You will be asked for a password, but this time it is your USER password, and not the root one.Code:sudo vi /boot/grub/grub.conf
DISTRO=Arch
Registered Linux User #388732
- 06-29-2007 #4Just 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
- 06-29-2007 #5forum.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:
Enter user password when it's requested...Code:sudo commandname
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.
- 06-29-2007 #6Just Joined!
- Join Date
- Aug 2005
- Posts
- 54
why
sudo vi /boot/grub/grub.conf
not
sudo vi /boot/grub/menu.lst
???
- 06-30-2007 #7its sudo vi /boot/grub/menu.lst only.
Originally Posted by Instant
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.
ORCode:sudo nano /boot/grub/menu.lst
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


Reply With Quote
