LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-14-2005, 11:14 PM   #1
trey31357
Member
 
Registered: Apr 2005
Location: Birmingham, AL
Distribution: Win XP Pro / Slackware 10.1 dual-boot
Posts: 83

Rep: Reputation: 15
adding a user


I know this should be easy to find...but I didn't locate it in a search of the forums...how should I go about adding a user in Slack 10.1 so I'm not just running root? I know groupadd adds a group, but what for just a user?
 
Old 05-14-2005, 11:30 PM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
The simplest way is to use
Code:
adduser
A more complicated way is to use
Code:
useradd
 
Old 05-15-2005, 12:10 AM   #3
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

Rep: Reputation: 54
adduser....save yourself some headaches and avoid useradd
 
Old 05-16-2005, 10:15 AM   #4
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
I have had kuser crashing on a few machines now. If I want a gui, then I use Webmin
 
Old 05-16-2005, 10:46 AM   #5
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
I'm curious... Why is useradd supposed to be hard? I wasn't even aware of adduser... If you 'useradd -m' that sets everything up for you. Just set a password and your off..
 
Old 05-16-2005, 11:52 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Adduser is a lot simpler and more interactive. You don't have to remember any of those optional flags that are used by useradd.
 
Old 05-16-2005, 11:57 AM   #7
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
its not that adduser is hard, its just that it asks for pointless questions, like phone number, etc...
 
Old 05-16-2005, 12:04 PM   #8
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Gotcha... I just set an alias in /etc/bashrc for useradd so it uses the m switch. So when I useradd, it sets up the home folder, transfers from the skel directory, set's the default /bin/bash et. all....
 
Old 06-09-2005, 08:54 PM   #9
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally posted by xushi
its not that adduser is hard, its just that it asks for pointless questions, like phone number, etc...
Just click enter to leave them blank.. or edit the script to your liking..
 
  


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
adding user hoopy Linux - General 3 09-13-2005 10:38 PM
adding a new user Cinematography MEPIS 5 07-25-2005 10:19 PM
Adding User? cry0x Linux - Software 5 02-27-2005 05:15 PM
Adding user desbyleo Linux - Newbie 3 02-18-2002 08:15 PM
user adding sathu Linux - Newbie 1 02-12-2002 06:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:42 PM.

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