Programming :: Read Information About User Activity?

Jan 2, 2010

I wonder if there is any chance to read the last time when the actually logged user have changed the mouse cursor and stroke the key.

View 3 Replies


ADVERTISEMENT

Fedora Installation :: Boot Prompt Information Read Automatically From Isolinux.cfg Without User Intervention?

Oct 4, 2009

building an install cd or dvd media that will automatically install the Linux software on a client pc. There is no network connectivity so the client can only be loaded with Linux from CD or DVD media. The crux of the matter is that I can not automatically install the Linux software on client WITHOUT typing linux ks=cdrom:/ks.cfg at the boot prompt.

I want to avoid any user prompts and just have the software install with the RPMS that I need for this client pc at the boot prompt. Actually, when the boot prompt commences, I would like the software install to start with no user intervention. I've tried several different methods in isolinux.cfg, but the OS always wants boot prompt for the cdrom. Can the boot prompt information be read automatically from the isolinux.cfg with out user intervention? I'm looking for the same behavior as a LIVE CD that kicks off with no boot prompts after a few seconds. Here's a copy of my isolinux.cfg

default linux
prompt 1
timeout 600
display boot.msg
F1 boot.msg
F2 options.msg
F3 general.msg
F4 param.msg
[Code]....

View 1 Replies View Related

General :: Make NIS User Information Override Local User Information On Client Systems?

Jul 30, 2011

How would you make NIS user information override local user information on client systems? This is what I think is right? Add nis on the passwd registration file on the second line Is this correct?

View 1 Replies View Related

Programming :: Get Real Time Information About How Many User Are Logged In And Their Ips

Jan 20, 2009

I use tomcat as my server platform in Ubuntu for a war file. I know in order to get real time information about how many user are logged in, we can count how many active sessions exist by a SessionCounter code. However, I have to permit HttpSessionListener in web.xml of tomcat. From other users' experiences, the configuration is complexed and has some errors.

Here's the link:

[URL]

In order to get users'ip, in jsp, use request.getremotehost() or request.getremoteaddress() by editing the jsp file. I wonder if there's some open source software to use for these two purposes.

View 1 Replies View Related

Programming :: Cannot Prompt User In While-read

May 15, 2011

I'm facing a problem in a - at least I though it would be - simple BASH script. I use 'awk' to find matching lines in a file, and then use while-read to modify each line matching the expr casted in awk. It looks like this:

Code:

function foo() {
awk '$NF~/^./{print $NF}' FILE.TXT|while read line; do
bla bla bla ...

[code]....

However, each time the execution hits the 'read choice' line, it doesn't prompt - as well as pause the excution - the user for a choice: it just passes it. This problem just happens inside the while loop.

View 4 Replies View Related

Programming :: Bash - Read User Input: URLs Without The Enter Key Stroke?

Sep 23, 2010

Here's a challenge I've been struggling for months with:

I have a bash script that reads URL addresses of our internal server and then executes some test commands on them. Something like this:

Code:
read -p "Enter URL: " url
sh execute-what-ever-to $url

After copy-pasting the URL the user taps the enter key and the script proceeds, but here comes the tricky part: I want this to work without the need to press the enter key after copy-pasting the URL.

"read -n" does not work in this case, as the URLs vary greatly in length. However, the URLs always end to the same string. They could be like "http://url1/END", "http://url2/END" and so on. So this ending string "END" could be theoretically used to recognize that the whole URL has been pasted.

View 2 Replies View Related

Programming :: Bash Shell Read User Argument From Command Line And Test It

Aug 29, 2010

Trying to create a small script that will read user's input, test if user entered some input and if not display some message or display a text using user's input.

The script is the following but i get an error saying "[: 6: =: argument expected"

View 12 Replies View Related

Programming :: Create A Simple Program With Will Continually Read Input From The User Until They Enter A Blank Line?

Apr 6, 2011

basically i have to create a simple program with will continually read input from the user until they enter a blank linei know how to read in certain input but not sure how to get it continually in a loop

View 2 Replies View Related

Networking :: User Web Activity Monitoring?

Apr 27, 2010

I have a Centos router and I want a tool that can give me reports accessible from a browser about the users web activity. I need two type of daily reports:- list of web pages accessed by each local host- list of all web pages accessed by all local hosts and lit of local hosts that accessed one specific web pageI tried ntop and is not really suitable for what I need. Maybe it can do what I need, but I have to make several improvisations.

View 5 Replies View Related

Ubuntu :: Run Command During User Activity /idle

Apr 20, 2010

I can start/stop it with origami, but I need to know how to run the start/stop commands when the user becomes idle or active.Or, if I can tell if any user logged in with KDM (since I don't want ssh to stop f@h) is active from a script, I can write one that will do all I need.I can edit sudoers if the commands have to be run as the user. There's only one user I'm worried about making happy (it's the one everyone in the family shares)

View 3 Replies View Related

General :: Find Out User Activity On System?

Feb 22, 2010

I am working on a program lets say programX which must run when the computer is not in use. I want to develop a monitoring program to monitor if there is user activity on the system so that it can stop the programX from running when the user is using the system and start programX when there is no user activity. Is there a way to determine this in linux?

View 4 Replies View Related

Red Hat :: Viewing User Activity / History Log In RHEL 5.2

Apr 27, 2011

Is there any way to view the any user activity/ commands history and date, time in the system? I look at the /var/log/secure but I can find only the login/ logout attempts and "history" command doesn't come with date/time that the user issue the commands. Any there any best practice to audit the user activities inside the system?

View 9 Replies View Related

General :: User Login Activity - A Script That Will Create A Report That Will Be Emailed?

Sep 18, 2010

I need to produce a script that will create a report that will be emailed to me that will Log user login activity to detect unauthorized remote access attempts. Where would I start?

View 2 Replies View Related

Software :: Read Process/thread Schedule Information?

Nov 18, 2009

is there any tool can show the thread/process schedule information? i would like to know when the thread/process wakeup, and when it was suspend? it includes kernel and user space. With this information, i can know the thread/process task schedule, and calculate the MIPs.Another, do you know whether LTT support User space thread trace?

View 2 Replies View Related

Ubuntu Multimedia :: Application To Read Detailed Information About Video Files?

Dec 27, 2010

Is there a utility that can be used to view file information about a video file? Example: if the file was encoded with ffmpeg, and if it is H.264. In addition, what type of encoder was used for audio?

View 2 Replies View Related

Red Hat / Fedora :: Way To Display All User ID Information?

May 4, 2010

Does anybody know of a way to display all user ID information? Akin to the lsuser command from AIX? Need to find out if an ID is disabled/locked out sucessfully.

View 1 Replies View Related

Networking :: NIS Not Updating User Information On Debian Lenny?

Jan 5, 2010

I just updated some user account information on my server and when I log on from a client it the ypcat passwd command shows the old info. How do I make it update? A related question... my NIS users can only log in on client machines using the terminal; it doesn't work at the graphical login screen. Is this normal? I'm new to NIS (just set it up last night) and still getting this stuff sorted out.

View 2 Replies View Related

General :: Display User's Last Login Information When Connected Through FTP?

Apr 11, 2011

I want the last login information whenever I log in through FTP.

This is possible for normal console and SSH logins by configuring in /etc/login.defs file. But I am not able to view the last login information when FTP is used.

View 5 Replies View Related

General :: Find The Only Particular User (usage) Of Memory Information?

Mar 29, 2011

how to find the only particular user (usage) of memory information

View 6 Replies View Related

Server :: Finger Command's Output And User's Information?

Oct 3, 2009

Consider the two runs of finger command for two different users:

Code:
[root@localhost ~]# finger root
Login: root Name: root

[code]...

View 3 Replies View Related

Server :: Manage Mail User Information In Database?

May 3, 2010

i'm trying to use the database that was used by vpopmail and vqadmin with postfix and dovecot. By setting up dovecot to use mysql, i can query username and password for authentication but how do i create a user and edit its information in the database? Poastfixadmin only use database that was created along when installing it.

Any viable option aside from recode postfix to meet my criteria?

View 1 Replies View Related

General :: Display Password Policy Information For A User - Ubuntu?

Jun 9, 2010

Ubuntu Documentation > Ubuntu 9.04 > Ubuntu Server Guide > Security > User Management states that there is a default minimum password length for Ubuntu:

Say the password is to be modified by the user using passwd. Is there a command for displaying the current password policies for a user (such as the chage command displays the password expiration information for a specific user)?

This is rather than examining various places that control the policy and interpreting them since the process could contain errors. A command that reports the composed policy would be used to check the policy setting steps.

View 1 Replies View Related

Fedora Security :: Setting Up Server To Store User Login Information

Mar 18, 2010

I wanted to set up Computer Lab. loading Fedora 11 OS and one system acting as a Server to store Users(Student) Login Informations. When students do a programs, all programs (eg, C++ programs) files should be saved in the local fedora system but when login to the system, the login should be validate by a Server System.

View 5 Replies View Related

General :: Nagios User Permissions To View Any Information Of The Services Requested?

Sep 20, 2010

After Days of trying to install Nagios, I eventually got everything working fine ! The only problem now is I get the following error message on the nagios web interface: "It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file."

View 1 Replies View Related

General :: Scripts Should Use An Informative User-agent String With Contact Information?

Jun 19, 2010

After installing Slackware 13.1, I find that I am getting the message:scripts should use an informative user-agent string with contact informationwhen I access certain websites. Wiki pages, for example. This happens only with Konqueror. Any ideas as to what I might change to gain access to content,

View 1 Replies View Related

Fedora Installation :: Error "unable To Read Group Information From Repositories..."

Oct 13, 2009

I got this error message when installing Fedora 11 by an installlation DVD (download from [URL]) Unable to read group information from repositories. This is a problem with the generation of your install tree. This error message appeared after the step that the installer asked me to choose where to install boot loader and configure the GRUB boot menu. The error message came with two button: [Retry] and [Exit installer].

View 8 Replies View Related

Fedora Installation :: Can't Install F10 - Error "Unable To Read Group Information From Repositories"

May 24, 2009

I am trying to dual boot Vista and F10 and I have 2 different 400GB hard drives to do it on. On the first HD, I have Vista installed but when I try to install F10 on the second, I get this error message:

Quote: Error: Unable to read group information from repositories. this is a problem with the generation of your install tree. I've looked it up and found some forums but none answer how to "fix" it (if it is indeed something that you fix).

View 10 Replies View Related

SUSE :: Unable To Boot Properly - System Is Unable To Read Startup Information From Hard Drive

Jan 19, 2011

I am running the latest suse release downloaded directly from their website. I ran the installation after buring the dvd and everything seemed to be working fine. after the installation i ran updates and used it for a little bit. When i shut it down that night and went to restart it I got an error that stated the OS wasnt there. I then went through the installation and everything and it retained the information from the installation before (web history etc.) but for some reason every time I reboot or shut it down the system is not able to read the startup information from the hard drive and will not come on without me re installing it.

View 9 Replies View Related

Fedora Installation :: Error "Unable To Read Group Information From Repositories" - Kickstart Install Of F11

Jun 19, 2009

I'm doing a Kickstart install of Fedora 11 with a DVD ISO as the installation source and the ks.cfg file in the root folder of the DVD. The error message I get is: "Unable to read group information from repositories. This is a problem with the generation of your install tree."

View 3 Replies View Related

General :: Write A Script To Report Useful Information On Disk Utilization For Each User's Home Directory

Feb 27, 2010

I need to write a script to report useful information on disk utilization for each user's home directory.For each directory I need to show: 1. the long listing of that directory entry (but not the files in the directory), so that I can see the rights and owners of the directory.2. The amount of disk used by that directory, in human-readable format, including subdirectories. I need to have two lines for each user one after the other. For example:

/home/user1 directory info
/home/user1 disk usage
/home/user2 directory info
/home/user2 disk usage

The script will assume that all users, except user root, have their home directories in the /home directory (no need to do anything with the /etc/passwd file). And if the administrator adds or removes users, the script should still work correctly (so the script shows the information for all current users).

Here's what I do know. The command "ls -ld /home/user's_name" will give me the info I need for #1. And the command "du -hs" will give me the info I need for #2. What I don't know is how to grab each individual directory in order to apply the above commands to each of them in order. ???

View 14 Replies View Related







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