Re: Password protecting grub

2016-03-19 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Mar 16, 2016 at 05:07:33PM +0530, Himanshu Shekhar wrote: > I wish to password protect grub bootloader. I tried the steps available on > online manuals as of RedHat, Ubuntu, etc. All experiments were on a > VirtualBox machine, so my system

Re: Password protecting grub

2016-03-19 Thread arian
hi > But, no way out if you forget the BIOS password. That's why I want to have > GRUB password. You realize that if it's easy for you to circumvent some (broken!) authentication, it's just as easy for an attacker, right? What you want is not possible, in the end. I guess that's why "factory

Re: Password protecting grub

2016-03-19 Thread Himanshu Shekhar
Ok! I understand GRUB password and other such passwords are ineffective. I am also aware of the fact that hard drive can be read anywhere unless it is encrypted. The am eager to know a particular way (however bad it may be) to secure a system, which I have not known yet. All efforts yet just stop

Re: Password protecting grub

2016-03-19 Thread jdd
Le 16/03/2016 13:16, Himanshu Shekhar a écrit : On Wed, Mar 16, 2016 at 5:39 PM, jdd > wrote: Le 16/03/2016 12:37, Himanshu Shekhar a écrit : " set superusers="root" password root rootpassword if it's a bash command, it

Re: Password protecting grub

2016-03-19 Thread Lisi Reisz
On Thursday 17 March 2016 17:04:04 Martin Smith wrote: > On 17/03/2016 04:55, Adam Wilson wrote: > > On Wed, 16 Mar 2016 23:12:06 +0530 Himanshu Shekhar > > > > wrote: > >> Ok! I understand GRUB password and other such passwords are > >> ineffective. I am also aware of the

Re: Password protecting grub

2016-03-19 Thread Himanshu Shekhar
On Wed, Mar 16, 2016 at 5:39 PM, jdd wrote: > Le 16/03/2016 12:37, Himanshu Shekhar a écrit : > > " set superusers="root" >>password root rootpassword >> > > if it's a bash command, it should be "passwd", not "password" > > jdd > > Tried! Didn't work. Regards

Re: Password protecting grub

2016-03-19 Thread jdd
Le 16/03/2016 12:37, Himanshu Shekhar a écrit : " set superusers="root" password root rootpassword if it's a bash command, it should be "passwd", not "password" jdd

Re: Password protecting grub

2016-03-19 Thread Martin Smith
On 17/03/2016 04:55, Adam Wilson wrote: On Wed, 16 Mar 2016 23:12:06 +0530 Himanshu Shekhar wrote: Ok! I understand GRUB password and other such passwords are ineffective. I am also aware of the fact that hard drive can be read anywhere unless it is encrypted. The am

Re: Password protecting grub

2016-03-19 Thread Raj Kiran Grandhi
> > But, be advised that once you do this, all the menu entries in grub will > be > > inaccessible until the password is supplied. > > It would be nice to have a way of requiring a password only if it > required > > to boot a non-default entry. > > That's what > menuentry "May be run by any

Password protecting grub

2016-03-19 Thread Himanshu Shekhar
I wish to password protect grub bootloader. I tried the steps available on online manuals as of RedHat, Ubuntu, etc. All experiments were on a VirtualBox machine, so my system remains safe. However, I didn't get success. Every time I write the line to the config file and run update-grub, I get the

Re: Password protecting grub

2016-03-19 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Mar 16, 2016 at 01:27:40PM +0100, jdd wrote: > Le 16/03/2016 13:16, Himanshu Shekhar a écrit : > >On Wed, Mar 16, 2016 at 5:39 PM, jdd >> wrote: > > > >Le 16/03/2016 12:37, Himanshu Shekhar a écrit

Re: Password protecting grub

2016-03-19 Thread David Wright
On Fri 18 Mar 2016 at 18:59:39 (+0530), Raj Kiran Grandhi wrote: > > > But, be advised that once you do this, all the menu entries in grub will > > be > > > inaccessible until the password is supplied. > > > It would be nice to have a way of requiring a password only if it > > required > > > to

Re: Password protecting grub

2016-03-19 Thread Adam Wilson
On Wed, 16 Mar 2016 23:12:06 +0530 Himanshu Shekhar wrote: > Ok! I understand GRUB password and other such passwords are > ineffective. I am also aware of the fact that hard drive can be read > anywhere unless it is encrypted. > The am eager to know a particular way

Re: Password protecting grub

2016-03-19 Thread Adam Wilson
On Wed, 16 Mar 2016 21:51:02 +0530 Himanshu Shekhar wrote: > I made all possible tries that came to my head with all your > suggestions. Still, password : command not found. > > However, I think all of use should use grub-password, especially when > we use mobile systems

Re: Password protecting grub

2016-03-19 Thread jdd
Le 16/03/2016 17:21, Himanshu Shekhar a écrit : That's why I want to have GRUB password. Please tell some other way, you know or you have tried. such thing is only useful to prevent (young) child or random people to make inadvertent damage, because any real attacker can defeat such pass in

Re: Password protecting grub

2016-03-19 Thread David Wright
On Thu 17 Mar 2016 at 11:52:36 (+0530), Raj Kiran Grandhi wrote: > I have been trying to achieve something similar on my system. Password > protection in grub2 appears to be quite different from that in grub-legacy. ... and did you succeed? > In grub2, authentication is activated by the lines

Re: Password protecting grub

2016-03-18 Thread Raj Kiran Grandhi
I have been trying to achieve something similar on my system. Password protection in grub2 appears to be quite different from that in grub-legacy. In grub2, authentication is activated by the lines (from the grub info manual, the section on security): set superusers="root" password_pbkdf2 root

Re: Password protecting grub

2016-03-18 Thread David Wright
On Wed 16 Mar 2016 at 17:07:33 (+0530), Himanshu Shekhar wrote: >I wish to password protect grub bootloader. I tried the steps available on >online manuals as of RedHat, Ubuntu, etc. All experiments were on a >VirtualBox machine, so my system remains safe. However, I didn't get >

Re: Password protecting grub

2016-03-18 Thread Himanshu Shekhar
I made all possible tries that came to my head with all your suggestions. Still, password : command not found. However, I think all of use should use grub-password, especially when we use mobile systems (as laptops), *UNLESS YOU USE A BIOS PASSWORD*. You can check Google for what to do when you