Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 1st August 2012, 11:15 AM
AndySingleton Offline
Registered User
 
Join Date: Aug 2012
Location: Rochester, Kent
Posts: 3
linuxchrome
Grub2 superuser behaviour has changed

I have a problem with grub2 in F17, version is 2.0-0.37.

In grub2.1.99-13, you could define a superuser, and this allowed you to boot a grub entry without a password. But it required a password if you tried to edit any of the grub entries. This is perfect for the college where I work.

2.0, however, has changed this behaviour: Defining a superuser means all grub entries require that password regardless.

I want to know if there is a way around this behaviour, a way to mimic the previous behaviour, or another option for stopping malicious people (students ) from altering the boot options using grub.
Reply With Quote
  #2  
Old 1st August 2012, 02:20 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,612
linuxfirefox
Re: Grub2 superuser behaviour has changed

the --unrestricted or --users option doesn't work anymore?

clip from the grub docs:
Code:
     set superusers="root"
     password_pbkdf2 root grub.pbkdf2.sha512.10000.biglongstring
     password user1 insecure
     
     menuentry "May be run by any user" --unrestricted {
     	set root=(hd0,1)
     	linux /vmlinuz
     }
     
     menuentry "Superusers only" --users "" {
     	set root=(hd0,1)
     	linux /vmlinuz single
     }
     
     menuentry "May be run by user1 or a superuser" --users user1 {
     	set root=(hd0,2)
     	chainloader +1
     }
Edit:
link to grub2 docs:
http://www.gnu.org/software/grub/man....html#Security
Reply With Quote
  #3  
Old 1st August 2012, 02:45 PM
AndySingleton Offline
Registered User
 
Join Date: Aug 2012
Location: Rochester, Kent
Posts: 3
linuxchrome
Re: Grub2 superuser behaviour has changed

Yep, --unrestricted does exactly what we want.

Thanks for the response, and sorry for putting yet another rtfm issue on the forums.
Reply With Quote
  #4  
Old 1st August 2012, 02:52 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,612
linuxfirefox
Re: Grub2 superuser behaviour has changed

No problem

It's kinda hard sometimes to hunt down and find all of the docs for these things.

Glad you found what you needed, and it's working for you now

Edit:
Hope you don't mind, but I'm going to mark this thread as solved for you
Reply With Quote
Reply

Tags
behaviour, changed, grub2, grub2 superuser, superuser

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Grub2, dev modifications from satndard grub2 install jakebpg Using Fedora 16 9th March 2012 08:39 AM
Grub2 Behaviour Palooka F16 Development 15 20th October 2011 10:49 PM
Changed behaviour for compiz after updating dd_wizard F16 Development 1 2nd September 2011 02:10 AM
superuser petrew Using Fedora 3 24th September 2006 07:00 PM
Replace existing Superuser with new Superuser rocky2889 Using Fedora 3 7th September 2005 05:33 AM


Current GMT-time: 13:56 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat