LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 05-25-2004, 02:39 PM   #1
enolc
LQ Newbie
 
Registered: May 2004
Location: Denmark
Distribution: Debian
Posts: 2

Rep: Reputation: 0
Question Adding users via ssh remote command


Hi people!

I am setting up a ftp-server for a friend, running debian... He is gonna use the server in his studio to allow customers to upload music that he can work on... anyway, ive set up proftpd and is now trying to figure out an easy way for him to add users (customers) to the server from his pc running windows to allow them to login..

Ive been trying to set up a solution using ssh remote command sending the following command:
/usr/sbin/adduser --conf /etc/ftpuser.conf --gecos Test test
It almost works! I use a DSA key to allow sort of an "auto-login" and it then asks for a password for the user - and this is strange, because the password typed appears on the screen and is not properly "taken" by the debian server... the user though is created properly (with home dir etc) and running "passwd test" on the machine will result in a functioning user...

So... do any of you guys have a solution to this problem?

PS. Other ideas on how to remotely add users are also welcome...

PPS. I use plink for ssh (protocol 2)

Best regards
Enolc
 
Old 05-27-2004, 05:55 AM   #2
enolc
LQ Newbie
 
Registered: May 2004
Location: Denmark
Distribution: Debian
Posts: 2

Original Poster
Rep: Reputation: 0
Unhappy

Can it really be that no one has a suggestion ?

I think the problem might be the shadow passwords on the linux box
 
Old 05-27-2004, 06:48 AM   #3
random234
LQ Newbie
 
Registered: May 2004
Location: Refrath, Germany
Distribution: debian
Posts: 6

Rep: Reputation: 0
I would suggest you try it with pam.
With a little or maybe a little more fiddling around it could work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't SSH to remote machine: Connection closed by remote host Avatar Linux - Networking 32 02-21-2011 06:21 AM
SSH remote command not timing out tajsss Other *NIX 5 04-28-2005 06:57 AM
Adding users via command Line AmdMhz Linux - Software 4 10-31-2004 01:29 PM
remote command over ssh, password prompt linowes Linux - General 2 10-27-2002 08:22 PM
SSH logins and limiting remote users login rights. redgore Linux - Networking 2 07-16-2002 03:22 AM


All times are GMT -5. The time now is 05:02 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration