ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Dmitriy Kruglikov <dmitriy.kruglikov@gmail.com>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Имя пользователя с точкой
Date: Tue, 3 Nov 2009 09:03:53 +0200
Message-ID: <6c7be88d0911022303g60c91e6csf86c09509ef47d77@mail.gmail.com> (raw)
In-Reply-To: <4AEFCFA8.4010209@nevod.ru>

3 ноября 2009 г. 8:37 пользователь Rinat Shigapov написал:
> Добрый день!
>
> Хочу заводить системных пользователей с точкой в имени. Сейчас получаю
> следующее:
>
> useradd Ivan.Petrov
> useradd: invalid user name 'Ivan.Petrov'
>
> Что нужно поправить, чтобы добиться желаемого?
Если подразумвается добавление пользователя в LDAP, то:
В /usr/lib/alterator/backend3/ldap-users

on_message()
{
        case "$in_action" in
                type)
---                      write_type_item newusername system-account-name
+++                   #write_type_item newusername system-account-name
                        write_type_item newemail e-mail
                        ;;

N.B! Это костыль и при обновлении пакета может отвалиться ...

А по уму, повесить баг на пакет.

-- 
Best regards,
 Dmitriy Kruglikov
 Dmitriy.Kruglikov_at_gmail_dot_com
 XMPP: Dmitriy.Kruglikov_at_gmail_dot_com

      parent reply	other threads:[~2009-11-03  7:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-03  6:37 Rinat Shigapov
2009-11-03  6:57 ` Konstantin Pavlov
2009-11-03 17:11     ` Michael Shigorin
2009-11-03 18:13       ` Anton Vinogradov
2009-11-05  4:59       ` Rinat Shigapov
2009-11-03  7:03 ` Dmitriy Kruglikov [this message]

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=6c7be88d0911022303g60c91e6csf86c09509ef47d77@mail.gmail.com \
    --to=dmitriy.kruglikov@gmail.com \
    --cc=sysadmins@lists.altlinux.org \
    /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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

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

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


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