LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 10: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-01-2015 at 11:56 PM. Reason: I tried several options.
 
Old 09-02-2015, 12: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, 12: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 01:38 AM. Reason: respond to help
 
Old 09-02-2015, 03:02 AM   #4
fatmac
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: AntiX.
Posts: 1,825

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, 06: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,139

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
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, 10:46 AM   #6
Habitual
LQ Addict
 
Registered: Jan 2011
Posts: 8,249
Blog Entries: 11

Rep: Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289Reputation: 2289
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, 08: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,139

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
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 06:10 AM
adding a new user chetan_linux Linux - Software 3 08-27-2008 10:25 PM
adding a new user greenberet Linux - Software 1 07-05-2006 02:23 AM
adding user hoopy Linux - General 3 09-13-2005 09:38 PM
Adding User? cry0x Linux - Software 5 02-27-2005 04:15 PM


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