Programming :: Number Of Users Logged In Using Multiple Terminals

Feb 21, 2011

I want to count the number of users who have logged in multiple terminals ? How will I get this ? I always get the total number of users. How will I get the uniq number of users with multiple logins ?

View 3 Replies


ADVERTISEMENT

SUSE :: Number Of Users Logged In - Security?

Oct 25, 2010

Just noticed this, when I am logged into OpenSuse 11.3 under my default user (autologin) I have 3 of the same user logged in, eg when I run top it shows 3 users and when I run the users command it shows the same user 3 times. Is there any reason for this? Do I need to investigate this at all?

View 1 Replies View Related

Ubuntu :: System Freezes After Log Off With Multiple Users Logged In

Oct 16, 2010

On Ubuntu 10.04 when there are more than just one user logged in, if one of users logs off system hangs with a black screen.

After I reboot the machine and log in again, just after GDM login screen I get a window with a message about PowerMeter crash, with suggestion to 'cancel' and 'log off'. Only 'Log off' works, i.e. I'm successfully logged in.

Last entries from system.log before system freeze are:

Code:

View 9 Replies View Related

Programming :: Checking List Of Logged In Users - Without Logging Into Pc

Jul 17, 2010

It is possible to check who logged in with "who" command. If we are also logged in to that linux pc.

But, is there any possibility to check without our login?(not even by ssh)

Our logging in to find that pc, will be wasting the cpu resources. And may disturb the user who is working on the x-session.

View 7 Replies View Related

Fedora Security :: Resume From Hibernate - Terminals Still Logged In?

Mar 12, 2010

I am pretty new to Linux, but this can't be the way the system is supposed to operate.

Fedora 12
KDE 4.4
kernel 2.6.32.9-70.fc12.i686
Toshiba satellite L305D

As of updating KDE to 4.4 and a kernel update from two weekends ago hibernate/resume works perfectly. The problem is I feel that all terminals should be locked/logged out automatically upon suspend/hibernate. Through bug reporting at KDE found that an additional setting is required in KDE to lock the desktop before suspend/hibernate. But any of my other terminals that are logged in remain logged in upon resume. Is there an additional setting that I have to flip to secure the terminals? Would this be considered a security hole? Is there anything short of me manually logging out that I can do to automate locking/logging my terminals?

View 1 Replies View Related

Programming :: Implement User Ranking In Php With A Huge Number Of Users?

Aug 21, 2010

I'm writing a user ranking module for a site. This ranking depends on some criterias and it's possible to set or unset any one of these criterias in order to consider them in calculating the user rank or not. And here's the way I've implemented the ranking calculation :

when I set one or more of the criterias to be considered in ranking , for each user in the system I insert one record for each criteria , for example : if I have 2 criterias and both are set and consider that I have two users , I'll have :

Ranking table
--------------
username | criteria | to_be_added | score
--------------------------------------------------
user1 | criteria1 | 1 | 0

[code]....

It means I just set the to_be_added field to 1 for all of them and leave the calculation of score for each criteria for each user to the time the user logins so that to prevent doing all these calculations at once , because there are a huge number of users ... But there is one problem , if I want to show for example the best user (based on the highest score) , the result can't always be true because some users might not logged in at that time and their score might be zero .

View 1 Replies View Related

Ubuntu :: Multiple Terminals Before X?

May 20, 2010

When i start my Ubuntu it doesnt go directly into xserver/desktop mode. This is because my machine is very slow. Therefor i exclusivly use the terminal. I only hate the fact that there is only one terminal and i cant switch between them. ctrl-shift-F2 doesnt work. How can i use multiple terminals before having logged into X?

View 3 Replies View Related

General :: Can't Close Multiple Terminals?

Sep 3, 2010

I just started using Fedora Linux Console. I know how to open multiple consoles, but i don't know how to close them.

View 5 Replies View Related

General :: Ubuntu - Spawn Multiple Ssh Terminals?

Nov 25, 2010

when i am logged into my server via SSH how can i spawn many ssh terminals? is there a xterm command for this?

View 6 Replies View Related

General :: Open Multiple Terminals In Run Level 3?

Dec 8, 2010

I am using red hat Linux 4 I have two question.

Normally in GUI interface i open multiple terminal at a time like one for log file and one for configuring any file etc etc.
The problem is normally I do work on run level 3 but in that way how can i open multiple terminal at at time ? Is there any way...

2- When I use the command

Code:
# tail -f /var/log/messages
in GUI i normally close the windows after viewing the log file messages.Is there any hot key by which I can again see the prompt example [root@localhost ~}# to write the command instead of closing the terminal windows ?

View 6 Replies View Related

