LinuxQuestions.org
Help answer threads with 0 replies.
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 09-01-2015, 11:45 PM   #1
rahalver
LQ Newbie
 
Registered: Jun 2015
Posts: 2

Rep: Reputation: Disabled
Cool Adding new user


I am trying to add a user to antiX. The terminal command "adduser" does not work (command not found); When I try the Control Center > System > Manage Users I am not sure what type of Shell to choose. When I tried a few of the Shells choices, at sets up a user, but upon login, with the password, it does not allow me in.

Last edited by rahalver; 09-02-2015 at 12:56 AM. Reason: I tried several options.
 
Old 09-02-2015, 01:49 AM   #2
maba001
LQ Newbie
 
Registered: Sep 2013
Posts: 3

Rep: Reputation: Disabled
What about "useradd".

As a shell I would try to go with "bash" first. If this doesn't work for some reason, try "sh".
 
Old 09-02-2015, 01:51 AM   #3
rahalver
LQ Newbie
 
Registered: Jun 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
I figured it out. I entered the following in terminal mode: sudo adduser newusername; then I answered the questions, or ignored most of them, and it worked.

(By the way, the bash and sh options do not seem to work - when I select them and then go to the next step nothing happens.)

Last edited by rahalver; 09-02-2015 at 02:38 AM. Reason: respond to help
 
Old 09-02-2015, 04:02 AM   #4
fatmac
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: AntiX
Posts: 1,950

Rep: Reputation: Disabled
Welcome aboard.

(I think you will find that the bash or sh option is for setting the login shell for the new user.)
 
Old 09-02-2015, 07:05 AM   #5
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 2,367

Rep: Reputation: 957Reputation: 957Reputation: 957Reputation: 957Reputation: 957Reputation: 957Reputation: 957Reputation: 957
Not an antix user

You may need to enter the full path: /bin/bash or /bin/sh
If you enter nothing, it should apply the default shell, but since I do not use antix I cannot test that.
 
Old 09-02-2015, 11:46 AM   #6
Habitual
LQ 5k Club
 
Registered: Jan 2011
Location: Nowhere near you, thank God.
Distribution: OSX Sierra
Posts: 8,573
Blog Entries: 14

Rep: Reputation: Disabled
Open your terminal and run
Code:
apropos -k user | grep add
and then check the appropriate man page for the one that is installed/written.
 
Old 09-02-2015, 09:00 PM   #7
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 2,367

Rep: Reputation: 957Reputation: 957Reputation: 957Reputation: 957Reputation: 957Reputation: 957Reputation: 957Reputation: 957
Dang, I should have said that!

+1 Habitual: it is never wrong to read the manual.
 
  


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
[SOLVED] Adding a new user to Solaris 9 so that this user can ssh into the server rcforster Solaris / OpenSolaris 2 03-14-2011 07:10 AM
adding a new user chetan_linux Linux - Software 3 08-27-2008 11:25 PM
adding a new user greenberet Linux - Software 1 07-05-2006 03:23 AM
adding user hoopy Linux - General 3 09-13-2005 10:38 PM
Adding User? cry0x Linux - Software 5 02-27-2005 05:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:32 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