- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: what is the default permission for /dev/pts/* ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2003 01:14 AM
09-16-2003 01:14 AM
what is the default permission for /dev/pts/* ?
What is the default permission for device files /dev/pts/* in normally?
On one of server /dev/pts/* files permissions has changed.
Thanks in advance.
Regards,
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2003 01:17 AM
09-16-2003 01:17 AM
Re: what is the default permission for /dev/pts/* ?
crw-rw-rw- 1 root sys 33 0x000010 Aug 21 2002 tq
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2003 01:17 AM
09-16-2003 01:17 AM
Re: what is the default permission for /dev/pts/* ?
Default permissions 666 for /dev/pts/*
Regards,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2003 02:28 AM
09-16-2003 02:28 AM
Re: what is the default permission for /dev/pts/* ?
I see a different pattern. If the pts is opened by a user, the permissions change.
In 10.2
crw-rw-rw- 1 root root
crw--w---- 1
In 11
crw-rw-rw- 1 root root
crw--w--w-
In 11i
crw-rw-rw- 1 root sys
crw--w---- 1
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2003 02:39 AM
09-16-2003 02:39 AM
Re: what is the default permission for /dev/pts/* ?
Default permissions for /dev/pts/* is 666
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2003 08:19 AM
09-17-2003 08:19 AM
Re: what is the default permission for /dev/pts/* ?
===========================================================
% man grantpt
grantpt(3C) grantpt(3C)
NAME
grantpt - grant access to the STREAMS slave pty
SYNOPSIS
int grantpt (int fildes);
DESCRIPTION
The passed parameter, fildes, is a file descriptor that is returned
from a successful open of a STREAMS master pty (pseudo-terminal)
device. The grantpt() function modifies the ownership and mode of the
slave pty device special file associated with its master pty
counterpart.
A setuid() root program is spawned to change ownership and mode of the
pty slave device file in the following way: The group ID is set to a
reserved group named "tty". The slave user ID is set to the effective
owner of the calling process. The permissions of the slave device are
set so that the owner is allowed read and write access and the group
is allowed write access.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2003 10:07 AM
09-17-2003 10:07 AM
Re: what is the default permission for /dev/pts/* ?
crw-rw-rw- for root
crw--w---- for all other users
11.00
crw-rw-rw- for root
crw--w--w- for all other users
11.11
crw-rw-rw- for root
crw--w---- for all other users