Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 23 Oct 2014, 15:59
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
HowTo: Change password for root
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [12 Posts]  
Author Message
klhrevolutionist


Joined: 08 Jun 2005
Posts: 1124

PostPosted: Mon 19 Feb 2007, 13:55    Post subject:  HowTo: Change password for root
Subject description: Using puppy regularly ? This post is for you.
 

Many people use puppy daily but are unaware of the fact that puppy runs as root. That's probably already more detail than you want.

Lets get started:

1. Use puppy regularly. good

2. Make puppy a little safer. good

3. open terminal and type: passwd

4. Create a user to run applications.

5. open terminal and type: cd / && mkdir home

5a. Think of your new user name and then type in console: cd /home && mkdir YourNickHere

5b. Now copy these files to /home/YourNickHere
.bashrc, .fonts.cache-1, .gtkrc-2.0, .gtkrc.mine, .Xdefaults, .Xresources

5c. Open terminal and type: adduser YourNickHere

6. Run applications as YourNickHere by typing su -c application YourNickHere
example: su -c gaim YourNickHere

7. Make applications run as YourNickHere by default:

Edit application launchers to resemble this, su -c application YourNickHere

_________________
Heaven is on the way, until then let's get the truth out!
Back to top
View user's profile Send private message 
puppylinuxw

Joined: 06 Nov 2006
Posts: 67

PostPosted: Sun 04 Mar 2007, 03:23    Post subject:  cant find this files on my puppy .gtkrc-2.0, .gtkrc.mine
Subject description: puppy 2.00 opera (.gtkdiffrc is there)
 

Im trying to follow your description making a user directory.
U give some files to copy into new user home.

