View Single Post
Old 25th March 2007, 01:27
FastS FastS is offline
Junior Member
Join Date: Mar 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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,
Reply With Quote
Sponsored Links