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


ADVERTISEMENT

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

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 View Related

Programming :: List 4 Names From Users List And Output Them To Fbusers In Numbered Ascending Order?

Feb 2, 2010

How would I list 4 users ID numbered 10, 11, 12 and 13 from my users list and output them to a file busers where their names are numbered by ascending order? How would I accomplish that on a one line command?

View 4 Replies View Related

Debian :: Checking Mail After Logging?

Jan 14, 2010

My problem is that I can't disable checking mail after logging (communique "You have mail." or "No mail") in my system Debian 5."CheckMail" option in OpenSSH is now inaccessible.I tried to set "MAIL_CHECK_ENAB" option to no in /etc/login.defs but it doesn't work.I added "unset MAILCHECK" in /etc/profile but this doesn't work too.I tried to comment line "session optional pam_mail.so standard" in /etc/pam.d/login but it didn't help.

View 2 Replies View Related

Programming :: Create A Script That Returns A List Of The Users Who Have Never Changed Their Password From /etc/shadow

May 17, 2011

I need to create a script that returns a list of the users who have never changed their password from /etc/shadow. As I know on linux there is a command "chage" used for find last password change.

View 2 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

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

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

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

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

Ubuntu Servers :: Checking If Users Exist?

Jun 28, 2011

Not sure if this is the right place fo this but....I'm just learning to write bash scripts. I'm experimenting on a ubuntu server 11.04 virtual machine.As part of the script I want to automate user creation.Is there a way to check if a user already exists in a script. so i can do something like

Code:
if userexists; then
do this
else
do this instead
fi

View 6 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

Software :: Logging Into One Of Non-root Users 'qt4'?

Feb 10, 2011

Feb 10 (today) user qt4 extracts from cd /var/log/secure grep -i 'feb 10' secure Something wrong with pam or selinux? I have not fooled with pam or selinux in decades The secure file seems to report problems I do regular yum update s from secure: above

secure:Feb 10 08:00:20 localhost pam: gdm-password[2396]: pam_unix(gdm-passwordession): session opened for user qt4 by (uid=0)
secure:Feb 10 08:00:48 localhost polkitd(authority=local): Unregistered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session1 (system bus name :1.37, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)

[code]....

I can login to qt4 from another user via "su - qt4" I would be shot if I inserted the inserted secure file

View 3 Replies View Related

Security :: Console Users Logging In Without Passwords?

Jul 19, 2010

Sitting at the console, I log in with any user name and NO PASSWORD IS REQUESTED. I get logged in automatically without entering the user's password.

I did:
passwd joeuser

To change his password and still he goes right in without being asked for a password!

Possibly related- 10 days ago, my smtp server was breached as a spam relay. The username they cracked was deleted. I added fail2ban for postfix. The logs show no further intrusion.

View 14 Replies View Related

Server :: Monitor All Of The Activity Of The Users That Logging In?

May 2, 2010

I wanted to know is there any way to monitor (I mean log)all of the activity of the users that logging in a server (as root) for example:

1.when do they logging in

2.what commands do they use at what time ( I know that history command do somehow the same but it does not save all of the activity of users exactly with the time of that activity)

3.which one of them installed which package on the server

4.what did they copy or move at what time and summery all the activity that each of them do on the server individually.

View 1 Replies View Related

Ubuntu :: USB Devices Not Mounting When Switching Users / Logging On With Different User

Feb 28, 2010

I have an external USB drive that is NTFS. It mounts fine under my account and my wife's, but only if I fully shut-down the computer between switching. While switching users or logging out then in with a different account it will not mount the drive. I am not sure what to do... but we both access data from the same drive.

View 2 Replies View Related

Server :: Allow/disallow Users To Logging In A Domain Machine With SAMBA?

Jul 21, 2010

I don't know if this is possible... I want that only some of a Windows Domain(Samba) users can to logging in a machine.For example: The user Peter of the domain WORKSPACE can connect to the PC1, but the user Charly of the domain WORKSPACE can not connect to the PC1. How I can implement this?

View 5 Replies View Related

Programming :: Downloading A List Of Files From A Remote Server Using A List?

Feb 10, 2009

I am trying to get this script to work. The purpose is to download a list of modules from the slax.org the list consist of a list of module numbers. What I am trying to do is Download the file or the file name corresponding to the number in the list.the list is comma delimited. this is what I have done so far and I am a stand still.

#!/bin/sh
# Wget script to retrieve modules from slax.org modules
#
# ----Begin of user defined values -----
# Path to wget

[code].....

View 7 Replies View Related

Debian :: List Users At Login?

Oct 20, 2010

Just installed Debian on a laptop. I'm not a Linux noob, been running Ubuntu / Kubuntu / Fedora elsewhere for a while. But first time with Debian (Gnome). [Broadly pretty happy so far. It may supplant Kubuntu on my desktop as the latter seems a bit of a resource hog.]I want the login screen to offer a list of users.I've tried System > Administration > Login Window > Localand chosen Themed with face browser from the dropdown marked Style:I'm using Bijou (though I've also tried some of the others) as my theme, in case that makes any difference.I haven't got any pictures set up for users. It's not particularly that that I want, just a list of users to choose from rather than having to type in your username each time. It's a family setup, no big security worries, so easing typing would be nice.

View 5 Replies View Related

Programming :: Checking For Alphabets ?

Jan 25, 2010

Code:

I am trying to do a search to check if the input is using alphabets and nothing else.

I tried using [[:digit:]] and [[:alpha:]] but none seems to work

When i use digit, it read 22.k as alphabet and not as a wrong syntax.

For alpha , it does not allow me to input data which has spaces such as " hello world".

View 1 Replies View Related







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