tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY unable to get pty
@ 1998-11-11 13:25 Stephen Trew
  0 siblings, 0 replies; only message in thread
From: Stephen Trew @ 1998-11-11 13:25 UTC (permalink / raw)
  To: tru64-unix-managers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1725 bytes --]

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/

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

only message in thread, other threads:[~1998-11-11 13:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-11-11 13:25 SUMMARY unable to get pty Stephen Trew

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