Any idea or help ?
When I use Knoppix V4 to edit file , I received this message :
You do not have enough permission to read file://mnt/hdb4/boot/grub/menu.lst
How can I get root previlidge to modify the file ?
Any idea or help ?
Two ways:
1.) First become root. use the command: su -
Then change the root password: passwd
Enter the new password twice, then exit: exit
now use KDEsu to run a editor as root: kdesu kate /mnt/hdb4/boot/grub/menu.lst
2.) Or use sudo: sudo kate /mnt/hdb4/boot/grub/menu.lst
Thanks for that ....I am going to try it and let you know.
Why can't I use :
gedit /boot/grub/menu.lst
Oh its also possible that the /mnt/hd4 is mounted read-only. So that too might prevent you from changing (writing) to a file.
That file is quite important & special to the system. It probably has permissions & owership to prevent non-priviledged users (non-root users) from making changes to it. Do a:Why can't I use: gedit /boot/grub/menu.lst
ls -l /boot/grub/menu.lst
and it will probably look something like:Code:-rw------- 1 root root 775 Aug 11 2004 menu.lst
knoppix@0[knoppix]$ su
root@0[knoppix]# passwd
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
root@0[knoppix]#
root@0[knoppix]#
root@0[knoppix]# kdesu kate /mnt/hdb6/boot/grub/menu.lst
mkdir: Owner of /tmp/.ICE-unix should be set to root
DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
ICE Connection rejected!
DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
DCOPServer self-test failed.
kdeinit: DCOPServer could not be started, aborting.
kate: ERROR: KUniqueApplication: Can't setup DCOP communication.
root@0[knoppix]# ICE Connection rejected!
root@0[knoppix]#
root@0[knoppix]# sudo kate /mnt/hdb6/boot/grub/menu.lst
mkdir: Owner of /tmp/.ICE-unix should be set to root
DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
ICE Connection rejected!
DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
DCOPServer self-test failed.
kdeinit: DCOPServer could not be started, aborting.
kate: ERROR: KUniqueApplication: Can't setup DCOP communication.
root@0[knoppix]# ICE Connection rejected!
Then I found option called "root shell",,,I opened that one and I typed in:
vim /mnt/hdb6/boot/grub/menu.lst,,,,,,,,,,,,,,,,,,,,,,,it did work,,,
nedit /mnt/hdb6/boot/grub/menu.lst,,,,,,,,,,,,,,,,,,,,,,,it did work as well.
Yes I can read it,,,but today I realized that I can not modify it,,,,what should I do to overcome this issue ?vim /mnt/hdb6/boot/grub/menu.lst,,,,,,,,,,,,,,,,,,,,,,,it did work,,,
nedit /mnt/hdb6/boot/grub/menu.lst,,,,,,,,,,,,,,,,,,,,,,,it did work as well.
things to check:
do you have permissions to write it? Are you root user? And if you are not root user, then either become root user or use sudo.
Next, is /mnt/hdb6 mounted read only? If so, then even root user can not write to it? Remount it as writeable
Yes I am root user.Are you root user? And if you are not root user, then either become root user or use sudo.
Could you please explain ,what should I do to check and how can I mount it again?Next, is /mnt/hdb6 mounted read only? Remount it as writeable
Radio Shack Wireless Scroll Mouse (Cat. No. 26-553) Vintage Tested and Working
$18.90
Apple Computer Vintage sheet of 1990s rainbow logo stickers 2 Sticker Sheet
$4.80
Vintage Dot Matrix Printer Contin Feed Paper 8.5 x 11. Lots of 5 to 250 sheets.
$4.00
Timex Sinclair 1000 Vintage Personal Computer 16K RAM Module 1016 No Cables
$6.99
Vintage Compaq 141649-004 2 Button PS/2 Gray Mouse M-S34 - FAST SHIPPING - NEW
$8.99
Vintage Altec Lansing Multimedia Computer Speaker ACS22
$14.99
Vintage 1991 Apple Microphone 699-5103-A (New in box)
$15.99
BlueSCSI V2 WiFi (Desktop) Modern Storage for Vintage Computers Latest Model
$53.50
Rare Vintage Apple 630-0101 128K/512K Macintosh Logic Motherboard - UNTESTED
$60.00
Epson MBM-2095-E Vintage Monochrome Monitor (Does not Turn On)
$105.99