LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-20-2009, 09:21 AM   #1
errorsunknownp
Member
 
Registered: Dec 2008
Location: Nepal
Distribution: Slackware
Posts: 61

Rep: Reputation: 15
Post User setting in Slackware 12.2


From where can I create new user account? I'm logging in as root

I don't want to login as root.
 
Old 02-20-2009, 09:32 AM   #2
GazL
Senior Member
 
Registered: May 2008
Posts: 4,081
Blog Entries: 1

Rep: Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526
http://slackbook.org/html/essential-...SYSADMIN-USERS
 
Old 02-20-2009, 12:06 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

You can use the 'adduser' command. Be sure to add you user to the desired groups. I add my users to the groups;

Code:
users floppy audio video cdrom plugdev
 
Old 02-20-2009, 04:01 PM   #4
Phunkedelik
LQ Newbie
 
Registered: Feb 2009
Location: alberta canada
Distribution: archlinux
Posts: 19

Rep: Reputation: 2
if you adduser you dont need to worry about the groups as per say above you can easily later add users to any groups you want..
 
Old 02-21-2009, 07:06 AM   #5
GazL
Senior Member
 
Registered: May 2008
Posts: 4,081
Blog Entries: 1

Rep: Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526
Quote:
Originally Posted by Phunkedelik View Post
if you adduser you dont need to worry about the groups as per say above you can easily later add users to any groups you want..
If the user you're adding is intended for desktop use and you don't add the groups mentioned above by Gary, then you're going to encounter all sorts of problems with things not working as they should (and the cause won't be obvious at all to a newbie). We see this issue come up a lot in the slackware forum.

Unless you know what you're doing, I'd recommend always specifying those groups when you run adduser on a Slackware box.

Last edited by GazL; 02-21-2009 at 07:08 AM.
 
Old 02-21-2009, 07:13 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
Two more suggested groups: lp(lower-case ell) and power (lp for configuring and using printers).

Last edited by brianL; 02-21-2009 at 07:15 AM.
 
Old 02-21-2009, 01:40 PM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,
Quote:
Originally Posted by Phunkedelik View Post
if you adduser you dont need to worry about the groups as per say above you can easily later add users to any groups you want..
Sure, it's not necessary to add the user to the groups when you create the account. But if you do add to the group at the creation time then your user will be immediately added to the group(s) you assign thus not experiencing problems if you don't add to the proper group.

The plus side is that the user will not experience problems when attempts are made to use functions that they are prohibited from using when not in the right group. Thus a request would have to be made to the superuser/root to add to the desired group at a later time.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
setting setting umask for apache user only....how?..plz help mickyman Linux - General 0 05-08-2006 05:37 AM
Setting up a new user iqbala Linux - Software 4 10-23-2005 04:10 PM
setting capabilities for a user vmniza Linux - Security 4 03-17-2005 11:03 PM
Setting up a new user ChaosZ3RO Slackware 2 12-23-2003 05:03 PM
Setting up User Quotas? Uncreative Slackware 3 05-11-2003 09:08 AM


All times are GMT -5. The time now is 04:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration