Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <20000519215342.20497.qmail@web206.mail.yahoo.com> Date: Fri, 19 May 2000 14:53:42 -0700 (PDT) From: Ken Coleman Subject: Re: All-clear: ssh/sshd/inetutils work on W9X To: cygwin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii No problem. It's pretty cheesy, but it works for me. No login - just a password is required. Put this as /usr/bin/login and you're all set: ------------------------------ #!/bin/bash echo -n "Password: " stty -echo read PASSWORD stty echo case $PASSWORD in PWGoesHere) exec bash;; *) echo "Invalid password";; esac ------------------------------ Obviously you'll want to replace PWGoesHere with a password of your own. I have been intending to write a more complex script that greps for the login name in the /etc/passwd file and then accepts a password, calls crypt.exe, and compares. I just haven't gotten around to it, though. Maybe this weekend. Hope that helps! - Ken. ken_coleman AT iname DOT com > > Ken, would you mind to publish your version of the > `login' > script as another example? > > Hope, that helps, > Corinna __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com