But i cant`t find this two files: .gtkrc-2.0 and .gtkrc.mine.
This means that they are probably not there on my puppy 2.00 opera.

Is there a similiar file i schould put into the new user directory? A file .gtkdiffrc is there.
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Sun 04 Mar 2007, 06:43    Post subject:  

.gtkrc files only set the look of some applications.
They are created for example by my Gtk-theme-selectors.
If you have none, you can ignore them.

Mark
Back to top
View user's profile Send private message Visit poster's website 
amish

Joined: 24 Sep 2006
Posts: 616

PostPosted: Sun 04 Mar 2007, 08:18    Post subject:  

Quote:
Run applications as YourNickHere by typing su -c application YourNickHere
example: su -c gaim YourNickHere


if you are running it this way from rxvt, you may be happier with:

su -c gaim YourNickHere &

the & lets you have the terminal back so you can type more commands. it often still displays output from the program running **which can be useful**

you can go a step further with: nohup su -c gaim YourNickHere & ...that way, it won't spit potentially useful info into rxvt. these commands shouldn't be needed for making shortcuts/at all. just for typing them into the rxvt. thanks so much for this howto, klh.

_________________
sadly, it is not possible to separate politics from free software. free software - politics = unfree software.
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11120
Location: Arizona USA

PostPosted: Sun 04 Mar 2007, 22:13    Post subject:  

It seems to me that all this concern about running as root is wasted if you are the only person who uses your computer, or if you run Puppy from a multisession DVD or USB flash memory. In those cases, the worst you can do is screw up your own setup, which you can do anytime by logging in as root anyway.

Furthermore, if you run from a multisession DVD you can recover from pretty much any screwup by either not saving the session, or telling Puppy to ignore the last saved session when it boots.

Given the advantages of not installing Puppy to a hard drive, can someone please tell me why so many people persist in doing it? Laughing

_________________
Puppy Help 101 - an interactive tutorial for Lupu 5.25
Back to top
View user's profile Send private message 
HairyWill


Joined: 26 May 2006
Posts: 2949
Location: Southampton, UK

PostPosted: Sun 04 Mar 2007, 22:58    Post subject:  

OK Flash
I liked using multisession, but here are some good reasons not to.
Computer doesn't have an optical writer (my laptop doesn't have an optical drive at all)
Marginally faster boot time.
When your kids play frisbee with your CDs you don't lose data.
Related to that its a hell of a lot more difficult to lose a hard drive than it is a CD.
Its easier to share data on a HDD across multiple operating systems.
Install to compact flash or USB for a computer with no moving parts.
You have to make the effort to save at the end of every session if you want to keep anything.
When you delete stuff off a HDD it really goes away (forensic techniques excepted)

Just a few. As I said I like multisession and am seriously considering, possible, looking at implementing multisession on a HDD or USB stick. Thiswould be to get the benefits of the file versioning, optional saves and ignoring sessions.

_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11120
Location: Arizona USA

PostPosted: Sun 04 Mar 2007, 23:31    Post subject:  

Thanks for answering, Hairy. Some of your points make sense, but some don't, at least to me.

HairyWill wrote:
OK Flash
I liked using multisession, but here are some good reasons not to.
Computer doesn't have an optical writer (my laptop doesn't have an optical drive at all)
Marginally faster boot time.
When your kids play frisbee with your CDs you don't lose data.
Okay, I'll grant you those three. Smile

HairyWill wrote:
it's a hell of a lot more difficult to lose a hard drive than it is a CD.
Obviously, but on the other hand, if a DVD drive fails I can swap it out, including my multisession DVD, and keep going. Try that if your hard drive fails.

HairyWill wrote:
Its easier to share data on a HDD across multiple operating systems.
That depends on how you do it. The native data format for CDs and DVDs is readable by Windows. If you want to save something to a multisession DVD that can be read by Windows, you can save it as a separate session. I've done that with mp3 files, and Windows 2000 saw them just fine.

HairyWill wrote:
Install to compact flash or USB for a computer with no moving parts.
I'm not sure what you mean. It almost sounds like you're agreeing with me. Smile

HairyWill wrote:
You have to make the effort to save at the end of every session if you want to keep anything.
Well, if by effort you mean clicking the "enter" button. I mean, when I shut down, Puppy asks me if I want to save the session. All I have to do to permit it is click "enter."

HairyWill wrote:
When you delete stuff off a HDD it really goes away (forensic techniques excepted)
I consider the fact that once saved to the disk, nothing can be erased or changed to be a potentially very useful feature of multisession Puppy, for some applications. I can understand that one might not wish to leave an indelible trail of everywhere he's been and everything he's done with his computer, but I can also think of many uses in business and government where that would be a plus. In the U.S. especially, there are Federal laws requiring businesses to keep email and certain other computer records safe for forensic purposes. In any case, it's pretty easy to control what gets saved when you shut down.
_________________
Puppy Help 101 - an interactive tutorial for Lupu 5.25
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Mon 05 Mar 2007, 00:39    Post subject:  

It's much faster to set up a frugal install, because you don't have to wait for a disk to burn. Because of that, testing a puplet I'm working on goes much much faster. Shutdowns are fast and can be unattended (as in I write a script to do whatever, then run wmpoweroff when it finishes. I go to sleep, the computer does it's chores, then the computer turns itself off and my work is still saved. I can even run xlock while it's going to keep people from interfering while I sleep.)

It's more convenient because I don't need to fiddle with a cd when I want to boot. I don't have to remove a disk when I want to use another. I can have multiple versions of Puppy (standard, Pizzapup, Grafpup, random custom version, etc.) available from a menu, without maintaining volumes of cds.

It's cheaper, because I'd need the harddrive anyway for Unleashed.

It can be encrypted (though I don't use that right now).


Not that I have anything against multi-session. It just isn't the tool for the job in my case. Now, if I was more of a user than a developer, and didn't have so many audio files, and was a little more nomadic, multisession would be great. Although I'd probably go for the USB Puppy instead if the main computers I used supported it.


If you're in my boat and use a harddrive, there are certainly occasions where encryption or multi-user would come in handy. Both would be best for some, but for many just encryption would suffice. The majority likely needs neither, just a password to keep random non-gurus from doing random things.

But that argument is one of those "history repeating itself" things, and I don't feel like watching reruns tonight Wink

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11120
Location: Arizona USA

PostPosted: Mon 05 Mar 2007, 00:48    Post subject:  

Pizza, you're definitely not the average Puppy user. That's who I'm talking to. Smile
_________________
Puppy Help 101 - an interactive tutorial for Lupu 5.25
Back to top
View user's profile Send private message 
alienjeff


Joined: 08 Jul 2006
Posts: 2291
Location: Winsted, CT - USA

PostPosted: Mon 05 Mar 2007, 01:46    Post subject: HD install  

Flash:

Why don't you ask the person who wrote the dialog for the Universal Installer? It specifically recommends full HD installs for ALL users.

_________________
hangout: ##b0rked on irc.freenode.net
diversion: http://alienjeff.net - visit The Fringe
quote: "The foundation of authority is based upon the consent of the people." - Thomas Hooker

Back to top
View user's profile Send private message 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Mon 05 Mar 2007, 03:09    Post subject:  

Quote:
Pizza, you're definitely not the average Puppy user. That's who I'm talking to.
I hear that sort of remark a lot now, but from my experience there is no such thing as a "normal Puppy user". We're so varied here there is no normal.

Really I think it is a bit simple minded for a person to think that the way they run Puppy is the normal way, and even more so to think it is the right way. If there were one right way to do it Barry wouldn't have made everything so incredibly flexible, or offered so many different ways to boot Puppy.

Nathan

_________________
Bring on the locusts ...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
HairyWill


Joined: 26 May 2006
Posts: 2949
Location: Southampton, UK

PostPosted: Mon 05 Mar 2007, 05:47    Post subject:  

Because I love a debate, I'll defend my earlier assertions. I still think that multisession is very clever and useful. Smile
Flash wrote:
HairyWill wrote:
it's a hell of a lot more difficult to lose a hard drive than it is a CD.
Obviously, but on the other hand, if a DVD drive fails I can swap it out, including my multisession DVD, and keep going. Try that if your hard drive fails.
You're not addressing my point just making a separate one. You wouldn't be able to swap out the DVD itself.
Flash wrote:
HairyWill wrote:
Its easier to share data on a HDD across multiple operating systems.
That depends on how you do it. The native data format for CDs and DVDs is readable by Windows. If you want to save something to a multisession DVD that can be read by Windows, you can save it as a separate session. I've done that with mp3 files, and Windows 2000 saw them just fine.
Imagine that everyday I rip a few of my CDs to mp3 (not that I would do this of course as this is currently illegal in the UK)Using multisession I end up with a whole load of separate directories on the CD with my music in rather than one directory. I admit this is slightly contrived but it illustrates the point.
Flash wrote:
HairyWill wrote:
Install to compact flash or USB for a computer with no moving parts.
I'm not sure what you mean. It almost sounds like you're agreeing with me. Smile
No I'm not, using multi-session means that the computer must have moving parts, the optical drive. The mini-itx fanless crew can use all solid state parts to build a silent, vibration resistant computer.
Flash wrote:
HairyWill wrote:
You have to make the effort to save at the end of every session if you want to keep anything.
Well, if by effort you mean clicking the "enter" button. I mean, when I shut down, Puppy asks me if I want to save the session. All I have to do to permit it is click "enter."
If there is a power or toddler blip your data is 100% gone. With all the other save methods you've at least got a fighting chance of retreiving some of your data, even if you are using a USB stick that only saves every 30 minutes. OK. I'll admit here there is also a very very slim chance that your hard drive is toast and you've lost everything.
Flash wrote:
I consider the fact that once saved to the disk, nothing can be erased or changed to be a potentially very useful feature of multisession Puppy, for some applications.
It is "potentially very useful...for some applications" so is a shotgun if you like rabbit pie, I find all the small bones irritating and would get into trouble for having a shotgun. Seriously, you said you didn't understand why everybody didn't use multisession It only requires one application where being able to purge data is important to justify not using multisession. In the UK the Data Protection Act requires that personal data be destroyed once the stated purpose for keeping it has finished. Customer database of 1000 people, one person asks for their record to be deleted. Using multisession you are forced to start a new DVD with that person's data removed so that you can destroy the original.

Hopefully this justifies my earlier statements Smile

_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [12 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1099s ][ Queries: 12 (0.0118s) ][ GZIP on ]