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 26 Nov 2014, 14:49
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to add users and assign Passwords
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
bark_bark_bark

Joined: 05 Jun 2012
Posts: 900
Location: USA

PostPosted: Mon 08 Oct 2012, 16:58    Post_subject:  How to add users and assign Passwords
Sub_title: Easy 6 step process
 

1.) Open up your preferred terminal

2.) Do:

Code:
mkdir /home


3.) Do:

Code:
cd /home


4.) Do:

Code:
mkdir puppy


5.) Do:

Code:
adduser -h /home/puppy puppy


6.) Do:

Code:
passwd linux


Replace puppy with desired username & replace linux with desired password.

It is much safer to browse the web with a non-root account.

_________________
......
Back to top
View user's profile Send_private_message 
Flash
Official Dog Handler


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

PostPosted: Mon 08 Oct 2012, 22:26    Post_subject:  

Much safer? Can you give us any examples where someone got into trouble because they were browsing the Internet as root?
Back to top
View user's profile Send_private_message 
bark_bark_bark

Joined: 05 Jun 2012
Posts: 900
Location: USA

PostPosted: Tue 09 Oct 2012, 08:27    Post_subject:  

not exactly but a lot people would avoid browsing as root (for security reasons).

I think that was even discussed in the Security section here.

_________________
......
Back to top
View user's profile Send_private_message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Tue 09 Oct 2012, 08:52    Post_subject:  

But would that really be a multi user environ at all.
Puppy have user Spot and user Fido if one tell it too
and user root? but it is still root when it boot
even if you make use of Spot and Fido or any other name.

It can not be anything else but root due to how it is set up.

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send_private_message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Tue 09 Oct 2012, 18:54    Post_subject:  

President John F. Kennedy
Waldorf-Astoria Hotel, New York City
April 27, 1961 wrote:
The very word "secrecy" is repugnant in a free and open society; and we are as a people inherently and historically opposed to secret societies, to secret oaths and to secret proceedings. We decided long ago that the dangers of excessive and unwarranted concealment of pertinent facts far outweighed the dangers which are cited to justify it. Even today, there is little value in opposing the threat of a closed society by imitating its arbitrary restrictions. Even today, there is little value in insuring the survival of our nation if our traditions do not survive with it. And there is very grave danger that an announced need for increased security will be seized upon by those anxious to expand its meaning to the very limits of official censorship and concealment. That I do not intend to permit to the extent that it is in my control. And no official of my Administration, whether his rank is high or low, civilian or military, should interpret my words here tonight as an excuse to censor the news, to stifle dissent, to cover up our mistakes or to withhold from the press and the public the facts they deserve to know.


I believe the word "security" is mostly used in a sense like "secrecy". To let you only run as "user" could also mean: "We do not want you to be able to have a look at our files" - especially in so called closed source Operating Systems like WIndows and Apple OS (from the perspective of corporations)

From the perspective of computer users it seems like mostly used in a sense like: no one should be able to watch my illegal files.

bark_bark_bark wrote:
not exactly but a lot people would avoid browsing as root (for security reasons).


I do believe also, all those guys would like to choose to live as "user" - if possible. But -fortunately- we are made to live as root!

RSH

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send_private_message 
e_mattis


Joined: 20 Dec 2012
Posts: 114
Location: Williamston, SC

PostPosted: Thu 07 Feb 2013, 22:01    Post_subject: still no choice?  

So there is still no .pet or script available to add users and passwords easily -other than hard-code through the terminal? Crying or Very sad

This would be nice to have just because some people may end up sharing the computer - work, etc. - and would be nice to have some files others didn't see.

There was a 'multiuser' done by pizzagood in 4.3.1 i think. is there nothing newer?

Thanks!

E
Back to top
View user's profile Send_private_message Visit_website 
Flash
Official Dog Handler


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

PostPosted: Thu 07 Feb 2013, 22:27    Post_subject:  

Don't at least some recent Puppies have a menu item for adding and configuring users? I couldn't find anything in Precise, but I think I've seen something in other Puppies.
Back to top
View user's profile Send_private_message 
e_mattis


Joined: 20 Dec 2012
Posts: 114
Location: Williamston, SC

PostPosted: Thu 07 Feb 2013, 22:51    Post_subject:  

Not that i'm aware of Flash.
I've been using Lupu5.2.8, precise5.4.3, and wary 5.4.1 for a while now and don't remember seeing anything in them. Will look again though.

Thanks!

E
Back to top
View user's profile Send_private_message Visit_website 
Semme

Joined: 07 Aug 2011
Posts: 4050
Location: World_Hub