Ubuntu Installation :: Exact Filesystem Image For Use On Multiple Terminals?

Mar 8, 2011

I've been out of the Linux loop for a little while, but a customer of mine wants a "No Virus) desktop environment, I have gone through the process of installing and configuring Ubuntu 10.10 to work with their client side software, but for the life of me, I can't remember if or how I can create an exact image of this file-system to install on all of the desktops.I would need to have all of the installed programs, Security Certificates, Display settings... basically, I need exactly what I have right now installed from the disc so that "IF" the customer needs to install the environment on new systems, I can just pop the disc in and run.

View 1 Replies View Related

General :: See If Users Are Logged In Over Sftp?

Aug 9, 2011

I run a linux file server for my office and we user SFTP for remote partners to login and download files. Is there a way to see if there are any active connections or logins so I can know when it is safe to perform maintenance on the machine?

Since the machine is almost constantly serving large files, scheduled maintenance is often bumped off due to someone either upload

View 2 Replies View Related

Ubuntu :: Chat With Logged In Users ?

Jan 22, 2010

Is there any gnome tool out there that will allow admins to talk with logged in users? Without it being amsn, skype, or gtalk... I'm looking for something like the 'talk' command but GUI based.

View 1 Replies View Related

Ubuntu :: Finding Out Whether Other Users Are Logged In ?

Feb 16, 2010

Whenever I want to shut down, I have to enter my password, because shutting down while other users are logged in is a privileged operation. Now, I couldn't download an update because the update lock was in use. I'd be surprised if someone had targeted my system, especially because I didn't install any obscure .debs or anything recently, but I'd really like to find out if it's been compromised somehow. Say, by obtaining an overview of all users currently logged into my system or something. Is that possible?

View 2 Replies View Related

Ubuntu :: Command For Logged On Users ?

Sep 30, 2010

Just wondering is there a command that would show me the details of whose currently logged on and how their logged on i.e. ssh/samba etc?

View 5 Replies View Related

Server :: Logged Users Without Processes?

Nov 1, 2010

I try to write a script which would kill processes of users who are not logged in. My approach is to find out what users are logged in and then kill processes of all nonsystem users who fail the test of being logged. I use `w` for finding all logged in users, but apparently there are users on the list which `w` gives me who own absolutely no process in the output of `ps aux`. How do I log off those users, since killing their processes wont work (since they own no processes)?

View 4 Replies View Related

Ubuntu :: Authenticate Shutdown - Other Users Still Logged In

Apr 6, 2010

I installed a few media servers to stream something to my PS3 over the weekend, but now when trying to shutdown the computer, I'm asked to authenticate with a password since other users are still logged in. I installed quite a few programs over the weekend trying to get it to work, so I can't remove a specific one. Is there a way to see which daemons are logged in under a different session? Found it. It turned out to be mythtv.

View 3 Replies View Related

Ubuntu Security :: W Or Top Show 2 Users But Only One Logged In

Mar 17, 2011

I have 2 servers, web server & mail server. they show 2 users in the summary area when I run w or top commands. But the actual list of users logged in (using either w or who) shows only 1 user.
ps -ef |grep username only shows my current login as a running sshd process.

So I can find no trace of this other user except in the summary line for w or top. I have no shells or other logins left running elsewhere or abruptly terminated, no gui sessions (these are servers), no tty logins. Do I have another user logged in? Has someone hacked me & covered up most of their trail? Why do these commands show 2 users when everything else points to 1 user?

View 9 Replies View Related

Ubuntu Security :: Log Files - 2 Users Logged In?

Apr 12, 2011

I read the log

Code:

I found this print out:

Code:

The line in bold is the security issue. There is only 1 user account on the system. There should only be 1 user logged in, not 2 users logged in. The remainder of the log file lists 1 user logged in, for similar log output. 2 users logged in does not appear again in the log file.

Does the second line of bold indicate that an attempt was made to log in to the system using SSH?

There was an internet connection interruption (no service) around the time of the log file event. The service did return, later.

Does that line indicate that an unauthorized user logged in to the system?

View 3 Replies View Related

Debian :: Prevent Shutdown When Several Users Are Logged In

Dec 30, 2010

If there is a simple way to prevent accidental shutdown when the following situation occurs:

Sometimes, I log in on my father's computer to run some administrations' tasks (updates...). For that, I use SSH since I'm frequently far from my parents and what I want is to prevent a shutdown run by my father. Of course, he should be able to turn off by himself if nobody else is connected.

Molly-Guard allows to prevent distant shutdown, my request is a kind of complementary software.

Does anyone know a project which could fit with this request? Do you have simple ideas to write a short code I know bash, perl, python...

View 3 Replies View Related

