Multiuser Puppy 4.2.1

For talk and support relating specifically to Puppy derivatives
Message
Author
User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

Multiuser Puppy 4.2.1

#1 Post by Pizzasgood »

puppy-4.2.1-MULTIUSER-r3.iso - (101 MB)
md5sum - (ff7e5a22b6eecc6db0b5b809278198e4)

MIRROR - courtesy of russoodle
  • User: puppy
    Password: linux
Older Versions: [list]puppy-4.2.1-MULTIUSER-r2.iso - (101 MB) - md5sum - (ebd729806e1ff65e22293ced8ae168a5)
puppy-4.2.1-MULTIUSER-r1.iso - (101 MB) - md5sum - (9948d79452040c951ac187dd6fea5d3a)
puppy-4.2.1-MULTIUSER.iso - (101 MB) - md5sum - (f9f3b5e31335b9a8d935fc790031dae3)[/list]

Service Packs (apply spN to rN-1 to get rN): Gory Details + HOWTO instructions


This is a multiuser version of Puppy 4.2.1. Initially, it should work just like a normal 4.2.1 Puppy - you are automatically logged in as root. However, there are a few new wizards in the Setup section of the menu. One for adding new users. One for changing your password. And one for disabling the automatic login. The idea here is that this could be used as a standard Puppy, without impacting the vast majority who like to be root, while still allowing the few who really have good reasons to not be root to do as they choose with minimum effort. Which also means they stop complaining about how they don't like being root. So it's a win for everybody.

There were a great many changes that had to happen under the surface for this to work nicely. See the above link to read the gory details. I'll just list a summary of the features here:
  • Wizards for adding new users and configuring the autologin feature.
  • Has sudo
  • Users in the "disk" group can mount/unmount partitions.
  • Users in the "audio" group can use audio devices.
  • Users in the "power" group can poweroff and reboot.
  • Users can have a personalized xorg.conf file at /etc/X11/$USER/xorg.conf. (This must be created by hand, as the xorgwizard is root-only.)
  • The Xvesa video wizard will allow user-specific configuration.
  • Has virtual terminals 1-6 configured. X will run on 7.
  • Global /etc/bashrc file.
  • Includes the real shadow utilities (useradd, gpasswd, etc.).
Note: limited users are not able to run PetGet.


To head off a question I'm sure is at the top of a lot of people's minds: No, I will not upgrade this to newer (or older) versions of Puppy. My only goal was to show that this is possible and to document the process for other people to repeat (see the above link to gory details). It is up to whoever else cares enough to take what I've done and apply it to other versions of Puppy. I will fix bugs, of course, if they are bugs with what I've done. More general Puppy bugs are outside the scope of this project. Fixing those would confuse the changes needed for multiuser with the changes needed to fix generic bugs. The idea here is to show how to do it more than to make a good puplet, so I won't fix generic bugs in this. You are of course free to (and encouraged to) make your own implementation that does fix those bugs.


Have fun! :P

Last updated 2009-11-08
Last edited by Pizzasgood on Mon 09 Nov 2009, 20:50, edited 18 times in total.
[size=75]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[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#2 Post by dejan555 »

Congrats!!! Will download iso tomorrow and posting announce on my blog too. :wink:
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

dawg
Posts: 116
Joined: Sun 09 Aug 2009, 14:36
Location: still here
Contact:

#3 Post by dawg »

Awesome! I'll try this out as soon as I'm able. Thanks a bunch, Pizzasgood!

cthisbear
Posts: 4422
Joined: Sun 29 Jan 2006, 22:07
Location: Sydney Australia

#4 Post by cthisbear »

Not my bag but as usual you show consideration
for others.

And apply your talents accordingly.

Might even post this in Whirlpool...for the multi user moaners.

http://forums.whirlpool.net.au/


Regards Chris.

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

milestone

#5 Post by raffy »

Another milestone in Puppy Linux, and done by the youngest (but senior!) developer of Puppy Linux. Thanks, PG.

Now in the news: http://puppylinux.org/news/puplets/puppy421multiuseriso/
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].

aarf

#6 Post by aarf »

this is impressive and does take puppy to a new level.
still not quite sure why multiple encrypted pupsaves was not sufficient to be considered multiuser though.

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#7 Post by Pizzasgood »

Encryption is good for privacy. It does not address permissions. If I let somebody use my computer for a bit, and am relying on separate save files to protect me, nothing would stop the other person from deleting my file, whether by accident or on purpose.

If I instead log out and log back in as a different user who has no permission to access the drives, then it's a completely different situation.

Also, logging out and in is faster than rebooting.


