?
Solved

Linux : access denied while login for new user created

Posted on 2014-02-06
4
Medium Priority
?
801 Views
Last Modified: 2014-02-15
I have created new user using below command in Linux  from root user

#useradd -d /home/user01 -p momra01 pwd01

while login to by using this user from putty  SSH, I am getting access denied message.

please advice steps
0
Comment
Question by:mac_g
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 17

Assisted Solution

by:Sikhumbuzo Ntsada
Sikhumbuzo Ntsada earned 249 total points
ID: 39838293
The file that holds the config is "/etc/ssh/sshd_config"

I would back that up first and add the user, then restart.
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 252 total points
ID: 39838616
The user must set their password first by means of "passwd".
Login with a password set by root leads to a prompt requesting this action, which ssh doesn't tolerate.
0
 
LVL 13

Assisted Solution

by:Sandy
Sandy earned 249 total points
ID: 39838679
-p, --password PASSWORD
    The encrypted password, as returned by crypt(3). The default is to disable the password.

    Note: This option is not recommended because the password (or encrypted password) will be visible by users listing the processes.

TY/SA
0
 
LVL 5

Expert Comment

by:NARANTHIRAN
ID: 39849831
Have you disabled firewall in the system..
or have you enables the ssh connection in the firewall...
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month13 days, 6 hours left to enroll

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question