*BSD News Article 54746


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!news.sprintlink.net!archon.elysian.net!jasonb.sckans.edu!user
From: jasonb@jinx.sckans.edu (jasonb)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Changing password for PPP users problem
Date: Tue, 07 Nov 1995 12:29:11 -0600
Organization: Elysian Fields Internet
Lines: 24
Message-ID: <jasonb-0711951229110001@jasonb.sckans.edu>
NNTP-Posting-Host: 198.248.176.21
X-Newsreader: Yet Another NewsWatcher 2.0b30

I am playing with NetBSD 2.01 and am having trouble with the change
password command (chpass -- as I recall).  The system is set up with each
user having two separate accounts -- one for shell access and the other
for PPP access.  The PPP account is the shell userid with a 'P' as a
prefix (i.e. user "jasonb" logs in as "Pjasonb" for PPP access).  This
works slickly and drops the user directly into PPP after login, but one
problem...

My Problem:  The change password command only alters the user's shell
account, which makes sense because to execute the 'chpass' command the
user would have to be logged in and running from the shell, but the PPP
account retains the old password.  How would it be possible for the user
to alter the PPP account password OR (and better still) how can I force
'chpass' to alter the passwords on both accounts when the user executes it
under the shall account? TIA...
jasonb

         H o r i z o n   I n t e r n e t   T e c h n o l o g i e s   

 4th and Tupper - Strother Field     €   Jason Bertolacci € 618 E 13th Ave
 P.O. Box 633 € Winfield KS 67156    €           Winfield KS 67156 
    email:info@horizon.hit.net       €     email:jasonb@horizon.hit.net
       http://www.hit.net/           €      http://www.hit.net/~jasonb/ 
ph:(316)221-1233 € fax:(316)221-6294 € ph:(316)221-3181 € fax:(316)229-8025