[wplug] Novell Netware Attach script question

Mike Griffin mike at dmrnetworks.com
Thu Jun 5 13:04:21 EDT 2003


Write a script?

	#!/bin/bash

	echo -n "Enter Username: "
	read username

	echo -n "Enter Password: "
	read password

	ncpmount -S servername -U $username -P $password /mountpoint

	username=""
	password=""

	exit 0


The script will prompt for username and password, servername and 
mountpoint would be defined in the script.


Mike

On Thursday, June 5, 2003, at 12:54  PM, Jonathan Colby wrote:

> 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}
>  
> I have even created a text script and used chmod to make it 
> "executable" to automate that task (with essentially that line as the 
> script substituting real server name, user name, password and 
> mountpoint).  My question is this, 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 --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1609 bytes
Desc: not available
Url : http://penguin.wplug.org/pipermail/wplug/attachments/20030605/ec229a95/attachment-0001.bin


More information about the wplug mailing list