Separate savefiles are best when all users are trusted, because that way every user can have root permissions and his own uniquely configured OS. But when untrusted users are involved, the more conventional user system works better.
[size=75]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[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

aarf

#8 Post by aarf »

Pizzasgood wrote:Encryption is good for privacy. It does not address permissions. If I let somebody use my computer for a bit, and am relying on separate save files to protect me, nothing would stop the other person from deleting my file, whether by accident or on purpose.

If I instead log out and log back in as a different user who has no permission to access the drives, then it's a completely different situation.

Also, logging out and in is faster than rebooting.


Separate savefiles are best when all users are trusted, because that way every user can have root permissions and his own uniquely configured OS. But when untrusted users are involved, the more conventional user system works better.
hmm ok, but there is no need to leave your pupaves on the computer. who hasnt got or doesnt carry their own usb flashdrive in this world? and then if you have the pupsaves on your flash drive why not your own preferred puppy as well on the flashdrive.
my impression was that the opposition was grasping at straws and thats why they leveled this not multiuser accusation at puppy.

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#9 Post by Pizzasgood »

Not everybody uses a computer in the same way. My lifestyle is not compatible with living out of a flash drive. Maybe when a 500 GB flash drive costs $20 and has a speed comparable to a quality SATA drive. But that's still a few years away.


Part of the reason for their argument is just that they don't stop to think about what being root in Puppy really entails. In most distros it's a lot more painful to reinstall the OS than Puppy.

I personally prefer being root, but I do feel that Puppy should at least offer the choice so long as it has no harmful impact on the majority, which it doesn't. There are valid reason to need limited users. Even if it's just one limited user so that you can run a public kiosk with somewhat less risk of it being harmed.
[size=75]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[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

choice

#10 Post by raffy »

I guess PG already explained it before, that a Puppy with a (fully operational) multi (added) user feature is better than a Puppy without it. After all, additional choice means progress.

This is a feature that is good to learn and apply to one's Puppy.

As to the use of mobile storage devices for OS and programs, to most users, OS/Programs = hardware/PC.

And to most Linux enthusiasts, OS for ordinary user = non-root user. Muliuser Puppy should win their favor now.

Not to encourage the users' old ways, but to win them over (for their own benefit) until they appreciate the difference.
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].

superattilius
Posts: 17
Joined: Fri 13 Mar 2009, 10:13

Re: Multiuser Puppy 4.2.1

#11 Post by superattilius »

Pizzasgood wrote:puppy-4.2.1-MULTIUSER.iso - (101 MB)
md5sum - (f9f3b5e31335b9a8d935fc790031dae3)

Gory Details + HOWTO instructions


This is a multiuser version of Puppy 4.2.1. Initially, it should work just like a normal 4.2.1 Puppy - you are automatically logged in as root. However, there are a few new wizards in the Setup section of the menu. One for adding new users. One for changing your password. And one for disabling the automatic login. The idea here is that this could be used as a standard Puppy, without impacting the vast majority who like to be root, while still allowing the few who really have good reasons to not be root to do as they choose with minimum effort. Which also means they stop complaining about how they don't like being root. So it's a win for everybody.

There were a great many changes that had to happen under the surface for this to work nicely. See the above link to read the gory details. I'll just list a summary of the features here:
  • Wizards for adding new users and configuring the autologin feature.
  • Users in the "disk" group can mount/unmount partitions.
  • Users in the "audio" group can use audio devices.
  • Users in the "power" group can poweroff and reboot.
  • Users can have a personalized xorg.conf file at /etc/X11/$USER/xorg.conf. (This must be created by hand, as the xorgwizard is root-only.)
  • The Xvesa video wizard will allow user-specific configuration.
  • Has virtual terminals 1-6 configured. X will run on 7.
  • Global /etc/bashrc file.
  • Includes the real shadow utilities (useradd, gpasswd, etc.).
Note: Although users in the "disk" group can mount/unmount partitions, they still don't get the desktop icons. However, I have things set up to automatically configure /etc/fstab, which means that you can simply go into /mnt/ and click on the mountpoints you want, and ROX-Filer will automatically mount them for you, and optionally unmount them when you exit. You can of course drag these to the desktop and set their icons and such. So this limitation isn't a big deal.

Also, limited users are not able to run fixmenus and PetGet.


To head of a question I'm sure is at the top of a lot of people's minds: No, I will not upgrade this to newer (or older) versions of Puppy. My only goal was to show that this is possible and to document the process for other people to repeat (see the above link to gory details). It is up to whoever else cares enough to take what I've done and apply it to other versions of Puppy. I will fix bugs, of course, if they are bugs with what I've done. More general Puppy bugs are outside the scope of this project. Fixing those would confuse the changes needed for multiuser with the changes needed to fix generic bugs. The idea here is to show how to do it more than to make a good puplet, so I won't fix generic bugs in this. You are of course free to (and encouraged to) make your own implementation that does fix those bugs.


Have fun! :P


sorry for my english but the link for download don't work

bye superattilius

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#12 Post by trapster »

I can confirm http://www.browserloadofcoolness.com is not loading this morning.
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#13 Post by dejan555 »

Working now. At least for me. It wasn't few minutes ago though.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

sneekylinux
Posts: 61
Joined: Fri 20 Mar 2009, 19:49
Location: dorset,uk

#14 Post by sneekylinux »

just tried multi user puppy,and it does not want to shut down,it just restarts x,even trying from the terminal.

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#15 Post by Pizzasgood »

The link is working for me right now too. Must have been a hiccup.
just tried multi user puppy,and it does not want to shut down,it just restarts x,even trying from the terminal.
Okay. I'll need some more information though:

How are you trying to reboot? As root or as a user?

If a user, is it a member of the "power" group?

Is this the first boot, or have you already created a pup_save.2fs file?

Are you using Xorg or Xvesa?
[size=75]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[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

PaulBx1
Posts: 2312
Joined: Sat 17 Jun 2006, 03:11
Location: Wyoming, USA

#16 Post by PaulBx1 »

Bravo Pizzasgood! Excellent work!!!

I love root user, but this is really needed for Puppy to be taken seriously. Soon we will be top dog! :D

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

mirror

#17 Post by raffy »

For hiccups (download link not working), note that there are download mirrors:

CAUTION: NOT YET UPDATED FOR REVISION 1 !!!

mirror1

mirror2
Last edited by raffy on Sun 18 Oct 2009, 01:52, edited 1 time in total.
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].

dawg
Posts: 116
Joined: Sun 09 Aug 2009, 14:36
Location: still here
Contact:

#18 Post by dawg »

OK, I've installed the thing (frugal) and all seems fine when running as root.
However, when running as user, none of the disk icons show up and I can't mount anything either.
My /etc/group looks fine, I think:

Code: Select all

root:x:0:
daemon:x:1:
tty:x:2:
ppp:x:200:
users:x:500:
nobody:x:65534:
guest:x:501:
spot:x:502:spot
bin::2:root,bin,daemon
audio::17:user
503:x:503:messagebus
ftp:x:1000:
dip:x:30:
disk:x:6:user
power:x:550:user
user:x:1001:
What I did exactly:
1. copied the necessary files directly from the iso to a directory on sda1 and adjusted my grub menu accordingly
2. booted into my new Puppy and chose appropriate settings for my machine and country
3. Puppy loads, I click the welcome message, it woofs, etc
4. set-up my network card
5. chose reboot and created a save file (64MB) in the default puppy directory on sda1
6. Puppy reboots and loads again fine (still as root)
7. added a user (all 3 offered permission groups) with a pass
8. disabled autologin as root
9. I reboot and login as user, it loads fine, except there are no drive icons etc. (also Seamonkey only contains its default basic (not root's) bookmarks). Reboots fine.

I may also add that logging in as root now becomes impossible if we hadn't set a root pass previously! :)

That's about it..

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#19 Post by Pizzasgood »

In the Original Post, Pizzasgood wrote:Note: Although users in the "disk" group can mount/unmount partitions, they still don't get the desktop icons. However, I have things set up to automatically configure /etc/fstab, which means that you can simply go into /mnt/ and click on the mountpoints you want, and ROX-Filer will automatically mount them for you, and optionally unmount them when you exit. You can of course drag these to the desktop and set their icons and such. So this limitation isn't a big deal.
When you say you can't mount anything, what do you mean? Did you try manually mounting with the mount command, or navigating into the mountpoint with ROX-Filer, or using Pmount?

I didn't test Pmount. Mainly because I forgot. So I don't know if that method will work. I'm away from home for the weekend, otherwise I'd try it now. But the other two methods should work. Note: you cannot specify many (if any) extra mount options as a user. You have to use the options preset in /etc/fstab.


As for root, the default root password is woofwoof, just like in the official Puppies. In the interest of making the multiuser additions as transparent as possible to the end user, I didn't set it up to force the user to pick a new password.
[size=75]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[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

dawg
Posts: 116
Joined: Sun 09 Aug 2009, 14:36
Location: still here
Contact:

#20 Post by dawg »

My bad, I must've overlooked that part, I apologize. I should stop doing this sh*t when I'm sleepy/tired/distracted :D And I should also set-up some other machine for this to avoid the rebooting and stuff all the time..

Pmount is the one I went for and that doesn't work, the other 2 methods indeed do work.

Thanks, I didn't know about the password.. I guess I should RTFM? hard work.. :D

Post Reply