From: Yura Zotov <yznews@hotbox.ru>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] Проблема с adduser
Date: Sat, 2 Feb 2002 21:30:07 +0300
Message-ID: <20020202183007.GA9269@home-pool4-109.com2com.ru> (raw)
In-Reply-To: <20020202172740.5b08ed97.svd@lintec.minsk.by>
On Sat, Feb 02, 2002 at 05:27:40PM +0200, Sviatoslav Sviridov wrote:
> On Sat, 2 Feb 2002 18:19:18 +0300
> Yura Zotov <yznews@hotbox.ru> wrote:
>
> > Недавно AEN хвастался, что в Мастере пустой /etc/shaddow, и я
> > решил проверить свой. Он оказался не пустым, а очень даже с
> > паролями для всех пользователей. Ну, думаю, старый остался.
> > Очистил. Логин перестал пускать на машину кого бы то ни было.
> > Восстановил, все заработало.
> >
> > Решил сделать нового пользователя adduser -s /bin/bash test.
> > Сделался, в /etc/passwd прописался как надо,
> >
> > test:x:505:511::/home/test:/bin/bash
> >
> > в /etc/shadow запись не
> > добавилась, в /etc/tcb/test/shadow имеем
> >
> > test:!!:11720::::::
> >
> > Далее
> > # passwd test
> > Changing password for user test
> > passwd: Authentication service cannot retrieve authentication
> > info.
> >
> > И все, пароль новому пользователю не назначается. А su вот что
> > говорит.
> >
> > # su test
> > Account management:- Insufficient credentials to access
> > authentication data
> > (Ignored)
> >
> > Но шелл запускает. Из него passwd ругается так же.
> >
> > И как быть? Как создавать нового пользователя? Что не так?
> >
> > libtcb-0.9.7-alt2
> > tcb-utils-0.9.7-alt2
> > nss_tcb-0.9.7-alt2
> > pam_tcb-0.9.7-alt2
> > passwd-0.64.1-ipl5mdk
> > login-0.60-alt10
> >
> > # rpm -qf /etc/shadow
> > warning: file /etc/shadow is not owned by any package
> >
> > rpm -V про все перечисленные пакеты ничего не говорит.
>
> А в /etc/pam.d/ всё нормально?
> Конвертация shadow прошла нормально? все пользователи появились в /etc/tcb/?
>
Да вроде все нормально. На tcb переходил Бог знает когда. Само
оно тогда не совсем хорошо автоматически установилось. Пришлось
руками /etc/pam.d/system-auth на новый менять, /etc/passwd
править: у пользователей "x" ставить, а у всех остальных "*"
в поле пароля, а то у меня у всех "x" был или еще как-то, уже не
помню.
Сейчас вроде все нормально, все пользователи, которые были
работают нормально. Я все время думал, что переход на tcb прошел
у меня успешно, а тут вот выяснилось.
--
Юрий А. Зотов
next prev parent reply other threads:[~2002-02-02 18:30 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-02 15:19 Yura Zotov
2002-02-02 15:27 ` Sviatoslav Sviridov
2002-02-02 18:30 ` Yura Zotov [this message]
2002-02-02 18:48 ` Sergei
2002-02-02 18:52 ` Grigory Batalov
2002-02-02 20:11 ` Yura Zotov
2002-02-04 12:35 ` Dmitry V. Levin
2002-02-28 14:09 ` [sisyphus] Re[2]: " Lenya L. Khachaturov
2002-02-28 14:21 ` Dmitry V. Levin
2002-02-28 14:49 ` [sisyphus] Re[2]: " Lenya L. Khachaturov
2002-02-28 14:56 ` [sisyphus] " Vyt
2002-02-28 15:15 ` [sisyphus] " Lenya L. Khachaturov
2002-02-02 19:15 ` [sisyphus] " Vitaly Lipatov
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=20020202183007.GA9269@home-pool4-109.com2com.ru \
--to=yznews@hotbox.ru \
--cc=sisyphus@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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git