From: mcheek@alfin (Matt Cheek)
Subject: Re: Managing accounts, etc., without using the CDE interface.
Date: 1997/06/24 [thread overview]
Message-ID: <5ophmc$9u@webdev.mcit.com> (raw)
In-Reply-To: 1997Jun23.182715.10460@ohstpy
Donald G. Marchlenski (march@ohstpy.mps.ohio-state.edu) wrote:
: I am running DU 4.0a
: 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.
: Does the GUI system management keep me from simply managing my system
: through the old methods of editing files, etc.?
: /etc/passwd.pag is a binary file that I assume must be changed by the
: CDE account manager program.
Don,
I suspect you edited the /etc/passwd file directly (e.g. vi /etc/passwd).
If so, you are correct that the changes were not propogated to the
/etc/passwd.dir AND /etc/passwd.pag files. You can still edit the
/etc/passwd file to make quick changes, you just either need to:
a) run the mkpasswd(8) command to update the hashed password database
(/etc/passwd.dir and /etc/passwd.pag)
or
b) use the vipw(8) command to edit /etc/passwd and when you exit from
vi, the hashed password database file will be automatically updated.
Hope this helps.
Matt
--
MCI Telecommunications | Matthew.Cheek@MCI.Com
2424 Garden of the Gods Road | MCI Mail: 201-2666
Colorado Springs, CO 80919 | Tel: (719) 535-6677
next prev parent reply other threads:[~1997-06-24 4:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-06-23 4:00 Managing accounts, etc., without using the CDE interface Donald G. Marchlenski
1997-06-24 4:00 ` Matt Cheek [this message]
1997-07-01 4:00 ` Dan Duncan
1997-06-24 4:00 ` Juergen Schroeder
1997-06-25 4:00 ` Tim Mooney
1997-06-26 4:00 ` Robert Lowe
1997-06-27 4:00 ` Paul Henderson
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox