Your best information will be coming from Bhaskar soon, but I have included
my start up information in the following two files.

I have a user named "vista".  The .bash_profile follows:
---------------------------------------------------------------

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH
unset USERNAME

/usr/local/gtm/VISTA
exit

---------------------------------------------------------------

Note the "exit" at the very end of the ".bash_profile" this is the Unix
command that is performed when the user is done running the script
"/usr/local/gtm/VISTA".

The "/usr/local/gtm/VISTA" script follows.
---------------------------------------------------------------

#!/bin/bash
#
export gtm_dist=/usr/local/gtm
export gtm_log=/usr/local/gtm/log
export gtmgbldir=/usr/local/gtm/vista/g/mumps.gld
export gtm_vista=/usr/local/gtm/vista
export PATH=$PATH:$gtm_dist
#
export gtmroutines="$gtm_dist($gtm_dist)
/home/biskate/swa(/home/biskate/swa) $g
tm_vista/o($gtm_vista/r/A $gtm_vista/r/B $gtm_vista/r/C $gtm_vista/r/D
$gtm_vist
a/r/E $gtm_vista/r/F $gtm_vista/r/G $gtm_vista/r/H $gtm_vista/r/I
$gtm_vista/r/J
 $gtm_vista/r/K $gtm_vista/r/L $gtm_vista/r/M $gtm_vista/r/N $gtm_vista/r/O
$gtm
_vista/r/P $gtm_vista/r/Q $gtm_vista/r/R $gtm_vista/r/S $gtm_vista/r/T
$gtm_vist
a/r/U $gtm_vista/r/V $gtm_vista/r/W $gtm_vista/r/X $gtm_vista/r/Y
$gtm_vista/r/Z
 $gtm_vista/r/_)"
#
mumps -run ^ZU

---------------------------------------------------------------

The last line in this script starts MUMPS and runs the ^ZU routine.  Any
exit from the VISTA software (^ZU) will cause the script to end and return
to the calling Unix startup script.  That causes the Unix "exit" command to
run and ends the users Unix session returning the user to the Unix username
and password.

Hope this helps.

Ben



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of CS Wagner
Sent: Monday, October 11, 2004 2:57 PM
To: [EMAIL PROTECTED]
Subject: Re: [Hardhats-members] Login Security


I've been trying to get the shell to be GTM.  I set it up in 
/etc/passwd, but the bash_profile wasn't parsed yet.  So, it work.  
Also, once I got the shell to be gtm, I haven't figured out how to pipe 
D ^ZU into it as the first (automatic) command.  Even if I get that 
working, can't they kill D ^ZU and type D ^XUP at the GTM prompt?  I'm 
answering questions for HIPAA computer guys, so I know they'll ask that.
-Shaun

Benjamin Irwin wrote:

>Shaun,
>
>If you use the command line D ^ZU, the system will ask for your Access 
>and Verify codes, using the standard security entry.
>
>Security is better accomplished so that the Unix (Linux) shell script 
>that is run when a user logs into Unix runs GTM and the routine ^ZU.  
>That way when the user logs out of Vista, they are also logged out of 
>Unix and they never see the programmer prompt (MUMPS Prompt).
>
>GTM>D ^ZU
> 
>                   Welcome to OpenVista
>
>Volume set: ROU:10  UCI: VAH  Device: /dev/pts/0
>
>ACCESS CODE:
>
>
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of CS 
>Wagner
>Sent: Monday, October 11, 2004 1:38 PM
>To: [EMAIL PROTECTED]
>Subject: [Hardhats-members] Login Security
>
>
>I've been asked a question I can't find the answer to...
>
>Without using CPRS in any way, can login security be set up in VistA 
>for
>command-line (GTM) use?  As it is now, it asks IDENTITY? and you can 
>type any name you like.
>
> -Shaun
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: IT Product Guide on 
>ITManagersJournal Use IT products in your business? Tell us what you 
>think of them. Give us Your Opinions, Get Free ThinkGeek Gift 
>Certificates! Click to find out more 
>http://productguide.itmanagersjournal.com/guidepromo.tmpl
>_______________________________________________
>Hardhats-members mailing list [EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/hardhats-members
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: IT Product Guide on 
>ITManagersJournal Use IT products in your business? Tell us what you 
>think of them. Give us Your Opinions, Get Free ThinkGeek Gift 
>Certificates! Click to find out more 
>http://productguide.itmanagersjournal.com/guidepromo.tmpl
>_______________________________________________
>Hardhats-members mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/hardhats-members
>  
>



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use
IT products in your business? Tell us what you think of them. Give us Your
Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Hardhats-members mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hardhats-members



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Hardhats-members mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to