thanks for follows people:
Craig Robertson and Casper Dik
my origin question is as follow:
--------------------------------
>some days ago , i posted a mail like this :
>
>Hi , gurus .
>today when I start the openwin , it says:
>" grantpt: No such file or directory
> Xview error : NULL pointer passed to xv_set "
>And when I start the cmdtool menu in the openwin , I get the
>information too.
>Any insight ? will summary.
>
>and received no response.
>
>Now, when I telnet to this mechine, and logged with a normal user ( not
>root), it prompt
>"'tty': Ambiguous", and when I run the _tty_ command, it said " not a
>tty" .
>
>when I telnet with the root user, all is OK.
>
>has anyone seen this and can offer a clue ?
-----------------------
Craig Robertson's post:
-------------------------
I'm not sure about the first part but the comment about telnet stirred
an idea;
o Could it be something to do with the users start-up scripts
(.login,.cshrc or .profile) What happens when you have another user
running the same start-up scripts as root, can they log in.
o Are there any funny permission settings in the /dev directory?
Regards
Craig
------------------------
and advise from Casper Dik
-------------------------
Do you have /usr/lib/pt_chmod and is it a set-uid root program?
Does /dev/ptmx exist and does /dev/pts/* exist?
What does /dev/ptmx point to?
Casper
----------------
They are great .
I found my /usr/lib/pt_chmod is in a no_setuid mod and /dev/pts
directory is not world executable .
So I change pt_chmod's mod to 4755 and /dev/pts's mod to 775 resolved
this problem.
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:00 CDT