From: Aharon Schkolnik <aharon () healdb ! matat ! health ! gov ! il>
To: tru64-unix-managers
Subject: [ Summary 1 ] Turn-Key (Closed Account)
Date: Mon, 06 May 1996 07:26:29 +0000 [thread overview]
Message-ID: <96076332421192.tru64-unix-managers.marc@archive.invalid> (raw)
My original question:
>> I want to create a Turn-Key account. That is, I want the user
>> to login, be put directly into an application, and when he
>> exits the application, to be logged out. The user needs to run
>> the ksh shell. What I've done so far, is to put the command to
>> run the application at the end of the .profile. I am wondering
>> if this is really secure. That is, is there a way for the user
>> to break out of the application and get to the shell ? Is there
>> a way for the user to skip the execution of the .profile
>> command ? Perhaps I should source the command that runs the
>> application. Perhaps I should make a special login shell for
>> the purpose. If so, how do I do that ?
My solution so far:
1. In /etc/passwd - for shell - /usr/local/bin/application-name
2. In /usr/local/bin/application-name
#!/bin/ksh
#
trap '' 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
PATH=$HOME/bin:${PATH:-/usr/bin:.}
export PATH
stty dec
tset -I -Q
MAIL=/usr/spool/mail/$USER
#
#
TERM=vt100;export TERM
exec application
exit
What do you think ? Further comments are welcome. I'll summarize again.
Other suggestions incluuded using /bin/Rsh
Thanks to:
>>>>> "Justin" == Justin Richardson <justin.richardson@citicorp.com>
>>>>> "Hellebo" == Hellebo Knut <Knut.Hellebo@nho.hydro.com>
>>>>> "UFPEL" == UFPEL <- CPMET <ufpelrm@eu.ansp.br>>
>>>>> "Thomas" == Thomas Erskine <tom@silverlock.dgim.doc.ca>
>>>>> "Jonathan" == Jonathan B Craig <jcraig@gfs.com>
>>>>> "Stephen" == Stephen L LaBelle <labelles@mscd.edu>
>>>>> "Richard" == Richard Mackerras <richard@metz.une.edu.au>
>>>>> "Cenon" == Cenon B C Marana <bonn@durian.usc.edu.ph>
>>>>> "ron" == ron barrett <ron_barrett@corp.Cubic.COM>
--
The day is short, and the work is great, | Aharon Schkolnik
and the laborers are lazy, and the reward | Aharon@Matat.Health.Gov.IL
is great, and the Master of the house is |
impatient. - Ethics Of The Fathers Ch. 2 |
reply other threads:[~1996-05-06 7:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox