Article View: pl.comp.os.bsd
Article #20496Re: FreeBSD 7.0 ustawienie hasła w trybie interaktywnym
From: bohateur
Date: Wed, 01 Oct 2008 12:56
Date: Wed, 01 Oct 2008 12:56
17 lines
1327 bytes
1327 bytes
Marcin Gryszkalis pisze: > bohateur wrote: >> Muszę napisać skrypt do automatycznego założenia kont >> dla kilkuset osób. W jaki sposób z poziomu pętli for >> w bashu ustawić hasło dla danego konta? Próboję >> użyć opcji -stdin passwd ale nie działa. > man pw > opcja -h albo -H zrobiłem inaczej. gdyby kogoś interesowało pw user add konto chpass -p `openssl passwd -1 haslo_do_konta_plain` konto pozdrawiam
Technical Details
Message-ID:
<gbvs2f$trm$1@news.task.gda.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.task.gda.pl!not-for-mailReferences:
<gbvk60$8po$1@news.task.gda.pl> <gbvln4$et4$1@node1.news.atman.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.task.gda.pl!not-for-mail
From: bohateur <bohateur@{NOSPAM}gmail.com>
Newsgroups: pl.comp.os.bsd
Subject: Re: FreeBSD 7.0 ustawienie hasła w trybie
interaktywnym
Date: Wed, 01 Oct 2008 14:56:48 +0200
Organization: CI TASK http://www.task.gda.pl/
Lines: 17
Message-ID: <gbvs2f$trm$1@news.task.gda.pl>
References: <gbvk60$8po$1@news.task.gda.pl> <gbvln4$et4$1@node1.news.atman.pl>
NNTP-Posting-Host: artax.pwsz.elblag.pl
Mime-Version: 1.0
X-Trace: news.task.gda.pl 1222865807 30582 82.177.38.80 (1 Oct 2008 12:56:47 GMT)
X-Complaints-To: abuse@news.task.gda.pl
NNTP-Posting-Date: Wed, 1 Oct 2008 12:56:47 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
In-Reply-To: <gbvln4$et4$1@node1.news.atman.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit