ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@mivlgu.murom.ru>
To: Leonid Sysoletin <mandrake-russian@altlinux.ru>
Subject: Re: [mdk-re] Re: lame PostgreSQL question
Date: Fri Mar 22 17:43:11 2002
Message-ID: <20020322144306.GB4072@vcserver.mivlgu.ru> (raw)
In-Reply-To: <5479729965.20020322173219@chemsell.yaroslavl.ru>

On Fri, Mar 22, 2002 at 17:32:19 +0300, Lenya L. Khachaturov wrote:
> Hello Leonid,
> 
> Friday, March 22, 2002, 5:13:53 PM, you wrote:
> 
> LS> 22 Март 2002 17:06, Вы написали:
> >> On Fri, Mar 22, 2002 at 04:47:21PM +0300, Korshunov Ilya wrote:
> >> > su - posgres
> >> Кажется, даже su -s /bin/sh - postgres
> 
> LS> Угу. Ему по дефолту /dev/null шеллом дають...
> 
> А пароль? Меня спрашивают пароль. Убрать что ли из
> /etc/tcb/postgres/shadow x?
> 
> 
> [lenya@testbox etc]$ su -s /bin/sh - postgres
> su: setting shell: permission denied
> 
> [lenya@testbox etc]$ su - postgres
> Password:

Видимо, надо сначала "su -" - только root имеет право использовать ключ -s
для su (а без него все равно не получится).




  reply	other threads:[~2002-03-22 17:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-22 16:42 [mdk-re] " Lenya L. Khachaturov
2002-03-22 16:47 ` Korshunov Ilya
2002-03-22 17:07   ` [mdk-re] " Michael Shigorin
2002-03-22 17:14     ` Leonid Sysoletin
2002-03-22 17:32       ` Re[2]: " Lenya L. Khachaturov
2002-03-22 17:43         ` Sergey Vlasov [this message]
2002-03-22 17:47         ` Leonid Sysoletin
2002-03-23 19:02         ` Alexei Takaseev
2002-03-22 17:17     ` Korshunov Ilya
2002-03-22 17:38       ` Michael Shigorin
2002-03-22 17:50         ` Korshunov Ilya

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=20020322144306.GB4072@vcserver.mivlgu.ru \
    --to=vsu@mivlgu.murom.ru \
    --cc=mandrake-russian@altlinux.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 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