3 users in my psuedo terminal


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers 3 users in my psuedo terminal
# 1  
Old 09-30-2005
Java 3 users in my psuedo terminal

[root@ns1 root]# 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?
# 2  
Old 09-30-2005
Run 'who -u'. This command will show the list of users logged in to the server and the IP addresses / DNS names that they are using. This way you can find who exactly is logged into your server and where from.
# 3  
Old 10-02-2005
dude~ i dun want to know who is logged in. the sshd is ald defunct~ i want to clear the counter in sshd so that it displays the correct amt of people loggin in.

01:55:24 up 22 days, 2:50, 3 users, load average: 0.01, 0.02, 0.00

its suppose to be 1 user. the other 2 users are me. and im not connecting to it animore.l
# 4  
Old 10-02-2005
You still haven't given the output of 'who -u'. Anyway, do this:
1. Login from console
2. Stop sshd
3. Check for any processes that sshd may have forked and if you find any, kill them
4. Start sshd
5. Check if the uptime/who commands show any users logged in from non console terminals - you should not get any
# 5  
Old 10-02-2005
[edit] n/m, mistaken answer
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Print Terminal Output Exactly how it Appears in the Terminal to a New Text File

Hello All, I have a text file containing output from a command that contains lots of escape/control characters that when viewed using vi or view, looks like jibberish. But when viewed using the cat command the output is formatted properly. Is there any way to take the output from the cat... (7 Replies)
Discussion started by: mrm5102
7 Replies

2. Shell Programming and Scripting

Cannot get terminal application to launch with a graphical launcher when successful in terminal

I have been having an extremely annoying problem. For the record, I am relatively new at this. I've only been working with unix-based OS's for roughly two years, mostly Xubuntu and some Kali. I am pretty familiar with the BASH language, as that's the default shell for debian. Now, I've made this... (16 Replies)
Discussion started by: Huitzilopochtli
16 Replies

3. Homework & Coursework Questions

Display info about users (UID GID processes terminal)

I would like to get an opinion for my solution for this task and get feedback about better approach or mistakes I have made. 1. The problem statement, all variables and given/known data: The task is to create a script which prints information about users whose names are specified in the... (2 Replies)
Discussion started by: kornfan
2 Replies

4. UNIX for Advanced & Expert Users

Need to see what ther Root users are doing while logged in to terminal

I have a server that i need to monitor what the .bash_history file for the root user already logged in to the server I am logged in as root and have another person logged on as root and i want to monitor what they are doing: root ? :0 2010-10-19 11:54 root + pts/1 ... (1 Reply)
Discussion started by: calicowboy54
1 Replies

5. OS X (Apple)

Help: Add email users in OSX terminal

Please forgive me if this is the wrong place to post. I am a VERY basic user here and have been tasked with adding a user to our email system -- we use a squirrelmail interface and I have root passwords etc. I tried logging in through a browser but get this error: ERROR: Connection... (1 Reply)
Discussion started by: dperro01
1 Replies

6. UNIX for Dummies Questions & Answers

Help: Add email users in OSX terminal

Please forgive me if this is the wrong place to post. I am a VERY basic user here and have been tasked with adding a user to our email system -- we use a squirrelmail interface and I have root passwords etc. I tried logging in through a browser but get this error: ERROR: Connection dropped... (1 Reply)
Discussion started by: dperro01
1 Replies

7. 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

8. UNIX for Dummies Questions & Answers

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 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 Replies)
Discussion started by: salman4u
2 Replies

9. 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

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