From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078728411840.tru64-unix-managers.marc@archive.invalid> From: Stephen Trew Date: Wed, 11 Nov 1998 13:25:23 +0000 To: tru64-unix-managers Subject: SUMMARY unable to get pty X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078728411840 Many thanks to: Dr. Tom Blinn dejan muhamedagic xuejinw@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@bigfoot.com phone: +44(0)1232 273367 fax: +44(0)1232 321280 web: http://www.bigfoot.com/~S.Trew/