Saratov Linux User Group
 help / color / mirror / Atom feed
From: "Nikita Borodikhin" <eliterr@gmail.com>
To: "Saratov Linux User Group Maillist" <sarlug@lists.lug.ru>
Subject: Re: [Sarlug] ftpd ls время создания файла
Date: Wed, 18 Jun 2008 17:24:59 +0400
Message-ID: <bde79e440806180624q484d1f99h5d8d68eb5dd4f539@mail.gmail.com> (raw)
In-Reply-To: <5810003166.20080618171055@mail.ru>

И снова зравствуйте!

2008/6/18 solmin <solmin@mail.ru>:
> Есть вроде еще один выход сделать запуск ftpd с экспортом переменной
> TZ, только как...

> ftpd работает не демоном, стартует из inetd.conf вот такой строкой:
> ftp     stream  tcp     nowait  root    /usr/libexec/ftpd       ftpd -l -l
>
> попробвал прописать в /etc/profile строку
> TZ=MSD; export TZ
> результата не дало. В общем пока проблема не решена. Жду советов =)

Как я понимаю, на /etc/profile inetd, запуская программы, не смотрит.

Попробуй состряпать скрипт (shell- или cshell-), устанавливающий переменные
окружения и вызывающий /usr/libexec/ftpd. А уж в inetd.conf прописать именно его
вместо оригинального. IMHO, должно сработать.

С уважением,
-- 
Nikita V. Borodikhin, System Administrator NIKB-RIPN BNV7-RIPE
Registered Linux user #256562 with the Linux Counter

  reply	other threads:[~2008-06-18 13:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-18 10:38 Солмин Владимир
2008-06-18 12:41 ` Nikita V. Borodikhin
2008-06-18 13:10   ` solmin
2008-06-18 13:24     ` Nikita Borodikhin [this message]
2008-06-18 14:27       ` solmin
2008-06-18 15:49         ` Nikita Borodikhin
2008-06-18 19:09           ` [Sarlug] ftpd ls ^[$B'S'b'V'^'q^[(B ^[$B'c'`'Y'U'Q'_'Z'q^[(B ^[$B'f'Q'[^[(B^[$B']'Q^[(B Michael Zherebin

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=bde79e440806180624q484d1f99h5d8d68eb5dd4f539@mail.gmail.com \
    --to=eliterr@gmail.com \
    --cc=sarlug@lists.lug.ru \
    /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

Saratov Linux User Group

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sarlug/0 sarlug/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 sarlug sarlug/ http://lore.altlinux.org/sarlug \
		sarlug@lists.lug.ru sarlug@lug.ru
	public-inbox-index sarlug

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sarlug


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git