From: Andrew Nazarkin <gnomik@mtv.ru> To: community@altlinux.ru Subject: Re: Re[2]: [Comm] Re: su Date: Tue, 13 May 2003 10:07:47 +0400 Message-ID: <200305131007.47252.gnomik@mtv.ru> (raw) In-Reply-To: <1458040655.20030513084146@scs-900.ru> В сообщении от 13 Май 2003 05:41 Evgeny Yugov написал: > Здравствуйте Andrew, > > >> И правильно выскакивает. Делать нужно так: > >> # su - user > > AN> Хы.. Замечательно (( > AN> А вот как это тому же юзеру postgres передать? (( > > А накой ляд Вам заходить под юзверем postgres? > Если бы Вы подробнее описали задачи, скорее всего ответ был бы быстрее > и точнее. А так Вы получили полумеры. А я собственно, описал задачу подробно: стоит локальный сервер ICQ Iserverd, когда заводится юзер в базе (а для запуска скрипта заведения юзера нужно делать именнно su - postgres - от рута, другого юзера доступа к постгресу нетути) этому юзеру отправляется мыло вида "вы заведены на сервере, ваш UIN, пароль такие-то). Так вот, мыло это формируется сначала в каталоге ~/tmp/ а потом отправляется. Если завожить юзера скриптом, то не лень сделать su - postgres, но "админ" аскиного сервера другой, шелл ему давать как-то... Поэтому все делается через веб-форму, которую я скачал с сайта проекта Iserverd, так вот, там именно su postgres выполняется, без "минусов". после алиаса su='su -' все заработало. > > В парвильно заданном вопросе, содержится половина ответа. (c) ;o) -- With Best Regards Andrew N. Nazarkin
next prev parent reply other threads:[~2003-05-13 6:07 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-05-12 9:56 [Comm] su Andrew Nazarkin 2003-05-12 10:46 ` [Comm] su Andrey Brindeew 2003-05-12 11:32 ` Andrew Nazarkin 2003-05-13 1:41 ` Re[2]: " Evgeny Yugov 2003-05-13 6:07 ` Andrew Nazarkin [this message] 2003-05-13 7:24 ` Re[4]: " Evgeny Yugov 2003-05-13 7:43 ` Andrew Nazarkin 2003-05-13 7:57 ` Re[6]: " Evgeny Yugov 2003-05-13 9:26 ` Andrew Nazarkin 2003-05-14 2:26 ` Re[8]: " Evgeny Yugov 2003-05-13 16:28 ` Re[4]: " ASA 2003-05-12 13:24 ` Andrew Nazarkin 2003-05-12 13:52 ` Andrey Brindeew 2003-05-12 14:18 ` Andrew Nazarkin 2003-05-12 14:36 ` [Comm] su Sergey S. Skulachenko 2003-05-12 15:10 ` Andrew Nazarkin 2003-05-12 16:11 ` Sergey S. Skulachenko 2003-05-13 6:09 ` Andrew Nazarkin
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=200305131007.47252.gnomik@mtv.ru \ --to=gnomik@mtv.ru \ --cc=community@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