How do i find out the list of users whose terminal is writable?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How do i find out the list of users whose terminal is writable?
# 1  
Old 01-19-2009
How do i find out the list of users whose terminal is writable?

Hello,
i just wanted to know how do i find out the list of users whose terminal is writable?i mean i used
Code:
who -T

but this gives a list of all users whose terminal is writable or blocked and not writable. So how do i do this?I am new to Unix.
# 2  
Old 01-19-2009
Tools

Would this work for you?
Code:
who -T | awk '$2=="+"'

If not, can you show the output the
who -T
is giving you?
# 3  
Old 01-20-2009
yeah it works..thanks Smilie
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Find the list of files with a set of Users

Hello all, I want to find the files for certain users. I cant make the or condition work in this instance. I've tried the code below but it didnt worked. Any input on how to get the list for all files for this users. find . -type f -user abc134 -o -user xyz345 -o bce483 -exec ls... (6 Replies)
Discussion started by: sethmj
6 Replies

2. UNIX for Dummies Questions & Answers

[Solved] Using w; how to list find all the users

Hi, On my system, I have about 75 users. Some uers have two or three sessions on the same systems. when I do w, it shows all the sessions. Is there any way to find only the users and not worry about how many sessions. For example: you can see sshe has four connection. I only want to know... (5 Replies)
Discussion started by: samnyc
5 Replies

3. UNIX for Dummies Questions & Answers

How to find root owned world writable files?

Being a system administrator i came across a statement as " Excluding temporary directories /tmp and /var/tmp, no root owned files should be in world writable directories" While the above statement may look straight forward but how would i check if there are any such directories in the... (7 Replies)
Discussion started by: pinga123
7 Replies

4. UNIX for Dummies Questions & Answers

How to create new users on my mac from the terminal

I finally got how to su - in my mac from the terminal. Now I would like to be able to add new users. useradd -m -d ..... doesn't seem to work. (1 Reply)
Discussion started by: bigmac18
1 Replies

5. UNIX for Dummies Questions & Answers

How can I list all users from a terminal window in MAC?

Hi, What command is needed to find all or certain users from a terminal window in MAC OS X 10.5? Where is a list of categorized commands that could help me find answers similar to this particular question? Thanks. Juan Dent (1 Reply)
Discussion started by: Juan Dent
1 Replies

6. AIX

How to find world writable files? (AIX)

Hi Group, Could someone tell me how to find world writable files on my server? I can use find command in conjuction with -perm option and I will get an output. But what I need is an output which looks similar to ls -l output. Meaning, it should give me the full path of the file along with the... (1 Reply)
Discussion started by: matifr
1 Replies

7. UNIX for Dummies Questions & Answers

Find users using system(List them only once)

Hey, got a few questions here for anyone who can help...... Command line to - display users using the system, but count them only once. Command line to - use the lastcomm command to display how many times ive used grep in october. Command line to - list all logged on users with at least 6... (3 Replies)
Discussion started by: xBuRnTx
3 Replies

8. UNIX for Dummies Questions & Answers

3 users in my psuedo terminal

# uptime 01:55:24 up 22 days, 2:50, 3 users, load average: 0.01, 0.02, 0.00 i have this when i do uptime. but there isnt anibody inside it. all are root ( that is me ) when i go to /dev/pts/ i can only see 0. so how do i clear this counter of 3 users to a real logical one? (4 Replies)
Discussion started by: djstudio
4 Replies

9. UNIX for Dummies Questions & Answers

su - user... how to find out the list of users and their passwords..

hi, to do a su - user, we need to know what are the users... so in unix 1) which file to see the list of users, passwords? (2 Replies)
Discussion started by: yls177
2 Replies

10. Shell Programming and Scripting

users at terminal

Student doing a UNIX course here, wanting 2 ways of finding out if users have been at a terminal lately. Can anyone help?? (1 Reply)
Discussion started by: millsy
1 Replies
Login or Register to Ask a Question