Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
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
Old 26th March 2007, 17:28
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts

Originally Posted by FastS
How can i assign a passwd to the tomcat user and login through ssh?
The command is
passwd tomcat
But you must make sure that tomcat has a valid shell like /bin/bash in /etc/passwd. Also make sure you use a uid that doesn't conflict with the uids ISPConfig uses for its users. If possible, use a uid below 10000.
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote


Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu-Server 6.10 As A Firewall/Gateway Vpn Server Problem steveomach3ww HOWTO-Related Questions 6 26th March 2007 14:35
Virtual Hosting: How do I set this up? VinceDee Installation/Configuration 7 12th December 2006 19:36
newbie ububtu 6.0.6 error PHP binary line 816 davidsky73 Installation/Configuration 8 17th September 2006 12:51
Empty Recycle Bin jon335 General 40 6th May 2006 12:56
Help....package missing sbovisjb1 Installation/Configuration 3 31st March 2006 12:14

All times are GMT +2. The time now is 12:37.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.