Fedora Security :: Preventing Gdm Shutdown While Users Logged In

Apr 21, 2011

When I'm logged into my account, I can't shut down the computer if someone else is also logged in unless I supply the root password. However, if I log out, I can shut down from GDM without being challenged, even though another person is logged in, which could cause problems if that person is in the middle of some work. Is there a way to password-protect the gdm shutdown function if people are logged in?

View 2 Replies View Related

Applications :: Get Last Logged In Date / Time For Vsftpd Users?

Aug 27, 2010

I can't seem to get last logged in dat/time for vsftpd users. They are linux users maintained within passwd groups ect ... i think this is because ftp doesn't actually give them a real session. That being true, how do i get the last logged in time for my ftp users?

View 1 Replies View Related

General :: Bash Command To List Users Logged In At 5pm

Jun 7, 2010

I need to figure out a bash command to list all users logged in at or after 5pm - 5pm being the specifier in the command.

Code:

Command seems to be the easiest way to display users but it specifies all users log times.

I've also fiddled with the lastlog command to no avail.

View 2 Replies View Related

General :: Which Commands To Use To Output The Current Users Logged Into The System

Apr 27, 2010

Which commands do you use to output the current users logged into the system and accessing a specific file?

View 5 Replies View Related

Fedora Installation :: Domain Users Logged Out On Login Using Winbind - Samba

Nov 12, 2010

Have recently setup Samba on a fresh install of Fedora 14 so that I can use it as a workstation in a Windows 2003 (win2k3) domain.

The install of Samba seems to have worked as I can connect to the Domain using ADS and kerberos. selinux and firewall have been disabled until I have it working 100%

The problem lies when i try to login to Gnome or TTY. It begins to create the home directory for the domain user logging in but after a certain process Fedora logs the user out of the system.

Have looked through several log files (/var/log/messages, log.winbindd, log.winbindd-dc-connect) but am unable to debug it any further.

Have posted the config files below which shows the Fedora machine is successfully connected to the domain as it lists its groups, users and validates logon credentials - it just won't logon!

Where i can go about debugging. Also if you need additional configs.

View 1 Replies View Related

Ubuntu Servers :: "Multiple Terminals" On The Server's Console Screen?

May 25, 2011

I'm trying to learn to set up code and web hosting etc and learn about server admin so I've been resisting the urge to install a gui. However, I would like to know if there is some way to make the console (I think that's what its called - basically its like a single terminal window) have two "multiple terminals" similar to how I can open multiple terminals in the desktop version?

View 2 Replies View Related

Ubuntu :: Maximum Number Of Users?

Jan 7, 2011

How many users is it possible to set on Ubuntu 10.10? I have an Edubuntu LTSP system for a school (10 clients) and I wish to setup an user for each student/teacher (about 200).

View 2 Replies View Related

Ubuntu :: Adding Additional Users Causes Large Number Of Errors?

Jun 29, 2010

I'm running 64-bit 10.04, upgraded from 9.10. The problem I am experiencing is that any user accounts aside from my main account are problematic. This includes any accounts I add, as well as the GDM guest session.The specific problems that I have thus far experienced are as follows:

1. The desktop loads often improperly. In the latest instance of this the graphics on the right side top panel were randomly chopped-up, leaving parts of my clock on either side of the volume control, among other things. 2. If I make ANY customizations to the desktop at all, the desktop takes nearly a full minute to load on log-in. 3. Flash videos don't work properly on Firefox. Sometimes they only play after refreshing a page, often they will not load at all. Also, attempting to load or play a flash video will sometimes causes Gnome or Firefox to crash. 4. (And this is the one that REALLY has me stumped) Whenever I log into my main accountant after logging out of another account, the IBus control appears in my system tray.However, when I open the IBus preferences the associated check box is (and has always remained) unchecked.Not sure where to go with this one. More than anything, the IBus bug makes me unsure of where to even begin looking for the problem.

View 1 Replies View Related

Server :: Controlling Memory/number Of Processes For LDAP Users?

Jun 29, 2009

I know of /etc/security/limits.conf and that can be used to limit all sorts of good things, but I haven't found anything that talks about using this when the users come from LDAP. Would I be able to do something like

@"Domain Users" soft nproc 25
@"Domain Users" hard nproc 40

where Domain Users is the group all users belong to in our system.

View 3 Replies View Related

Fedora :: Multiple Sound Cards, Card Number Swapping?

Aug 2, 2009

I have an M-Audio Delta 44 sound card, and a USB MIDIinterface device, both are recognized, and work. My problem is as each are seen by alsa as sound cards, sometimes the alsa card numbers switch between boots. Is there a way to set these devices to always have the same card number for alsa

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved