From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d04356fa313de8dd X-Google-Attributes: gidfee84,public From: schroedj@ub.uni-marburg.de (Juergen Schroeder) Subject: Re: Managing accounts, etc., without using the CDE interface. Date: 1997/06/24 Message-ID: <5onv1b$nf6$1@surz03fi.HRZ.Uni-Marburg.DE>#1/1 X-Deja-AN: 252194062 References: <1997Jun23.182715.10460@ohstpy> Organization: HRZ Uni Marburg Newsgroups: comp.unix.osf.osf1 Donald G. Marchlenski (march@ohstpy.mps.ohio-state.edu) wrote: : : I tried to modify a user's default shell to ksh by editing the /etc/passwd file : but the change wasn't recognized when the user logged in and he was still in : the bourne shell. I had to run the GUI account management program from the CDE : to make the change stick. There is a file called /etc/passwd.pag that : apparently has something to do with this. : : Has anyone run across this? Does the GUI system management keep me from simply : managing my system through the old methods of editing files, etc.? In this : case it seems to be that way. /etc/passwd.pag is a binary file that I assume : must be changed by the CDE account manager program. If you play around with an editor on the passwd file you have to do "mkpasswd" which updates the binary passwd file. (But I thought that is only valid for the passwords ...). Better is to use vipw which calls your default editor, opens and locks the passwd file and calls mkpasswd after editing. Juergen