Re: [expert] How to stop automatic logoff?

2002-10-05 Thread KhoGuan PhuaN

 Vox writes:
 Eduardo Mendes [EMAIL PROTECTED] writes:
 
  I am having a problem with 9.0: Mandrkae terminates with my logon session 
  without any warning or messages. It does that automatically.  How can I get 
  rid of this annoying behaviour?
 
   That's part of msec's stuff...you set a high security level and the
   logoff-if-inactive thing is part of it. I don't remember what the
   exact fix is, but if you search the cooker@ archives you'll find it,
   it was discussed there.

  Check your msec security level by 'cat /etc/sysconfig/msec'
  Note SECURE_LEVEL and TMOUT variables' values. If SECURE_LEVEL
  is 4, TMOUT will be 3600(seconds) by msec's default. If SECURE_LEVEL
  is 5, TMOUT will be 900. SECURE_LEVELs 0,1,2  3 do not set TMOUT
  shell variable so you won't be automatically logged out. An easy
  solution for you would be to lower your security level by running
 'msec 3' or 'msec 2' as root. Just running it once, and the system
  will remain as level 3/2 even if you reboot. I think level 3 would be
  secure enough for you. 

  If you don't think so, and want to stick to level 4 or 5(paranoid 
  level), edit /etc/security/msec/level.local, which does not exist by
  default, to create a customized setting for TMOUT:

from mseclib import *
set_shell_timeout(0)

  But setting no shell timeout simply defeats the intended
  security which level 4 or 5 is designed to achieve.

  HTH.

  --Khoguan Phuann





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] How to stop automatic logoff?

2002-10-05 Thread David Guntner

KhoGuan PhuaN grabbed a keyboard and wrote:
 
   If you don't think so, and want to stick to level 4 or 5(paranoid 
   level), edit /etc/security/msec/level.local, which does not exist by
   default, to create a customized setting for TMOUT:
 
 from mseclib import *
 set_shell_timeout(0)

I've tried doing that with 9.0.  And it happily ignored it.  Argh.

With all the problems I've been having (with things like this, with mailq 
and newaliases being broken/missing, etc.), I'm seriously considering 
scrapping it and falling back to 8.2.  Maybe by 9.1, they'll have a stable 
system to make available

(For me, stable means more than simply, it doesn't crash.  The programs 
that should be there need to be there and work as expected, etc.)

  --Dave
-- 
  David Guntner  GEnie: Just say NO!
 http://www.akaMail.com/pgpkey/davidg or key server
 for PGP Public key




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] How to stop automatic logoff?

2002-10-05 Thread KhoGuan PhuaN

2002-10-06 04:50, David Guntner writes:
 KhoGuan PhuaN grabbed a keyboard and wrote:
  
If you don't think so, and want to stick to level 4 or 5(paranoid 
level), edit /etc/security/msec/level.local, which does not exist by
default, to create a customized setting for TMOUT:
  
  from mseclib import *
  set_shell_timeout(0)
 
 I've tried doing that with 9.0.  And it happily ignored it.  Argh.


Try to remove /etc/sysconfig/msec and then run 'msec 4' with
set_shell_timeout(0) in /etc/security/msec/level.local.
'echo $TMOUT', and you will see it become 0. 
Be sure to check my last reply to you about how to correct the broken
level.local file.
 
 With all the problems I've been having (with things like this, with mailq 
 and newaliases being broken/missing, etc.), I'm seriously considering 
 scrapping it and falling back to 8.2.  Maybe by 9.1, they'll have a stable 
 system to make available

'rpm -q sendmail postfix' to see if you have installed both sendmail
and postfix. Postfix has mailq and newaliases commands as sendmail.
To avoid confusion, Mandrake renames them as mailq.postfix and 
newaliases.postfix for postfix, while mailq.sendmail and
newaliases.sendmail for sendmail.

Decide which MTA you want to use (check by sudo 'service sendmail
status' and 'service postfix status'; only one should be running) and
symlink either of the 2 pairs of mailq and newaliases to 
/etc/alternatives/mta-mailq and /etc/alternatives/mta-newaliases
e.g. as root

~# ln -s /usr/bin/mailq.postfix /etc/alternatives/mta-mailq
~# ln -s /usr/bin/newaliases.postfix /etc/alternatives/mta-newaliases


 (For me, stable means more than simply, it doesn't crash.  The programs 
 that should be there need to be there and work as expected, etc.)

Don't panic. Just a little bit of tuning to make ML 9.0 stable as you
mean.


--KhoGuan Phuann, from Taiwan





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] How to stop automatic logoff?

2002-10-04 Thread Eduardo Mendes

Hello

I am having a problem with 9.0: Mandrkae terminates with my logon session 
without any warning or messages. It does that automatically.  How can I get 
rid of this annoying behaviour?

Many thanks

Ed




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] How to stop automatic logoff?

2002-10-04 Thread Vox

Eduardo Mendes [EMAIL PROTECTED] writes:

 Hello

 I am having a problem with 9.0: Mandrkae terminates with my logon session 
 without any warning or messages. It does that automatically.  How can I get 
 rid of this annoying behaviour?

  That's part of msec's stuff...you set a high security level and the
  logoff-if-inactive thing is part of it. I don't remember what the
  exact fix is, but if you search the cooker@ archives you'll find it,
  it was discussed there.

  Vox

-- 
Pain is the gift of the gods, and I'm the one they chose as their messenger
For info on safety in the BDSM lifestyle http://www.the-vox.com

Think of the Linux community as a niche economy isolated by its beliefs.  Kind
of like the Amish, except that our religion requires us to use _higher_
technology than everyone else.   -- Donald B. Marti Jr.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com