Page 1 of 3

Posted: Thu 29 May 2008, 03:47
by klhrevolutionist
There are plenty of ways to run as user and not know the difference. Obviously there are security holes everywhere somewhere. It is just a matter of whom gets hit first.

But if anybody (puppy,grafpup) decides to go multiuser maybe this will be of interest: http://encurl.com/vb

Posted: Mon 09 Jun 2008, 09:52
by 8Geee
Nathan F:

As a former longtime Windows User I could not have said it any better, or clearer. The example of ActiveX is perfect. Your response is exemplary.

root vs multiuser...

Posted: Tue 24 Jun 2008, 21:43
by cohinor
Hello everybody.
Thought i have nothing against puppy mono-user orientation, there is a mystery I cant explain:
I cant login as user spot or as any user i created.

i "sanity checked" the libs:
f_tst(){
local TEST="$1"
ldd ${TEST} | gawk -F '>' '{ print $2; }' | grep / | cut -d ' ' -f '2'
}

P_tst(){
local ARG="$1"
for i in "$( f_tst ${ARG} )";
do [[ -e "$i" ]] || echo "$i is missing";
done
}

P_tst "/bin/tinylogin"
=> /lib/libc.so.6 is missing
(it's not, just a symlink pointing to the real file, so no pb
with the libs)

now here's what strange:
fn(){
find / -wholename '/initrd' -prune -o -wholename '/proc' -prune -o -type d -exec chmod 777 {} \;
find / -wholename '/initrd' -prune -o -wholename '/proc' -prune -o -type f -exec chmod 777 {} \;
find / -wholename /initrd -prune -o -name tinylogin -exec chmod u+s {} \;
su spot;
echo $?
}

fn;
=>1
!!!!!!!!!!!!

i dtraced login, and then su to avoid the vhangup, but found nothing more than "/bin/sh : EACCES". this isnt a problem of shell: I get the same thing with bash.

i looked at tinylogin sourcecode, but found nothing that can explain in detail which operation in the (execv "/bin/bash") call is not allowed, nothing more than strace or ltrace. Any idea? I repeat, i dont really need it, it's just for the fun of finding the reason why...

Posted: Wed 02 Jul 2008, 04:22
by cb88
@cohinor i don't really know what that means but it would be nice to find out... im not really sure what you are doing...

what is the $?

Posted: Thu 03 Jul 2008, 02:08
by Pizzasgood
A $? is a special variable that holds the return status of the last run program. It will generally hold '0' after a successful command.

Root vmultiuser

Posted: Thu 28 Aug 2008, 15:40
by Capt-CDD
I think this poll is closed but as stated Options are good! Thats what draws most of us to Linux in the first place. I realize that its old school now but in my early SCO days we were always discouraged from using a root login except for the highest level admin. functions. My Puppy is running on a home network and at times I worry about some users having root privileges, so my vote would have been in favor of multiuser option. I would like the root option for single stand alone systems.

Nathan, Great job on the blog. In fact if you don't mind I would like to paraphrase you with a couple of NT clients allowing anyone to install anything. Thanks, CDD

Posted: Thu 28 Aug 2008, 16:48
by cb88
@pizzasgood thanks i gotcha

anyway i still don't get why some people just don't want multi user.... like on my slackware box that i am trying to build T2/puppy on i can set that up to autologin to root just like puppy does.... of course its not automatic in slackware but it would be the default of course in puppy

Posted: Thu 28 Aug 2008, 18:42
by Pizzasgood
My guess is the slight impact it would have on creating packages and the opportunity cost of doing all the work - there are other things more important that could be done instead.

Of course, what's important is relative.


Or maybe they just don't realize that, like you said, we wouldn't actually be giving up the auto-login-straight-to-root deal that we have now. Just making it so that we can disable that and log in as a user (or even set it to auto-log-in as a user).

Posted: Fri 29 Aug 2008, 16:09
by cb88
my guess is the latter... as far as i know it just doesn't affect that many packages (X of course can't think of the others off the top of my head) since most programs (excluding stuff written just for puppy) are design to run as a user because that is the norm

Posted: Wed 12 Nov 2008, 19:09
by Wsteffen
I have been able to add users with adduser in version 4.1 Puppy. I did have to
create /home manually. Also Had to move the following from /etc to /tmp/etc
during the "remaster process: inittab, passwd and shadow.
The inittab file was changed to get a login prompt (got this from another poet).
This did allow me to login as the new user, however there was no home directory!

