Re: [netatalk-admins] Changing passwords?


Subject: Re: [netatalk-admins] Changing passwords?
From: Mario Klebsch DG1AM (mkl@buster.rob.cs.tu-bs.de)
Date: Tue Oct 07 1997 - 02:16:31 EDT


>I think part of the problem with implementing password changing with
>netatalk is that root permissions are needed to modify /etc/passwd. I
>think the easiest way around this would be for the user's afpd process to
>make a call to rpc.yppasswdd.

What about executing passwd with expect? Expect does execute a command
(like popen), but uses a pseudo tty, so passwd does find its /dev/tty
for reading the password.

73, Mario

-- 
Mario Klebsch, DG1AM, M.Klebsch@tu-bs.de		+49 531 / 391 - 7457
Institut fuer Robotik und Prozessinformatik der TU Braunschweig
Hamburger Strasse 267, 38114 Braunschweig, Germany



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:26:50 EST