PostPosted: Thu 07 Feb 2013, 22:56    Post_subject:  

Multi-user? >> Pup IS NOT. Get the notion outta yer head.

Pup is, first and foremost- a *developers* distro..

Learn, have fun- enjoy the ride..
Back to top
View user's profile Send_private_message 
Flash
Official Dog Handler


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

PostPosted: Fri 08 Feb 2013, 00:06    Post_subject:  

The most practical way I can imagine for several people to share a computer while insuring privacy is for each person to run Puppy from his or her own multisession DVD or flash drive. This has the added advantage that they can run their Puppy in other computers.
Back to top
View user's profile Send_private_message 
plinius

Joined: 25 Sep 2013
Posts: 1

PostPosted: Wed 25 Sep 2013, 08:10    Post_subject: adduser  

HI. First time here, and first time a run Puppy.

I was just looking for some informations about adding a new user and avoiding browsing as root or run apps like xchat as root.
As long I can understand, is it not possible to add a standard user in puppy...right?
Is it not possible to login as root, add a standard user and login again..Am I missing something?

thank you
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9260
Location: Stratford, Ontario

PostPosted: Wed 25 Sep 2013, 08:27    Post_subject:  

Puppy has always been a single-user, run-as-root distro, although recent versions let you run certain apps as a non-privileged user.

If that concept bothers you, look at Fatdog. It has an option to run as multi-user.

The easiest way to have multiple Puppy users is to do multiple frugal installs that are selected from the GRUB boot menu.
Back to top
View user's profile Send_private_message 
ThoriumBlvd


Joined: 04 Oct 2013
Posts: 154
Location: N.E. USA

PostPosted: Sat 05 Oct 2013, 22:50    Post_subject:  

RSH wrote:
President John F. Kennedy
Waldorf-Astoria Hotel, New York City
April 27, 1961 wrote:
The very word "secrecy" is repugnant in a free and open society; and we are as a people inherently and historically opposed to secret societies, to secret oaths and to secret proceedings. We decided long ago that the dangers of excessive and unwarranted concealment of pertinent facts far outweighed the dangers which are cited to justify it. Even today, there is little value in opposing the threat of a closed society by imitating its arbitrary restrictions. Even today, there is little value in insuring the survival of our nation if our traditions do not survive with it. And there is very grave danger that an announced need for increased security will be seized upon by those anxious to expand its meaning to the very limits of official censorship and concealment. That I do not intend to permit to the extent that it is in my control. And no official of my Administration, whether his rank is high or low, civilian or military, should interpret my words here tonight as an excuse to censor the news, to stifle dissent, to cover up our mistakes or to withhold from the press and the public the facts they deserve to know.


I realize Puppy & derivitives run as root. To this end I have no quarrel. The original ASUS version of Linux, used right now by me, has set up a root & user account. I am not a perpetrator, criminal, or ne'er do well. I also think JFK's words have been parsed in this era. I would challenge the authority of any entity that spies on all citizens without due and proper reason citing tangible evidence and or direct witness. Perhaps we should repeal a few of the Constitutional Amendments, because we are not committing a crime, or criminal act, and we no longer need these protections of our person and our inherent desire to be open and honest. And by the way, share your house with your favorite branch of security detail, there's no harm gonna happen with a living security prescence, right? Just a thought upon the path being followed. /OT
Back to top
View user's profile Send_private_message 
L18L

Joined: 19 Jun 2010
Posts: 2579
Location: www.eussenheim.de/

PostPosted: Sun 06 Oct 2013, 04:03    Post_subject: Re: How to add users and assign Passwords
Sub_title: Easy 6 step process
 

bark_bark_bark wrote:

6.) Do:

Code:
passwd linux


Replace puppy with desired username & replace linux with desired password.


should be
Code:
passwd puppy


Code:
# passwd --help
BusyBox v1.21.0 (2013-02-18 15:57:06 WST) multi-call binary.

Usage: passwd [OPTIONS] [USER]

Change USER's password (default: current user)

   -a ALG   Encryption method
   -d   Set password to ''
   -l   Lock (disable) account
   -u   Unlock (enable) account

#
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8698

PostPosted: Sun 06 Oct 2013, 06:14    Post_subject:  

Its works better if useradd/usermod/user/del are added and used instead...does a neater job of adding and removing users and a /etc/skel folder is used to create the new profile in /home.

Move xwin launching to initab, make /tmp 0777, and some other twiddles to get the shutdown sequence working. Slim makes a neat login manager that does not require extra dependancies.

And dump those awful drive icons and use something else cos they are a pain under another user. There are other scripts that need /root changing to ~

su login gives sudobility ....

its fun

mike
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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