tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Changing root home dir
@ 1999-07-22  7:33 dave.campbell
  0 siblings, 0 replies; only message in thread
From: dave.campbell @ 1999-07-22  7:33 UTC (permalink / raw)
  To: tru64-unix-managers

My original posting:

> I've been asked for security reasons to change the default home directory
> for root from / to /sysadm/root. When I change this in the passwd
> file using
> vipw, I get:
>
> vipw: you mangled the temp file, /etc/passwd unchanged
>
> Is it possible to successfully do this on Tru64? The system is a GS140
> running V4.0E patch kit 1.

got a few responses from "don't do it" to "use vi or usermod". The problem
with using something other than vipw is that if you go back and use it after
you've successfully changed the home dir using vi and mkpasswd, it will
still barf with the same message - making me think that's it's something in
vipw. So I took the easy option suggested by Paul Chapman and made a change
to /.profile. If anyone wants to comment on why vipw causes the barf it'll
be useful for future reference.

TIA,
Dave Campbell
(dave.campbell@vf.vodafone.co.uk)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-07-22  7:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-22  7:33 SUMMARY: Changing root home dir dave.campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox