From: "Artem K. Jouravsky" <ujo@ifirst.ru>
To: "Artem K. Jouravsky" <mandrake-russian@altlinux.ru>
Subject: [mdk-re] Re: useradd в пакетном режиме
Date: Mon Apr 15 11:25:34 2002
Message-ID: <20020415072509.GA7698@ifirst.ru> (raw)
In-Reply-To: <168115754496.20020413201301@e-foto.ru>
On Sat, Apr 13, 2002 at 08:13:01PM +0400, Maxim wrote:
> Здравствуйте, Artem.
> Вы писали 12 апреля 2002 г., 22:07:01:
>
> AKJ> On Fri, Apr 12, 2002 at 09:02:46PM +0400, Konstantin Lepikhov wrote:
> >> Hi Artem!
> >>
> >> Tuesday 09, at 05:07:36 PM you wrote:
> >>
> >> <skip>
> >> > > > Если да, то какой командой я могу зашифровать пароль?
> >> > > Опция -p подразумевает уже зашифрованный пароль. Поэтому просто шифруйте
> >> > > AnyPassword с помощью crypt и подсталяйте его.
> >> > системной команды crypt нету, функция от Perl требует salt и шифрует явно
> >> > не системным методом. Писать для шифровки отдельную программу на С? Вряд
> >> > ли задача такая уж новая, должно быть более стандартное решение.
> >> > Вот вариант с Expect, кажется, то что нужно, уже читаю. Пригодится
> >> > и в дальнейшем, судя по всему, спасибо!
> >> >
> >> А чем плох "несистемный метод"? - авторизация пользователей все равно
> >> происходит. К тому же, никто не мешает увеличить разброс "случайности" в
> >> salt.
> AKJ> Несистемный метод плох тем, что полученный таким образом пароль не
> AKJ> занесёшь в системные /etc/passwd /etc/tcb/user/shadow.
> AKJ> Задача - сделать скрипт, чтобы позволить определённым людям заводить
> AKJ> новых/менять старых пользователей для почты. А они у нас системные :(
>
> Я вспомнил. Мы тут как раз на днях делали такую штуку. Passwd может принимать
> ввод из стандартного вывода. То есть вы сначало делаете adduser а потом
> echo "что-нибудь" | passwd. И все. Буде работать. проверяли.
Да? У меня вроде, как-то не работало...
Да меня chpasswd полностью устраивает
--
Best wishes,
Artem K. Jouravsky,
iFirst Ltd, System Administrator.
-----------------------
Someone has messed up the kernel pointers
next prev parent reply other threads:[~2002-04-15 11:25 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-09 16:29 [mdk-re] " Artem K. Jouravsky
2002-04-09 16:37 ` Igor Homyakov
2002-04-09 16:41 ` vic ismakaev
2002-04-09 17:08 ` [mdk-re] " Artem K. Jouravsky
2002-04-09 17:37 ` Grigory Milev
2002-04-09 18:39 ` cornet
2002-04-09 19:19 ` Artem K. Jouravsky
2002-04-10 15:31 ` Alexey Morozov
2002-04-12 21:06 ` Konstantin Lepikhov
2002-04-12 22:07 ` Artem K. Jouravsky
2002-04-13 11:51 ` Konstantin Lepikhov
2002-04-13 11:55 ` Alexey Morozov
2002-04-13 20:11 ` [mdk-re] " Maxim
2002-04-15 11:25 ` Artem K. Jouravsky [this message]
2002-04-09 17:41 ` Dmitry V. Levin
2002-04-09 18:04 ` Artem K. Jouravsky
2002-04-10 15:34 ` Alexey Morozov
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=20020415072509.GA7698@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