LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 07-15-2009, 05:20 PM   #1
tigertim71
Member
 
Registered: Oct 2008
Location: London, England
Distribution: Puppy
Posts: 93

Rep: Reputation: 15
editing menu.lst in puppy grub


I've completely forgotton the command to edit /boot/grub/menu.lst in grub loaded in puppy.
Code:
edit
or
Code:
gedit
don't seem to work here.
 
Old 07-15-2009, 05:37 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740
What text editors DO you have? look for nano, pico, gedit, kedit, kate, mousepad, and more. If something is only in the GUI menus, you can always call it from a terminal.

Keep in mind that you normally have to be running as root to edit that file.
 
Old 07-16-2009, 06:58 AM   #3
pierre2
Member
 
Registered: May 2009
Location: Perth, AU
Distribution: LinuxMint
Posts: 386
Blog Entries: 8

Rep: Reputation: 88
I usually just right-click the file to edit.
 
Old 07-16-2009, 08:48 PM   #4
tigertim71
Member
 
Registered: Oct 2008
Location: London, England
Distribution: Puppy
Posts: 93

Original Poster
Rep: Reputation: 15
Thanks - as I'm root it's as simple as going into menu.lst, making the changes and then saving.

No need for a command line prompt.
 
Old 07-16-2009, 11:12 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740
For the record, you are running **some** text editor when you do that.

I hope you're not running as root all the time---bad idea.
 
Old 07-17-2009, 07:22 AM   #6
tigertim71
Member
 
Registered: Oct 2008
Location: London, England
Distribution: Puppy
Posts: 93

Original Poster
Rep: Reputation: 15
editing menu.lst in puppy grub

I have changed
Quote:
passwd
from woofwoof to xxxxx. That's all I've done, but was not aware that there were different security options.

If there are it would be good to know...
 
Old 07-17-2009, 07:35 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740
Quote:
Originally Posted by tigertim71 View Post
I have changed from woofwoof to xxxxx. That's all I've done, but was not aware that there were different security options.
I don't know what you are saying here----changed password for who?

The issue I raised is that it was not advisable to run as root all the time, since root has the the ultimate power to change things---for good or for bad. It does not matter what the password is---If you are root, you can cause great damage by accident.
 
Old 07-17-2009, 12:32 PM   #8
tigertim71
Member
 
Registered: Oct 2008
Location: London, England
Distribution: Puppy
Posts: 93

Original Poster
Rep: Reputation: 15
From my understanding puppy is always in root, see http://www.puppylinux.org/?q=manuals.../security/root and there are no other options to change this.

However, puppy saved to HDD (which mine is) maybe less secure.

There's other information on the net about this, which I cant seem to find, but it concerns changing the default root passsword.
 
Old 07-17-2009, 12:42 PM   #9
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 468Reputation: 468Reputation: 468Reputation: 468Reputation: 468
Yes, be careful with puppy as root
I use puppy to delete stuff alot cause it works as root
just be careful what you do....doh!
 
Old 07-18-2009, 09:55 AM   #10
davec51
LQ Newbie
 
Registered: Jun 2006
Location: New York
Distribution: Puppy
Posts: 20

Rep: Reputation: 2
Puppy Runs as Root

Yes, Puppy is set up to run in root, with all administrative permissions. Most people with Windows (that's most people) run all the time with administrative privileges.
You can damage your OS if you delete or change certain files. Don't change them. You wouldn't want a car that requires special permission to turn the steering wheel, because a lot of accidents are caused by turning the wheel at the wrong time.
 
Old 07-18-2009, 06:32 PM   #11
vance.waylon
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Rep: Reputation: 1
by deafault Puppy DOES run in root, but a lot of folks frown upon this. I enjoy the freedom of running in root, but then again Ive probably broken 100 puppies and counting!
The guest account is SPOT right?
 
Old 07-18-2009, 06:35 PM   #12
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 468Reputation: 468Reputation: 468Reputation: 468Reputation: 468
lol, most of the 8+ distro's on my usb run as root, including puppy
 
Old 08-17-2009, 05:49 PM   #13
davec51
LQ Newbie
 
Registered: Jun 2006
Location: New York
Distribution: Puppy
Posts: 20

Rep: Reputation: 2
What's this Root Thing

Quote:
Originally Posted by pixellany View Post
I don't know what you are saying here----changed password for who?

The issue I raised is that it was not advisable to run as root all the time, since root has the the ultimate power to change things---for good or for bad. It does not matter what the password is---If you are root, you can cause great damage by accident.
Having used various Linux distros for a couple of years, I'm always annoyed by the need to operate as root to get anything done. Yes, you can change, move files, and this can cause damage. So what? Most computer users operate as root all the time. Sometimes they inadvertently cause damage. The position of many Linuxes that users need a nanny is insulting and unproductive. All Puppy derivatives, by the way, run as root all the time.
 
Old 08-17-2009, 06:01 PM   #14
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
It is a bad idea to run as root. root is your system account and should only be used for system-wide maintenance.
Also root is at a much higher level than even Administrator is in Windows.
Remember that most exploits execute as the running user, so if you run as root you are opening up your system to the maximum possible damage.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem editing /boot/grub/menu.lst baldur2630 Linux - Server 10 10-03-2008 12:12 PM
Editing menu.lst to boot vista on seperate HDD and to see the 3rd help swalker23 Linux - Newbie 4 09-24-2008 09:04 PM
Grub Menu doesn't reflect menu.lst file fatsheep Linux - Software 4 06-11-2007 01:29 PM
Editing /boot/grub menu.lst OpenSUSE 10.2 ceeleelewis Linux - Newbie 7 03-16-2007 09:05 AM
Mandrake, no-hlt instruction and editing menu.lst zupidupi Mandriva 4 01-02-2005 10:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy

All times are GMT -5. The time now is 04:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration