Google Plus

Howto enable password protection in Burg

Written by M. Zinoune on . Posted in Linux tutorials

Burg is a brand-new boot loader based on GRUB. It uses a new object format which allows it to be built in a wider range of OS. It also has a highly configurable menu system which works in both text and graphic mode. We did show you in a previous post how to install and configure burg in Ubuntu. Today we will see how to enable password protection in burg.




configure user and passwords


To add/edit user, use burg-adduser , for example :

sudo burg-adduser --super admin
sudo burg-adduser user1
 

The –super option is used to specify super user.

To remove user, use burg-deluser :

sudo burg-deluser user1
 

The password is stored in /etc/default/burg-passwd.

Setup GRUB_USERS variable in /etc/default/burg


Here is an example:

GRUB_USERS="*=user1,user2:Ubuntu=user1:Windows="
 

This means user1 can boot Ubuntu, no password is needed for Windows, user1 and user2 can boot other OS besides Ubuntu and Windows. Superusers can boot any OS and use system-wide hotkeys like `c’ to enter console mode.

Generate burg.cfg with update-burg

sudo update-burg
 

You can use burg-emu to check the configuration before reboot:

sudo burg-emu


Usefull links : http://code.google.com/p/burg/wiki , https://launchpad.net/burg

For questions please refer to our Q/A forum at : http://ask.unixmen.com

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

Ladi Oyekanmi

|

Could you please assist in step by step on how to install nagios on solaris

Adhraa

|

Greate tutorial :)

pigmej

|

Just one thing:

What about pep8 in your python code ? How can you give ‘tutorials’ on quite popular website, of such a bad quality ?

Amit Rai

|

I just renamed shared.xml and it logged in and created a new shared.xml.

DB Griffin

|

Larry Page is not being completely honest! The manner in which the PRISM program/project works does not need access from company administrators or owners, so called “direct access”; the access to the information is already there. These tech company CEOs take for granted the actual intelligence of most end users of their products. All it takes is a little digging and reading to go from ignorant to informed on these things especially on exactly how the internet works/functions in the U.S.A. I find Larry Page’s remarks just as laughable as Al Gore’s claim to “inventing” the internet/world wide web!

If you, as an end user, are reading this post; I challenge you to research these matters yourself. It really is quite simple with all the “information sites” that exist on the web today ie Wikipedia, & other online encyclopedias that actually list source material, as well as highly respected tech sites and blogs that also list their source material. Be warned: this is only the tip of the iceberg and these tech CEOs know and understand this; they are scrambling in attempt to perform DAMAGE CONTROL to save the company and what little trust thay have left from their products end users/consumers.

Am I a skeptic? I believe someone has to be or needs to be at this point in time! If your not just a little skeptical of the government, tech companies, and the people that are in charge of these agencies and companies; you need to be, even if just a little skeptic. For your own personal protection and security! I know I was a part of this community for over 14 years!

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .