From: "Artem K. Jouravsky" <ujo@ifirst.ru>
To: "Artem K. Jouravsky" <mandrake-russian@altlinux.ru>
Subject: [mdk-re] Re: [JT] Re: postfix and username with dot
Date: Wed Feb 13 11:53:25 2002
Message-ID: <20020213090230.GA9411@ifirst.ru> (raw)
In-Reply-To: <126559644.20020213135003@intramail.ru>
On Wed, Feb 13, 2002 at 01:50:03PM +0500, Tihonov Vladimir wrote:
> Hello Artem,
>
> Wednesday, February 13, 2002, 1:43:08 PM, you wrote:
>
> AKJ> On Wed, Feb 13, 2002 at 01:24:48PM +0500, Tihonov Vladimir wrote:
> >> Hello Artem,
> >>
> >> Wednesday, February 13, 2002, 1:07:10 PM, you wrote:
> >>
> >> AKJ> Сегодня попробую, может и правда можно. Но если предполагается, что postfix
> >> AKJ> будет принимать почту для системного пользователя, тогда точно нельзя -
> >> AKJ> нельзя в linux сделать пользователя с точкой в имени.
> >> Что вы говорите? :)
> AKJ> Убедили :)
> AKJ> А все таки, попробуйте дать команду chown для этого пользователя. Любой
> AKJ> файл. Как chown поймет, что после точки продолжение имени пользователя а
> AKJ> не группа? Оно может и не по POSIX, но оно есть.
> Usage: chown [OPTION]... OWNER[:[GROUP]] FILE...
Значит, привели в соответствие с POSIX. man chown:
POSIX 1003.2 не позволяет использовать точку в качестве разделителя между
именем пользователя и именем группы.
[ujo@support ujo]$ sudo chown root.root XFree86.0.log
[ujo@support ujo]$ ll XFree86.0.log
-rw-r--r-- 1 root root 10036 Фев 13 11:52 XFree86.0.log
А у нас позволяет...
> [root@siberia root]# ls
> auto_inst.cfg.pl tmp/
> [root@siberia root]# chown a.b auto_inst.cfg.pl
> [root@siberia root]# ls -la
> total 116
> drwx------ 9 root root 4096 Feb 10 04:22 ./
> drwxr-xr-x 17 root root 4096 Feb 4 11:32 ../
> -rw-r--r-- 1 a.b root 12199 Aug 11 2001 auto_inst.cfg.pl
>
> AKJ> И, кстати, расскажите как создали такого пользователя - прямой правкой
> AKJ> passwd? :)
> [root@siberia root]# adduser a.b
> [root@siberia root]# tail -1 /etc/passwd
> a.b:x:524:527::/home/a.b:/bin/false
> [root@siberia root]#
>
> AKJ> У вас какой дистрибутив?
> Mandrake 8.1 + Cooker
> Mandrake 7.1 RE
Может быть, 7.0? Но в нем у меня отлично работало chown user.group, а
после него вроде сразу Spring вышел (c промежутком в Appendix).
--
Best wishes,
Artem K. Jouravsky,
iFirst Ltd, System Administrator.
-----------------------
Make sure your code does nothing gracefully.
next prev parent reply other threads:[~2002-02-13 11:53 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-13 9:11 [mdk-re] " Carry Ram
2002-02-13 9:37 ` [mdk-re] " Artem K. Jouravsky
2002-02-13 10:36 ` Dmitry Maevsky
2002-02-13 10:59 ` Artem K. Jouravsky
2002-02-13 11:10 ` Dmitry Maevsky
2002-02-13 11:16 ` Tihonov Vladimir
2002-02-13 11:24 ` Re[2]: " Dmitry Maevsky
2002-02-13 11:51 ` Re[3]: " Tihonov Vladimir
2002-02-13 13:06 ` Andry Vakatov
2002-02-13 11:33 ` [mdk-re] [JT] " Artem K. Jouravsky
2002-02-13 11:43 ` Tihonov Vladimir
2002-02-13 11:53 ` Artem K. Jouravsky [this message]
2002-02-13 12:04 ` [mdk-re] " Tihonov Vladimir
2002-02-13 12:10 ` [mdk-re] " Dmitry Maevsky
2002-02-13 13:16 ` [mdk-re] " Artem K. Jouravsky
2002-02-13 13:27 ` Dmitry Maevsky
2002-04-16 9:14 ` [mdk-re] Postfix warning Tihonov Vladimir
2002-04-16 11:39 ` cornet
2002-04-16 13:40 ` Re[2]: " Tihonov Vladimir
2002-02-13 13:17 ` [mdk-re] postfix без привязки к сисемным аккаунтам Serg
2002-02-13 13:27 ` [mdk-re] " Artem K. Jouravsky
2002-02-13 14:07 ` Dmitry V. Levin
2002-02-14 0:31 ` Mikhail Zabaluev
2002-02-13 10:57 ` [mdk-re] Re: postfix and username with dot Michael Shigorin
2002-02-13 11:08 ` Tihonov Vladimir
2002-02-13 11:30 ` Mikhail Zabaluev
2002-02-13 12:02 ` Carry Ram
2002-02-13 11:43 ` [mdk-re] " Вадим Илларионов
2002-02-13 11:54 ` Re[2]: " Tihonov Vladimir
2002-02-13 12:05 ` Re[3]: " Tihonov Vladimir
2002-02-13 12:11 ` Re[2]: " Dmitry Maevsky
2002-02-13 13:28 ` [mdk-re] Re: [JT] " Michael Shigorin
2002-02-13 13:49 ` Dmitry Maevsky
2002-02-13 14:15 ` Artem K. Jouravsky
2002-02-13 15:00 ` Dmitry Maevsky
2002-02-14 0:25 ` Mikhail Zabaluev
2002-02-14 9:38 ` Dmitry Maevsky
2002-02-14 11:36 ` Artem K. Jouravsky
2002-02-14 12:16 ` Dmitry Maevsky
2002-02-14 12:57 ` Dmitry V. Levin
2002-02-13 20:13 ` Вадим Илларионов
2002-02-13 12:40 ` [mdk-re] " Aleksey Novodvorsky
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=20020213090230.GA9411@ifirst.ru \
--to=ujo@ifirst.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