Article View: gnu.misc.discuss
Article #73026Making BASH log off within an init script
From: William S. Marshall IV
Date: Thu, 07 Nov 1991 19:45
Date: Thu, 07 Nov 1991 19:45
15 lines
1296 bytes
1296 bytes
How can I get bash to log a user off from within one of
the init files (e.g. /etc/profile, ~/.bash_profile, etc.)?
When I place an exit or logout in one of these files it
simply stops executing that script. This is a feature that
I can and do use with sh, ksh, and csh.
Also, where is the proper place for this question ?
-----------------------------------------------------------------------
Bill Marshall Internet: marshall@mal-s2.gatech.edu or
wm5@prism.gatech.edu
Phone: (404) 528-7718, FAX: (404) 528-7718
Address: GTRI/MAL 0800, CCRF 5-213
Atlanta, GA 30332
-----------------------------------------------------------------------
Technical Details
Message-ID:
<40701@hydra.gatech.EDU>Path:
arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!wupost!uunet!europa.asd.contel.com!gatech!prism!wm5Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1025b4,6ab3c4a2057322e2,start X-Google-Attributes: gid1025b4,public X-Google-ArrivalTime: 1991-11-07 12:12:40 PST Path: arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!wupost!uunet!europa.asd.contel.com!gatech!prism!wm5 From: wm5@prism.gatech.EDU (William S. Marshall IV) Newsgroups: gnu.misc.discuss Subject: Making BASH log off within an init script Message-ID: <40701@hydra.gatech.EDU> Date: 7 Nov 91 19:45:33 GMT Organization: Georgia Institute of Technology Lines: 15