From: "Александр Никольников" <aries@first.cb.ucsnet.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] autostart
Date: Thu, 20 Oct 2005 12:55:31 +0600
Message-ID: <20051020065531.GA30735@alexpc.oiau.chel.cbr.ru> (raw)
In-Reply-To: <4357295C.4050208@altlinux.org>
On Thu, Oct 20, 2005 at 09:21:32AM +0400, Alexey Rusakov wrote:
> Александр Никольников wrote:
>
> >On Wed, Oct 19, 2005 at 11:57:55PM +0300, Eugene Ostapets wrote:
> >
> >
> >>2005/10/19, Alexey Rusakov <ktirf altlinux.org>:
> >>
> >>
> >>>Я дико извиняюсь, но неужели файлы ~/.profile вышли из моды?
> >>>
> >>>
> >>А они уже отрабатываются единожды при логине в систему??? Где про это
> >>написано?
> >>
> >>
> >
> >Да. И об этом написано в man bash секция INVOCATION.
> >
> >
> Насколько я понял, речь о том, чтобы команда выполнялась один раз, а не
> два, если, скажем, залогинившись на одной виртуальной консоли, я
> выполняю логин на другой.
>
Ну значит надо как-то проверять залогинился-ли пользователь.
Если логин от этого пользователя первый - запустить команду.
Или проверять запущена-ли эта команда.
Если нет такого процесса у пользователя - запускаем.
--
Саша
next prev parent reply other threads:[~2005-10-20 6:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-19 13:16 Re[2]: " Chernetskyy Olexander
2005-10-19 18:56 ` Eugene Ostapets
2005-10-19 19:33 ` Alexey Rusakov
2005-10-19 20:57 ` Eugene Ostapets
2005-10-19 21:03 ` Alexey Rusakov
2005-10-20 3:11 ` Александр Никольников
2005-10-20 5:21 ` Alexey Rusakov
2005-10-20 6:12 ` Eugene Ostapets
2005-10-20 6:55 ` Александр Никольников [this message]
2005-10-20 7:01 ` Eugene Ostapets
2005-10-20 7:28 ` Alexey Rusakov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051020065531.GA30735@alexpc.oiau.chel.cbr.ru \
--to=aries@first.cb.ucsnet.ru \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git