* pwconv
@ 2001-01-10 20:00 Kevin Joubert
2001-01-10 20:19 ` pwconv Robby Griffin
2001-01-11 2:49 ` pwconv Mike Tibor
0 siblings, 2 replies; 3+ messages in thread
From: Kevin Joubert @ 2001-01-10 20:00 UTC (permalink / raw)
To: axp-list
I was hoping that you might lead me in the right direction on a little
problem. Without getting into the details of why, I was wondering if you
knew of a way to run a command like pwconv on a file other than
/etc/passwd (and the same for grpconv). I'm looking to convert a password
file into a shadow password file, but want this done in the background
(rather than disturbing /etc/passwd) until it's completely finished (to make
sure that no one has access to the (cleartext) file until it is done and
shadowed).
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pwconv
2001-01-10 20:00 pwconv Kevin Joubert
@ 2001-01-10 20:19 ` Robby Griffin
2001-01-11 2:49 ` pwconv Mike Tibor
1 sibling, 0 replies; 3+ messages in thread
From: Robby Griffin @ 2001-01-10 20:19 UTC (permalink / raw)
To: axp-list
>I was hoping that you might lead me in the right direction on a little
>problem. Without getting into the details of why, I was wondering if you
>knew of a way to run a command like pwconv on a file other than
>/etc/passwd (and the same for grpconv). I'm looking to convert a password
>file into a shadow password file, but want this done in the background
>(rather than disturbing /etc/passwd) until it's completely finished (to make
>sure that no one has access to the (cleartext) file until it is done and
>shadowed).
In the worst case, you could run pwconv in a chroot sandbox. Afaik, here's
what you need to place in the sandbox to do that:
etc/
group
passwd
lib/
libcrypt.so.1, libc.so.6, and ld-linux.so.2,
or whatever is reported by ldd /usr/sbin/pwconv.
usr/
sbin/
pwconv
grpconv
Then you can do:
chroot /path/to/sandbox usr/sbin/pwconv
chroot /path/to/sandbox usr/sbin/grpconv
--Robby
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: pwconv
2001-01-10 20:00 pwconv Kevin Joubert
2001-01-10 20:19 ` pwconv Robby Griffin
@ 2001-01-11 2:49 ` Mike Tibor
1 sibling, 0 replies; 3+ messages in thread
From: Mike Tibor @ 2001-01-11 2:49 UTC (permalink / raw)
To: axp-list
On Wed, 10 Jan 2001, Kevin Joubert wrote:
> I was hoping that you might lead me in the right direction on a little
> problem. Without getting into the details of why, I was wondering if you
> knew of a way to run a command like pwconv on a file other than
> /etc/passwd (and the same for grpconv). I'm looking to convert a password
> file into a shadow password file, but want this done in the background
> (rather than disturbing /etc/passwd) until it's completely finished (to make
> sure that no one has access to the (cleartext) file until it is done and
> shadowed).
Sounds like a little perl script would work great for that.
Mike
--
Mike Tibor Univ. of Alaska Anchorage (907) 786-1001 voice
Network Technician Consortium Library (907) 786-6050 fax
tibor@lib.uaa.alaska.edu http://www.lib.uaa.alaska.edu/~tibor/
http://www.lib.uaa.alaska.edu/~tibor/pgpkey for PGP public key
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-01-11 2:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-10 20:00 pwconv Kevin Joubert
2001-01-10 20:19 ` pwconv Robby Griffin
2001-01-11 2:49 ` pwconv Mike Tibor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox