Many thanks to:
Dr. Tom Blinn
dejan muhamedagic
xuejinw_at_shubertorg.com
Sean O'Connell
Bryan Lavelle
Landkammer Jiøí
Tom Blinns answer worked straight away. Using the fverify command restores all
the original permissions that were changed and corrupted dxterm.
Original problem:
> Alpha 3000/300, DU4.0
>
> Last week when fixing the uid 12 wnn problem I accidentally
> changed modes on the /usr directory tree (instead of the
> /usr directory) to 755. I realized after a few seconds and
> stopped it, but there have been some problems since.
>
> One major problem is when a user logs into the machine and
> tries to bring up a terminal window the window appears with
> this error:
>
> unable to get pty
>
> there is no prompt in the window so it is unusable.
>
> Any suggestions as to how to fix?
Answer:
"Dr. Tom Blinn, 603-884-0646" wrote:
>
> The "fverify" utility is your friend more often than not in such cases.
>
> As root:
>
> # cd /usr/.smdb.
> # for lk in *.lk ; do
> > inv=`basename $lk .lk`.inv
> > cat $inv | (cd / ; /usr/lbin/fverify -yp)
> > done
>
> See the fverify reference page for details. This technique will set all the
> protections and ownerships on files installed from standard setld-able kits
> to what they are supposed to be, for all the installed subsets on a system.
>
> This will change the contents of /var/adm/smlogs/fverify.log so if you want
> to save the old version, move it aside first.
>
--
><>
Stephen Trew,
School of Geosciences, The Queen's University of Belfast
Belfast, BT7 1NN, Northern Ireland, UK.
email: s.trew_at_bigfoot.com phone: +44(0)1232 273367
fax: +44(0)1232 321280 web: http://www.bigfoot.com/~S.Trew/
Received on Wed Nov 11 1998 - 13:27:50 NZDT