Ask Your Question

Superuser root password not working

asked 2013-06-23 11:59:03 -0600

Learner gravatar image

Guys, I have Fedora 17 and Windows 8 installed. I want to make windows 8 as default os while startup. for this i type in terminal su - "my pw" gedit /etc/default/grub it asks fo my pw again but when i type, nothing appears on screen and when i hit enter, different responses come, majorly invalid password. How do i fix this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-06-23 13:26:09 -0600

sideburns gravatar image

Well, no wonder: the command you're using is wrong. Try this instead:

su -c 'gedit /etc/default/grub'

And enter the root password when prompted. (As always, the password won't echo, not even stars.) Using the -c tells bash to give you root access only for the one command, rather like sudo.

edit flag offensive delete link more


sudo works! Thanks for that! But now when i save after editing the grub file, it gets saved but terminal says that the action has failed because no such directory exists. And the changes are not executed! Any solution?

Learner gravatar imageLearner ( 2013-06-24 13:47:53 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-06-23 11:59:03 -0600

Seen: 548 times

Last updated: Jun 23 '13