Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: .zlogout not read
- X-seq: zsh-users 14117
- From: Matt Wozniski <godlygeek@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: .zlogout not read
- Date: Wed, 13 May 2009 04:12:54 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=dKWVPbzQbxGROIDB/F7jWqcjGw2xBFwAc89pUKOmDMQ=; b=UwPzFG3wOY2x8sLLVxVrr4JOf0PzD1BTy0Z9Cch3Ln16K5o4vvYFbuDVkrDZ2LRnTK abrYpWvJXAqLe3r12+EMBCemReDXiV4b4r5aqN2kSpPEPfa8zj/RYYFwZ10MPKAqa820 6uQ/daZQC/f8Mh4X5E5PoPcJ5kpt/EBYpI2TE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=rlDqDVubKKBPJka+fWb04LQP+CjzyM2RmFwE5f41OMVegsNMkRckp5SdZvcF1PfJQi Hf1uzxPgBcZyu9stDxavB+5nHzGn9p39oiGdQUg2amSkmQ0b6uP9SzXQ96L+85pk0wEb 0FAgORV1EMohYMCoUHDEvVTjQqy2EE2vSoRqU=
- In-reply-to: <e7db6e960905130059k13e84a90n16cc23e6035dc5b3@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <e7db6e960905130059k13e84a90n16cc23e6035dc5b3@xxxxxxxxxxxxxx>
On Wed, May 13, 2009 at 3:59 AM, ugaciaka wrote:
> Hi,
>
> I want execeute a command (sudo -k) when I logout my session. I
> created .zlogout, after source .zlogout but I when close the shell
> (terminal in xfce) or type exit .zlogout not execute sudo -k.
.zlogout is only sourced when exiting a login shell, and terminal
emulators don't usually launch login shells. Either configure your
terminal to always launch login shells or, better yet, configure sudo
to allocate tickets per-tty instead of per-user. See man sudoers for
"tty_tickets".
~Matt
Messages sorted by:
Reverse Date,
Date,
Thread,
Author