tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: dave.campbell () vf ! vodafone ! co ! uk
To: tru64-unix-managers
Subject: SUMMARY: Changing root home dir
Date: Thu, 22 Jul 1999 07:33:38 +0000	[thread overview]
Message-ID: <96079058315978.tru64-unix-managers.marc@archive.invalid> (raw)

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)

                 reply	other threads:[~1999-07-22  7:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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