In my opinion if there was a way to selectively include the /home directory (and
all of it's subdirectories), each user could remaster their CDs to be root only or
multi user.

Posted: Wed 12 Nov 2008, 23:58
by alienjeff
Of the hordes of Puppy Linux users and visitors to the forum, only 15 people have voted on the related poll ... since May 2008.

What more does it take to put this root/user holy war to rest?

Just curious ...

Posted: Thu 13 Nov 2008, 02:29
by technosaurus
@AJ that may just be the most observant post ever made from likely the most frequent observer of these forums.

Posted: Mon 17 Nov 2008, 00:02
by bugman
ROOT

nothing i hate more than usernames, except passwords

too late to vote though...

Posted: Tue 18 Nov 2008, 12:06
by ttuuxxx
alienjeff wrote:Of the hordes of Puppy Linux users and visitors to the forum, only 15 people have voted on the related poll ... since May 2008.

What more does it take to put this root/user holy war to rest?

Just curious ...
well lets put it this way, I enjoy being root all the time, Because of what I do for puppy, Buttttttttttttttttttttttttttttttttttttttttttttttttttttt We do get a heck of a lot of post from new users that want multi-users accounts. Its almost like we have 2 versions of puppy, One for developers with devx included, and one for regular linux users who want to have a security blanket. Or has kids and wants to keep their pc's safe from them.
ttuuxxx

-

Posted: Fri 12 Dec 2008, 15:32
by edoc
ttuuxxx wrote: well lets put it this way, I enjoy being root all the time, Because of what I do for puppy, Buttttttttttttttttttttttttttttttttttttttttttttttttttttt We do get a heck of a lot of post from new users that want multi-users accounts. Its almost like we have 2 versions of puppy, One for developers with devx included, and one for regular linux users who want to have a security blanket. Or has kids and wants to keep their pc's safe from them.
ttuuxxx
-
BINGO! You win!

Our 11 & 12 year olds are responsible & don't mess with system settings, however our precocious and impatient 6yr old is forever trashing the Win2000pro desktop he uses. Some of his learning games require Admin and thus the gates are open - and he uses them - sigh.

I'm planning to set up a shared Puppy 4.xx computer with games - I need to protect Root from the 6yr old and keep him from raiding his brother and sister's game settings (mostly unintentionally but increasingly intentionally) as he has done on other game toys and computers in the past.

So yes, it makes very good sense to allow for User Accounts on shared computers where children are involved.

Posted: Fri 12 Dec 2008, 17:08
by Aitch
Hi edoc

A method I use with kids windoze PCs is to install ERUNT direct to C:\ & have a boot floppy available - restores most kids 'messes' by restoring the registry from before the 'oops'

http://www.larshederer.homepage.t-onlin ... /erunt.txt


http://www.larshederer.homepage.t-online.de/erunt/

for puppy copy save file.....

Aitch :)

Root and multiuser

Posted: Mon 29 Dec 2008, 11:17
by Aronzak
I had an idea for this kind of problem.

Already puppy has a system to choose between multiple user saves, with different names. What I was thinking is that there could be a new utility to kill X and then do to that system again. Rather that having usernames and passwords, you would have different encrypted saves, and different encryption keys.

Another idea to take this further is to split the save files into 'personal' and 'core' files, with the user's personal app settings and files encrypted, while core files would not be encrypted. This means that multiple people could get access to the same apps installed (but have different settings, if they are configured right).

Then, make a dialogue to easily add another user/save file.

Posted: Thu 01 Jan 2009, 05:07
by edoc
Sounds promising - have you posted the idea over on the developer blog?

Posted: Tue 10 Feb 2009, 09:03
by kpfuser
A very belated vote:

Multiuser.

To begin with, Puppy is already multiuser in some curious way. I am talking about 'Spot.' It is a second user of some sort although it is not clear to me at all what purpose is served by its inclusion in Puppy.

Furthermore making Spot a true limited user in the manner of other Linux distros would not deter the 'root only' aficionados from doing just this, i.e., logging in as root and automatically so if they wish. On the other hand, insisting on 'root only' and keeping Spot in its present state, i.e., a caricature of a limited user, does seem to enforce a 'do as I say and not as you would like to' regime on the rest of us.

Last but not least, I would like to take issue with an earlier post stating that because only a few members voted in this poll, the multiuser issue should be put to rest. Why so? Obviously the last majority does not care whether this issue is decided one way or another. Is abstention to be claimed as a vote for the 'root only' proposition? If so, why?

Posted: Tue 10 Feb 2009, 13:55
by edoc
Since there is no push-mail feature activated on the Forum users are only aware of a new poll or thread if they stumble across it. There is no basis whatsoever to declare that more than a tiny fragment of the Puppy user base ever knew that the poll/thread existed - therefore there was not meaningful measurement of their opinion taken.

I believe that there are now multiple PET's and Puplets which address the multiuser need, so it appears to be moot, as is generally the case in the Open Source world users created what they neeeded.