adduser set passwd for ssh
Hello everyone!
I am not sure if this question is appropiate in the ISPConfig. Maybe my problem is not specific to ISPConfig. I have installed ISPConfig version 2.2.7 on an Ubuntu server. If i add users though the ISPConfig interface they are able to login into SSH. However i want to add some specific users in Linux directly. I have done this:
# add a tomcat user
> adduser -m tomcat
# unlock the tomcat account
> passwd -u tomcat
# query status
> passwd -S tomcat
tomcat NP 03/21/2007 0 99999 7 -1
# notice the NP = no password
> passwd tomcat
Enter new password:
Re-type new password:
passwd: password updated successfully
# however the status stays the same
> passwd -S tomcat
tomcat NP 03/21/2007 0 99999 7 -1
# add ssh login is not possible
> ssh tomcat@localhost
tomcat@localhost's password:
Permission denied, please try again.
tomcat@localhost's password:
How can i assign a passwd to the tomcat user and login through ssh?
Best regards,
FastS
|
Recent comments
1 day 4 hours ago
1 day 7 hours ago
1 day 8 hours ago
1 day 10 hours ago
1 day 11 hours ago
1 day 13 hours ago
1 day 14 hours ago
2 days 6 hours ago
2 days 7 hours ago
2 days 11 hours ago