Multiuser Puppy 4.2.1
- technowomble
- Posts: 74
- Joined: Thu 11 Oct 2007, 17:04
- Location: West Gloucestershire, UK
User created
We progress! This time when I tried the GUI useradd it gave error code 12, unable to create /home for user. Playing a hunch I looked at the file system, no /home directory. I created an empty directory and this time successfully created a user. Seems as if useradd couldn't create a /home until it had somewhere to put it?
The next step is to let the user bring up my PCIMA wireless card, which I suspect will be a case of altering a few permissions. Wish me luck!
EDIT Well, I've got on line as user by getting the wireless up in root and saving for next boot. Not the most elegant - or flexible - solution, but it's a start. Maybe tomorrow I'll do some searching, what seems to be stopping me controlling wireless from user is ifconfig wlan0 up/down, I tried sudo'ing it, but evidently I don't have that set quite right yet.
The next step is to let the user bring up my PCIMA wireless card, which I suspect will be a case of altering a few permissions. Wish me luck!
EDIT Well, I've got on line as user by getting the wireless up in root and saving for next boot. Not the most elegant - or flexible - solution, but it's a start. Maybe tomorrow I'll do some searching, what seems to be stopping me controlling wireless from user is ifconfig wlan0 up/down, I tried sudo'ing it, but evidently I don't have that set quite right yet.
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
No /home on a full install... Okay, that means I'll need to take a look at the install script this weekend. I'll also take a look at gksu and some of the other stuff Nathan mentioned.
[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]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
It has taken me awhile to understand why multi-user is a good thing.
Eyes-only clarified it for me in his posting.
Many users (multi-users in fact) using the same computer - with their desktop and bookmark settings etc. Is that right?
So it is ideal as a family computer
or in an internet cafe.
Does this relate to an intranet (locally networked computers)?
Many thanks
Eyes-only clarified it for me in his posting.
Many users (multi-users in fact) using the same computer - with their desktop and bookmark settings etc. Is that right?
So it is ideal as a family computer
or in an internet cafe.
Does this relate to an intranet (locally networked computers)?
Many thanks
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
Multiple save files is good for when you have multiple trusted people who want to have full control of their OS.
Multiple users is good for multiple untrusted people who don't care so much about being able to install things and you want to prevent them from screwing things up.
And of course, multiple users can be combined with multiple save files, optionally encrypted. So you could have a save file that the rest of the family all share via. multi-user, and then a second one that you use so that you can un/install things at will without bothering your family when you accidentally break everything.
Multiple users is good for multiple untrusted people who don't care so much about being able to install things and you want to prevent them from screwing things up.
And of course, multiple users can be combined with multiple save files, optionally encrypted. So you could have a save file that the rest of the family all share via. multi-user, and then a second one that you use so that you can un/install things at will without bothering your family when you accidentally break everything.
I'm not sure what you mean. I understand the difference between intra-, inter-, and Internet just fine. But I don't see what difference they make to the multiuser-ness of an OS.Lobster wrote:Does this relate to an intranet (locally networked computers)?
[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]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
With what has been described - many users can access their settings on one computer.Lobster wrote:
Does this relate to an intranet (locally networked computers)?
I'm not sure what you mean. I understand the difference between intra-, inter-, and Internet just fine. But I don't see what difference they make to the multiuser-ness of an OS.
If there are are multiple computers, going through a router, or perhaps with a server, can a user sit at any computer of a network and access their settings. Is this something different?
Lobster, I would call what you described a roaming profile. I'm not sure how this would work on the internet but I know it works well on Intranets.Lobster wrote:With what has been described - many users can access their settings on one computer.Lobster wrote:
Does this relate to an intranet (locally networked computers)?
I'm not sure what you mean. I understand the difference between intra-, inter-, and Internet just fine. But I don't see what difference they make to the multiuser-ness of an OS.
If there are are multiple computers, going through a router, or perhaps with a server, can a user sit at any computer of a network and access their settings. Is this something different?
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
Ah, I see now. You could do that with a little more work. You'd have to set up a networked partition on one of the machines, and then have the other ones configured to automatically mount it on /home after they boot.
The root user would always have a local profile, since his home is at /root, not beneath /home. But everybody else would have a roaming one.
The login info wouldn't stay synced with that method though (i.e. if he changes his password on one box, it will not have changed on the others). There are systems for keeping them synced that could be implemented. I haven't used them so I can't say much on that topic.
EDIT: Of course, that is the traditional way. With Puppy, you could do it another way: add enough support to the initrd.gz file to be able to mount networked partitions. Then store the actual pup_save.2fs file on a networked partition and mount it from whatever machine you boot from. Or go a step further and do purely networked boots. I don't have any experience with that sort of thing, but I think sunburnt and ecomoney do. Multiuser-ness doesn't have any impact on these methods though.
The root user would always have a local profile, since his home is at /root, not beneath /home. But everybody else would have a roaming one.
The login info wouldn't stay synced with that method though (i.e. if he changes his password on one box, it will not have changed on the others). There are systems for keeping them synced that could be implemented. I haven't used them so I can't say much on that topic.
EDIT: Of course, that is the traditional way. With Puppy, you could do it another way: add enough support to the initrd.gz file to be able to mount networked partitions. Then store the actual pup_save.2fs file on a networked partition and mount it from whatever machine you boot from. Or go a step further and do purely networked boots. I don't have any experience with that sort of thing, but I think sunburnt and ecomoney do. Multiuser-ness doesn't have any impact on these methods though.
[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]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
Revision 2 is uploaded. This fixes full installs, and also makes fixmenus work for limited users along with letting them have the desktop drive icons.
I really ought to have done those last two in the first place. They were easier than I expected (especially fixmenus).
I will upload a service pack in a couple minutes, too.
EDIT: Done. I went ahead and made one from original-release -> r1 in addition to one from r1->r2.
I really ought to have done those last two in the first place. They were easier than I expected (especially fixmenus).
I will upload a service pack in a couple minutes, too.
EDIT: Done. I went ahead and made one from original-release -> r1 in addition to one from r1->r2.
[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]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
- technowomble
- Posts: 74
- Joined: Thu 11 Oct 2007, 17:04
- Location: West Gloucestershire, UK
Revision 2 - possible bug?
I installed SP2 ( R1>R2 ), which appeared to work as advertised, until I tried running 4.3.1 from a CD - I was going to boot ' pfix=ram ' to see if it would play nicely with my wireless card - but the laptop wouldn't boot from the optical drive, and Pmount crashed when I tried to run it. I ended up running Pfind and manually removing all traces of Pmount, then my optical drive showed up and I was able to boot R2 as ' pfix=ram ', run gparted and do a clean install.
Setting things up - create user etc. worked perfectly - I wanted to load some images from a CD to change my user desktop, but as user Pmount only saw my HD and the legacy floppy. Switch to root, and it detected my optical drive and I transfered the images with no problems. Is this a bug - which my earlier experience makes me suspect - or a feature? Later I'll try mounting a flash drive as user and root to see if there's the same difference - if you follow.
EDIT: USB drive detected, mounted and opened, so it looks as if I'd only need to switch to root if I dl'd an ISO and wanted to burn it to CD.
Setting things up - create user etc. worked perfectly - I wanted to load some images from a CD to change my user desktop, but as user Pmount only saw my HD and the legacy floppy. Switch to root, and it detected my optical drive and I transfered the images with no problems. Is this a bug - which my earlier experience makes me suspect - or a feature? Later I'll try mounting a flash drive as user and root to see if there's the same difference - if you follow.
EDIT: USB drive detected, mounted and opened, so it looks as if I'd only need to switch to root if I dl'd an ISO and wanted to burn it to CD.
Last edited by technowomble on Mon 02 Nov 2009, 18:05, edited 1 time in total.
Another mirror...
Thanks very much, Pizzasgood.
Another mirror:
http://puppylinuxstuff.meownplanet.net/ ... SER-r2.iso
User: puppy; Password: linux
Another mirror:
http://puppylinuxstuff.meownplanet.net/ ... SER-r2.iso
User: puppy; Password: linux
[i][color=Green][size=92]The mud-elephant, wading thru the sea, leaves no tracks..[/size][/color][/i]
Hey Russ, is the big rush over yet?
BTW, I read that Barry might be implementing multiuser in woof builds, congrats Pizzasgood!
BTW, I read that Barry might be implementing multiuser in woof builds, congrats Pizzasgood!
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]
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
Something in the way it detects CDs must not be working how I expected. I'll take a look later this week. Thanks for letting me know.
[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]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
Mirror for R3 now up too..
Heya Dejan, how's it going? I'm a bit braindrained from this nasty hot weather down here...among other things..dejan555 wrote:Hey Russ, is the big rush over yet?
...
The big rush is over now but it's been a crazy time in other ways...my precious multi-Puppy-machine was nicked last week but i don't wanna hijack Pizza's thread, so i'll fill you in via email
Pizzasgood: OK, you're a hard one to keep up with sometimes! Anyway, i've got your latest release (R3) up now, + the sp3.pet addon for R2, which is still on my server.
http://puppylinuxstuff.meownplanet.net/ ... SER-r3.iso
http://puppylinuxstuff.meownplanet.net/ ... ER-sp3.pet
User: puppy
Password: linux
Like the projection of yourself at 70...heh; also have to agree that the "..cold jug of milk straight from the bulk tank" is a great way to go..
[i][color=Green][size=92]The mud-elephant, wading thru the sea, leaves no tracks..[/size][/color][/i]
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
Re: Mirror for R3 now up too..
Cool, thanks.
[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]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
i think, who was should be automatic login is user. and i think for puppy user is no need tobe login but always automaticaly login as user. if there is need to modify, ading or insert aplicatin on puppy, root is needed.
being automaticaly login as root can cause forget seting automaticaly login and another user mybe will damage your computer.
my be there is my opinion for playing with multiuser puppy
being automaticaly login as root can cause forget seting automaticaly login and another user mybe will damage your computer.
my be there is my opinion for playing with multiuser puppy
Learning by Doing
- technowomble
- Posts: 74
- Joined: Thu 11 Oct 2007, 17:04
- Location: West Gloucestershire, UK
Multi-user and Pwireless2
Pizzasgood,
I tried Multi-user on my laptop and was impressed, the only reason I had to drop it was wireless, but I've since tried jermimah's Pwireless2, in a standard 4.2.1, and that does exactly what I want on the wireless front. I'm tempted to try combining Multi-user with Pwireless2 - for the added security of username/password protection for access - but I'm not sure on a couple of points. Pwireless2 puts up message banners when it autoconnects to a known network, and the wireless widget gives a comforting indication of signal strength, do you know if these will work in the user desktop? ( I appreciate that I'd need to log in as root to set up a new network profile. ) TIA
I tried Multi-user on my laptop and was impressed, the only reason I had to drop it was wireless, but I've since tried jermimah's Pwireless2, in a standard 4.2.1, and that does exactly what I want on the wireless front. I'm tempted to try combining Multi-user with Pwireless2 - for the added security of username/password protection for access - but I'm not sure on a couple of points. Pwireless2 puts up message banners when it autoconnects to a known network, and the wireless widget gives a comforting indication of signal strength, do you know if these will work in the user desktop? ( I appreciate that I'd need to log in as root to set up a new network profile. ) TIA
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
Displaying messages to the screen shouldn't be an issue. I would be more concerned about the code that does the autoconnecting, which probably needs to have root permissions.
[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]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
- technowomble
- Posts: 74
- Joined: Thu 11 Oct 2007, 17:04
- Location: West Gloucestershire, UK
You're right Pizzasgood, Pwireless2 only runs if the user is logged in as root. Possibly a developer looking to create a laptop puplet might be able to merge Pwireless2 and Multi-user, but it's beyond my abilities at the moment - I haven't written any code since some Basic back in the 1970's, so I'd be starting from scratch!