Re: Vote for new Ubuntu Feature---Let's try it again



Peter Garrett wrote:

On Thu, 11 Jan 2007 19:06:17 -0500
alex <aradsky@xxxxxxxxx> wrote:



Addressing the problem of editing and saving the changes to an unsavable
menu.lst .....
Before attempting to save, run the following:

sudo chmod go+rw /boot/grub/menu.lst



No. As I and others have pointed out, changing permissions in such a
manner is a Bad Thing (tm) . The changes would need to be reverted
afterwards, ( which is easily forgotten, and requires knowing what the
original settings were), and it is unnecessary anyway, since running your
editor with sudo/gksudo achieves the same purpose, without the risk of
opening vital files that should retain their restricted permissions.

Peter



If I recall correctly, I was working an editor as root at the time I
tried to save to menu.list and even root couldn't save.

The reason why I used 'sudo chmod go+rw /boot/grub/menu.list' is that I
thought 'go' gave permission only to root and a user which I felt
offered more security than 'a'.

I was in the process of configuring menu.list to include 6 additional
linux systems besides Windows and UBUNTU and they were done one at a
time while running UBUNTU with testing in between. I do understand now
that I could have used sudo/gksudo but at the time, I wasn't aware of
this command.

I have since configured menu.list in all 7 linux systems to permit any
of them to become a default booter.(just in case)



alex

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Change Permissions on a new hard drive to allow write...Problem Solved
    ... Then I right clicked on the drive, selected "Properties" then "Permissions" and simply checked the boxes for "write" for Owner, Group, and Others. ... I really don't understand why so many people think that logging in as root when needed is such a bad thing, although I can certainly see a better way to accomplish what I needed to do. ... See my other post "Vote for new Ubuntu Feature---Let's try it again". ...
    (Ubuntu)
  • Re: Problem setting up NFS on Ubuntu
    ... I have installed Ubuntu ... > I used System - Administration - Synaptic Package Manager to include NFS ... Should I be using the GUI, and if so, how do I do that as root, ... and doesn't change the permissions displayed by ls -l ...
    (comp.os.linux.setup)
  • Re: Change Permissions on a new hard drive to allow
    ... new drive works fine from XP, but in Ubuntu I can only read. ... How do I change the permissions for a hard drive? ... sudo chmod -R a+rw * ... I'd advise changing the group to something other than "root". ...
    (Ubuntu)
  • Re: Change Permissions on a new hard drive to allow
    ... new drive works fine from XP, but in Ubuntu I can only read. ... How do I change the permissions for a hard drive? ... sudo chmod -R a+rw * ... I'd advise changing the group to something other than "root". ...
    (Ubuntu)
  • Re: [opensuse] command line question
    ... can't do something but root can, the problem is usually one of permissions. ... Absent recompilation, VLC does not ... No one has as yet explained what security issues could possibly exist playing a local source DVD, .ts, .mpeg, .mp3 or the like outside a Windows desktop environment. ...
    (SuSE)