[wplug] Novell Netware Attach script question
Alheid, Gregory
alheidgj at upmc.edu
Thu Jun 5 13:03:48 EDT 2003
This should work for you
#!/bin/ksh
# or #!/bin/bash < This has not tested with bash >
if [ "x$1" = "x" ] ; then
user=sam
else
user=$1
fi
# Turn off echo'ing while password is entered
stty -echo
read pw?"? "
stty echo
echo
ncpmount -S {server} -U $user -P $pw /{mountpoint}
Greg
-----Original Message-----
From: Jonathan Colby [mailto:jcolby at ascc-inc.com]
Sent: Thursday, June 05, 2003 12:55 PM
To: wplug at wplug.org
Subject: [wplug] Novell Netware Attach script question
I have a Linux workstation with NCP ultilities successfully installed, and I
can "log-in" from that machine to a NetWare 4.11 server in bindery emulation
mode using:
# ncpmount -S {server} -U {username} -P {password} /{mountpoint}
... does anyone know how I can modify that script (or make a new one) that
will allow the username and password to be interactive instead of just
'coded in'? I have a number of linux machines that I want to create a
'guest' local account, and then log into the Novell network using any number
of logins, or machines. If I can make it interactive, that solves a huge
security issue for me! Any help, as always, would be greatly appreciated!
Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://penguin.wplug.org/pipermail/wplug/attachments/20030605/18d1bf97/attachment-0001.html
More information about the wplug
mailing list