Solved

Linux : access denied while login for new user created

Posted on 2014-02-06
4
795 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
4 Comments
 
LVL 17

Assisted Solution

by:Sikhumbuzo Ntsada
Sikhumbuzo Ntsada earned 83 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 84 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 83 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

696 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