SuSE GmbH

SuSE Support Database

Title: Permissions for ptys (xxdb, Emacs)

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

Permissions for ptys (xxdb, Emacs)

Applies to

SuSE Linux: Version 6.3

Symptom:

When using the xxgdb (Debugger) you receive the following error message:

xxgdb: all ptys in use
or you have problems receiving remote data (with ange-ftp).  This may affect other programs as well.

Cause:

Because of security reasons the permissions for the device "/dev/pty*" (Unix98 PTYs) have been restrictively set to "660".  This has an adverse affect on some programs.

Solution:

You shouldn't use this type of program on crtitcal server-systems (at least for now).

On workstations, with users you can trust, you can set the permissions less restrictively, for example:

chmod 666 /dev/pty*
Alternatively, it is possible to set a "sgid" for the group "tty"; however you'll need to repeat this step for every affected program:
chmod g+s $(which xxgdb)
chgrp tty $(which xxgdb)

----------

Keywords: 6.3, PTYS, XXGDB, EMACS, ANGE-FTP, SECURITY

----------

Categories: Applications

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

SDB-ke_devpts-63, Copyright SuSE GmbH, Nuremberg, Germany - Version: 30. Nov 1999
SuSE GmbH - Last generated: 30. Nov 1999 16:52:02 by wimer with sdb_gen 1.00.0