Solaris group - tty


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris group - tty
# 1  
Old 01-28-2009
Solaris group - tty

Hi,

Anyone know what is the use of the tty group in Solaris 8 , I was question
by auditor that tty group exist in the /etc/group but without a user exist in
/etc/passwd and /etc/shadow file .

"User accounts listed in the etc/group should be also listed in the etc/passwd. It is possible that files may become group orphans if a group is deleted without proper housekeeping. Intruders to the system could potentially seize ownership of these group orphaned files. "

What should I do , remove the tty group ?


Thanks
# 2  
Old 01-28-2009
what I know is tty return user's terminal name
you need not remove such entry

# cat /etc/group
root::0:root
other::1:
bin::2:root,bin,daemon
sys::3:root,bin,sys,adm
adm::4:root,adm,daemon
uucp::5:root,uucp
mail::6:root
tty::7:root,tty,adm
# 3  
Old 01-28-2009
You can use the find command to look for all files that have their gid set to 7. It might shed some light on a few things. For instance
Code:
find / -xdev -gid 7 -ls

If /var is mounted separately, I'd check that too.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

IPMP group failed on Solaris 9

Hi, I have Solaris-9 server, V240. I got alert that one of the interface on IPMP configuration, is failed. Found that two IPs (192.168.120.32 and 192.168.120.35) are not pingable from this server. These two IPs were plumbed on another server and that is decommissioned now. That is the reason,... (5 Replies)
Discussion started by: solaris_1977
5 Replies

2. Shell Programming and Scripting

Python: Redirecting to tty and reading from tty

In bash, you can do something like this: #!/bin/bash echo -n "What is your name? " > /dev/tty read thename < /dev/tty How can I do the same in python? I have a python script that has the following content: #!/usr/bin/python2.7 import getpass import sys import telnetlib import... (2 Replies)
Discussion started by: SkySmart
2 Replies

3. Solaris

Solaris LDAP group problem

I have a test environment which is running RedHat 6.5 Identity management. On the lab network are two Solaris 10 (U11) machines. I can successfully log into the S10 machines using the ldap username/passwords. However, I have a problem with groups and although I found through an internet search one... (3 Replies)
Discussion started by: cjhilinski
3 Replies

4. Solaris

Solaris group ID permission drwxrwS--x

why is the group id in capital S and not lowercase s ? I have a directory with the following permissions: drwxrws--x when I remove the group id and add it again with g+s or chmod 2765 , it displays the group ID in capital "S" instead of lowercase "s" tried to find this out on Google, but... (2 Replies)
Discussion started by: misterx12345
2 Replies

5. Solaris

Unable to add new group in Solaris

I have installed Solaris 10 in VMware. Whenever I am trying to add new group using the command '/usr/sbin/groupadd/oinstall' while logged in as root , it is showing as '/usr/sbin/groupadd/oinstall can not execute'. It will be great to hear any inputs/advice here. (4 Replies)
Discussion started by: sandip250382
4 Replies

6. Solaris

Which Solaris 10 software group is installed?

Hey Forumers- I know how to tell which update of Solaris 10 is installed on my systems (/etc/release) but how can I determine which software group is installed? reduced network support software group (SUNWCrnet) core system support software group (SUNWCreq) end user system support... (2 Replies)
Discussion started by: bluescreen
2 Replies

7. Solaris

How to list group members in solaris 9

Hi, I already gone through with old post regarding listing the group members and tried the command getenv group other the result is other::1:root i listed my part of the /etc/passwd file below test1:x:100:1::/home/test1:/bin/sh test2:x:101:1::/home/test2:/bin/ksh... (7 Replies)
Discussion started by: vr_mari
7 Replies

8. UNIX for Dummies Questions & Answers

Solaris 9: group have always the same id

Hello, I have a strange behavior of a Solaris 9 machine. Every time I create a new group it has always the same ID 100 instead of having a different one. $ groupadd -g 5000 test $ groupadd test2 $ groupadd test3 # /etc/group contains then the entires: test::5000: test2::100: test3::100:... (4 Replies)
Discussion started by: Tex-Twil
4 Replies

9. Solaris

How do you list users in a solaris group

I need to list all users in a group. This is a large unix site running nis+. (6 Replies)
Discussion started by: gillbates
6 Replies
Login or Register to Ask a Question