* Re: [Comm] Common
@ 2003-06-23 9:41 ` Andrey Rybak
0 siblings, 0 replies; only message in thread
From: Andrey Rybak @ 2003-06-23 9:41 UTC (permalink / raw)
To: community
Andrew Borodin wrote:
>On Mon, Jun 23, 2003 at 11:59:21AM +0300, Andrey Rybak wrote:
>
>
>>Всего доброго!
>>Если дать команду:
>> adduser -p anyPassword anyUserName
>>то юзер anyUserName не добавляется. Точнее нельзя ему залогиниться.
>>А вот если дать команду:
>> adduser anyUserName
>>а потом:
>> passwd anyUserName
>>то все работает как и положено.
>>Конечно, это была бы дыра в безопасности, т.к. пароль можно было бы
>>прочитать из history, но зачем тогда в манах на команду adduser есть
>>ключ -p? Что думаете?
>>
>>
>
> Вот цитата из man:
>
> -p passwd
> The encrypted password as returned by crypt(3).
>
> Так что никакой дыры нет.
>
> С уважением,
> А. Бородин.
>
>_______________________________________________
>
>Хорошо, дыры нет, но перефразирую вопрос так: как задать пароль для юзера с помощью команды аdduser (не passwd!)?
>
>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-06-23 9:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-23 9:41 ` [Comm] Common Andrey Rybak
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