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 Wed 03 Sep 2014, 01:32
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Suggestions
Root v multiuser
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [41 Posts]   Goto page: Previous 1, 2, 3 Next

Root or Multiuser?
Root
53%
 53%  [ 8 ]
Multiuser
33%
 33%  [ 5 ]
Other (please state)
13%
 13%  [ 2 ]
Total Votes : 15

Author Message
klhrevolutionist


Joined: 08 Jun 2005
Posts: 1124

PostPosted: Wed 28 May 2008, 23:47    Post subject:  

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

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


Joined: 12 May 2008
Posts: 33
Location: N.E. USA

PostPosted: Mon 09 Jun 2008, 05:52    Post subject:  

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.
Back to top
View user's profile Send private message 
cohinor

Joined: 24 Jun 2008
Posts: 2

PostPosted: Tue 24 Jun 2008, 17:43    Post subject: root vs multiuser...
Subject description: not able to log or su to a new user
 

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...
Back to top
View user's profile Send private message 
cb88


Joined: 28 Jan 2007
Posts: 1169
Location: USA

PostPosted: Wed 02 Jul 2008, 00:22    Post subject:  

@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 $?

_________________
Taking Puppy Linux to the limit of perfection. meanwhile try "puppy pfix=duct_tape" kernel parem eater.
X86: Sager NP6110 3630QM 16GB ram, Tyan Thunder 2 2x 300Mhz
Sun: SS2 , LX , SS5 , SS10 , SS20 ,Ultra 1, Ultra 10 , T2000
Mac: Platinum Plus, SE/30
Back to top
View user's profile Send private message Visit poster's website 
Pizzasgood


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

PostPosted: Wed 02 Jul 2008, 22:08    Post subject:  

A $? is a special variable that holds the return status of the last run program. It will generally hold '0' after a successful command.
_________________
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 
Capt-CDD


Joined: 28 Aug 2008
Posts: 6
Location: 7 MM Lake of the Ozarks MO. USA

PostPosted: Thu 28 Aug 2008, 11:40    Post subject: Root vmultiuser
Subject description: Options are good!
 

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
Back to top
View user's profile Send private message 
cb88


Joined: 28 Jan 2007
Posts: 1169
Location: USA

PostPosted: Thu 28 Aug 2008, 12:48    Post subject:  

@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

_________________
Taking Puppy Linux to the limit of perfection. meanwhile try "puppy pfix=duct_tape" kernel parem eater.
X86: Sager NP6110 3630QM 16GB ram, Tyan Thunder 2 2x 300Mhz
Sun: SS2 , LX , SS5 , SS10 , SS20 ,Ultra 1, Ultra 10 , T2000
Mac: Platinum Plus, SE/30
Back to top
View user's profile Send private message Visit poster's website 
Pizzasgood


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

PostPosted: Thu 28 Aug 2008, 14:42    Post subject:  

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).

_________________
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 
cb88


Joined: 28 Jan 2007
Posts: 1169
Location: USA

PostPosted: Fri 29 Aug 2008, 12:09    Post subject:  

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
_________________
Taking Puppy Linux to the limit of perfection. meanwhile try "puppy pfix=duct_tape" kernel parem eater.
X86: Sager NP6110 3630QM 16GB ram, Tyan Thunder 2 2x 300Mhz
Sun: SS2 , LX , SS5 , SS10 , SS20 ,Ultra 1, Ultra 10 , T2000
Mac: Platinum Plus, SE/30
Back to top
View user's profile Send private message Visit poster's website 
Wsteffen

Joined: 06 Nov 2008
Posts: 7

PostPosted: Wed 12 Nov 2008, 15:09    Post subject:  

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.
Back to top
View user's profile Send private message 
alienjeff


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

PostPosted: Wed 12 Nov 2008, 19:58    Post subject:  

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 ...

_________________
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 
technosaurus


Joined: 18 May 2008
Posts: 4348

PostPosted: Wed 12 Nov 2008, 22:29    Post subject:  

@AJ that may just be the most observant post ever made from likely the most frequent observer of these forums.
Back to top
View user's profile Send private message 
bugman


Joined: 20 Dec 2005
Posts: 2131
Location: buffalo commons

PostPosted: Sun 16 Nov 2008, 20:02    Post subject:  

ROOT

nothing i hate more than usernames, except passwords

too late to vote though...
Back to top
View user's profile Send private message Visit poster's website 
ttuuxxx


Joined: 05 May 2007
Posts: 10747
Location: Ontario Canada,Sydney Australia

PostPosted: Tue 18 Nov 2008, 08:06    Post subject:  

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

-

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile

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


Joined: 07 Aug 2005
Posts: 4367
Location: Southeast Georgia, USA

PostPosted: Fri 12 Dec 2008, 11:32    Post subject:  

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.

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 2 of 3 [41 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Suggestions
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.0903s ][ Queries: 14 (0.0062s) ][ GZIP on ]