ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Mikhail Zabaluev <mookid@sigent.ru>
To: devel@linux.iplabs.ru
Subject: Re: [devel] lang.csh
Date: Fri, 2 Feb 2001 10:54:06 +0300
Message-ID: <20010202105406.A1921@localhost.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.32L.0102011406210.1190-100000@zephyrous.ru>; from vanyaz@mccme.ru on Thu, Feb 01, 2001 at 02:43:21PM +0300

Hello Ivan,

On Thu, Feb 01, 2001 at 14:43 +0300, Ivan Zakharyaschev wrote:
>
> А вообще нельзя ли избежать дублирования в /etc/profile.d/ одного и того
> же в двух вариантах (sh и csh)?
> 
> Можно сделать, например, так: всем полноправным пользователям в качестве
> login shell записывается не какой-то из sh, bash, tcsh и т.д., а просто
> некоторая программа "shell manager" (по аналогии с desktop manager). Этот
> shell manager -- простой /bin/sh, который исполняет весь profile, а в
> конце делает exec bash, exec tcsh или что пользователь пожелает (выбор
> shell'а, в котором пользователь будет работать, можно предоставить самому
> пользователю, а можно и жестко закрепить за ним уже выбранный
> администратором). Окружение, состояние консоли при этом в конечном
> пользоваетльском shell'е сохраняются. Могут все-таки быть какие-то особые
> для каждого из варинтов действия, которые надо совершить при входе -- они
> будут выполняться так же, как и сейчас, конечным shell'ом (но их будет
> уже сильно меньше).

Идея неплоха, но для этого нужно ломать все скрипты из profile,
устоявшиеся в Red Hat и Mandrake.

-- 
Stay tuned,
  MhZ                                    mailto:mookid@sigent.ru
-----------
A bug in the code is worth two in the documentation.
_______________________________________________
Devel mailing list
Devel@linux.iplabs.ru
http://www.logic.ru/mailman/listinfo/devel


  reply	other threads:[~2001-02-02  7:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-31 23:21 Ivan Zakharyaschev
2001-02-01  0:34 ` Dmitry V. Levin
2001-02-01 11:43   ` Ivan Zakharyaschev
2001-02-02  7:54     ` Mikhail Zabaluev [this message]
2001-02-02 10:22       ` Ivan Zakharyaschev

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=20010202105406.A1921@localhost.localdomain \
    --to=mookid@sigent.ru \
    --cc=devel@linux.iplabs.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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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