On Thu, Jun 05, 2003 at 06:53:13PM +0800, Brian Baquiran wrote:
> [EMAIL PROTECTED] wrote:
> >afaik, users cant override TMOUT variable once it has been set. you can 
> >set it in the default profile and be assured that it will be implemented 
> >for all users. i might be wrong though.
> 
> Sure they can override it. Do a simple test
> $ export TMOUT=10
> $ export TMOUT=60
> 
> Then wait until BASH logs you out a minute later.

You can't if you declare the variable as readonly. 
e.g.  readonly TMOUT=3600

# readonly
declare -ar BASH_VERSINFO='([0]="2" [1]="05b" [2]="0" [3]="1"
[4]="release" [5]="i586-mandrake-linux-gnu")'
declare -ir EUID="0"
declare -ir PPID="7537"
declare -r
SHELLOPTS="braceexpand:hashall:histexpand:interactive-comments:monitor:vi"
declare -rx TMOUT="0"
declare -ir UID="0"

# export TMOUT=20
-bash: TMOUT: readonly variable

-- 
$_=q:; # SHERWIN #
70;72;69;6e;74;20;
27;4a;75;73;74;20;
61;6e;6f;74;68;65;
72;20;50;65;72;6c;
20;6e;6f;76;69;63;
65;27;:;;s=~?(..);
?=pack q$C$,hex$1;
;;;=egg;;;;eval;;;
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to