CentOS 5 :: Use SCREEN To Pry On A Logged In User?

Jun 12, 2011

I want to give root access to someone for remote management but I want to see whatever they are typing. Can I use screen for that?

Do I have to tell them to use screen as well? or can I simply pry on the session?

View 6 Replies


ADVERTISEMENT

Ubuntu :: Find Out When A User Last Logged In And Last Logged Out?

Jul 12, 2010

How can I (as admin) find out when a certain user e.g. "karl" most recently logged in and most recently logged out of a system?

View 2 Replies View Related

General :: Do I Need To Have Local User Logged In Before Can VNC

May 5, 2010

I am trying to login to a redhat server via VNC. This used to work until I reloaded the box. Although I had previously logged in directly to the box, then I could vnc to it remotely. The service is running, netstat states the ports are open and listening.I can ssh to the box, and ran the usual commands to start the services.So my question is. Do I need to have a local user logged in before I can VNC, if so how can I do that via the command line.If this is not required for a local user to be logged in, what am I missing. Other than VNC, which other services do I need to start.

View 7 Replies View Related

Fedora :: Can't Ssh Or Vnc Into Server Unless A Local User Is Logged In

Mar 4, 2011

I recently installed FC14 as my server and is able to ssh and vnc into the server when locally logged in. If i logged out (at login screen) then i cant ssh or vnc into the server. It is pointless to have a server if i am not able to remote in via ssh and vnc.

View 7 Replies View Related

OpenSUSE :: User Gets Logged Out Automatically In Gnome 3 - 11.4

Jun 16, 2011

I have recently installed Opensuse 11.4 on my desktop. And also upgraded my gnome-2 to gnome-3. Its works nice and I am enjoying it. Only the biggest problem I am facing is, if I lock the screen and leave my desk for couple of hours then user gets logged out automatically. Which is resulting all the documents and applications gets closed. I am unable to work in my desktop now.

View 5 Replies View Related

Ubuntu :: Shut Down Or Reboot While Another User Was Logged In?

Mar 30, 2010

How come you can shut down or reboot from the gui w/o needing root privelages, but if I enter "shutdown -h now" on the command line I am met with "shutdown: Need to be root".

Also- somewhat unrelated to my first question- I recall when I first started Ubuntu-ing, if I wanted to shut down or reboot while another user was logged in, I'd need to enter my password- but it doesn't do that anymore. Two users can be logged in with multiple applications open, and if I reboot or shutdown, it just goes for it? (using 9.04, for now...)

View 2 Replies View Related

Ubuntu :: User Interface Dead When Logged In (10.04)?

Jul 5, 2010

when I log in, I can move the mouse, but nothing else. The whole user interface is unresponsive and absolutely no keystroke works. It is probably not because of my hardware (hp 2710p) because logging in as root (with only slightly different Gnome configuration) does work well. I assume it is because of some error inside the Gconf. There is always an error when starting Gnome that an entry could not be read, including some bunches of ~30 question marks. If it is useful, I can give you the whole message literally.

I haven't changed data inside Gconf, but I did have it open when I was installing a program, and then the console did show the message with the question marks for the first time (while processing some "trigger" post-install). I think the program I was installing was drapes (for changing desktop wallpapers in Gnome). Strangely Gnome did startup correctly afterwards for a couple of times (always showing the above-mentioned error). I have no idea what change made it suddenly stop working yesterday.

The differences in Gnome configuration between the working root and the unresponsive user account are, as far as I can tell from memory: changed theme (elegant-brit), wallpaper, fonts, globalmenu in the panel, installed - added to panel - uninstalled drapes.The rest is the same for the root account. I can still log in to the shell as the normal user, but "startx" leads to the disabled graphical interface. As I said, the graphical interface works well when I use the root shell. I can't access the internet from the user shell unfortunately (if I need to, I will figure out how to set up wlan in the shell).

View 1 Replies View Related

Ubuntu :: Randomly Logged In As Restricted User?

Jul 19, 2010

I have a very annoying problem with my Lucid (installed with ubuntustudio's alternate dvd). Two out of four times when I log in my account has some restrictions. I can't mount devices on nautilus and the shutdown button won't be displayed. If I log out and log in I see the restrictions again. Only restarting (with "sudo shutdown -r now" or so) may give me a normal session. On the console works everything normal. I mean i can sudo with my password.

View 2 Replies View Related

Server :: Lock User Account If He Is Not Logged In?

Nov 24, 2009

I am running a mail server with combination of dovecot,sendmail and squirremail as web client. I want to change the password of the user if he/she not logged in for 21 days.

View 4 Replies View Related

Debian Configuration :: User Cannot Shutdown While Root Is Logged In

Jun 29, 2011

on my netbook I've tried to make possible for my user to shutdown without needing a password. battery could run low when I'm not in front of it. Editing sudoers has allowed my user to shutdown the system, but Gnome still prompts me for the root password whenever root is logged in too. That's usually the case, because to avoid entering the root password multiple times whenever I need elevated privileges and not wanting to cache the root password, I keep a Root Terminal always open.

View 6 Replies View Related

OpenSUSE Install :: Changing Password User That Is Not Logged In?

Apr 15, 2010

I'm looking for a user-friendly way to change the password of a user that is *not* currently logged into the machine. We have a machine that is used by a number of users with a low level of tech savvy. The machine gets logged in as a generic user which works for most purposes, but due to a management requirement, we need Firefox to be run under an account set up for the individual user. I've gotten that bit to work fine, but what I can't figure out is a friendly (GUI) way to allow users to change their own password while the machine is logged in as the generic user. I would like to use gnome-passwd, but I've been unable to figure out how to get it to run for a user other than the logged-in generic user.

View 7 Replies View Related

OpenSUSE Multimedia :: VLC Not Working When Logged In As Root User

Jan 31, 2010

some days back i have installed VLC player. It is working fine when logged in as any other user than root user but not when logged in as root user.

View 2 Replies View Related

General :: How To Send Message To Local User Logged Into X11

Jul 13, 2011

Is possible to send a message (popup window or something) to local user logged into X (xdm, fluxbox) from console ? For example: user1 is logged and using X/fluxbox, user2 logging into the same box by ssh to console. Now - what user2 have to do to send message to user1 ?

View 1 Replies View Related

General :: Seeing The Last 5 Received Mails When Logged In With Normal User?

Mar 17, 2010

I am trying to see the last 5 mails in a single window that the rootuser has sent to a particular normal user.However,I am not able to do so.Is there any command that can display the last 5 mails in a single window sent to a particular user?

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

CentOS 5 :: Black Screen Coming Up After Login Using One User

Apr 12, 2011

When I login to my machine I can see a BLACK screen and my mouse pointer. This is not happening with other users.Few days ago when I tried login to my machine I noticed this. I can access ssh session and do stuff there but some time I need GUI.I can login fine using other users. This is only happening with one specific user.I have just noticed that if I try loggin with the same user which have issues using NX client it shows us a BLACK screen, then if I open xwin then I can see three new windows top panel, bottom panel and Desktop.

View 12 Replies View Related

Fedora :: Gnome - Can Allow A Remote Desktop / VNC Connection If No User Is Logged In

Oct 18, 2010

Is there a way gnome can allow a remote desktop / VNC connection if no user is logged in? If the server gets rebooted I can't access it (remote desktop / VNC). Someone physically has to go there and log in. Surely there must be a way as gnome is running just waiting for a login.

View 1 Replies View Related

Ubuntu :: Can't Start Desktop If User Wasn't Properly Logged Off - 10.04

Jul 14, 2010

10.04, clean installs, running Gnome or LXDE.

IF
- a logged-on user wasn't properly logged off
- the system is restarted
- the same user attempts to log in

[Code].....

This seems repeatable, and happened on 2 different PCs.

When logged into Gnome as another user and trying to sudo a backup of the borked user's home before attempting a repair, a ".gvfs" file is reported "in use" and can't be copied.

It happened to me quite a few times, due to crash or more often power failure, or my sudo-errors. I now keep a few spare virgin sudo-enabled cloned accounts just in case one dies that way.

View 3 Replies View Related

Ubuntu Multimedia :: VLC HTTP Interface: No Sound When No User Is Logged In

Dec 20, 2010

I have a pc where I run ubuntu 10.10 and on this pc i have installed vlc and on boot i start the vlc http interface. Therefor I created the file /etc/init.d/vlc. The file seems like this:

[URL]

and I also updated rc.d. Vlc starts on boot as desired I also can send commands like in_play the file (a playlist) is loaded and reguarding the status.xml the file is played. But when no user is logged in I hear no sound. When I perform a login on the machine there is first still no sound but when I send e.g. the pl_next command or call in_play again then there is sound. Sadly the pc shouldn't be attached to a monitor and therefor I can't perform a login everytime so I need sound, when noone is logged in. Why is there no sound?

View 1 Replies View Related

Programming :: Finding The Username Of A User Who Has Logged In (roaming Profile)

Mar 14, 2011

I want to be able to create a php webpage that will show the logged in users files and how full their home directory is (roaming profiles). The php side isn't a problem....the problem is how do i determine the username of the user who is logged into Linux not the webpage itself?

What i want is when the user opens this page, it knows who they are already. I have seen this done on an intranet at work (don't know what OS it is running on tho) where I login to the network, view the page and it says my name.

View 6 Replies View Related

General :: Link Terminal Sessions - Show Logged In As The Same User?

Jun 7, 2011

I was doing some rather lengthy procedures using a terminal. Then I wrote script using Kate, and input it into that terminal, and then realized that I was logged in as a normal user in that terminal as opposed to a superuser, which is how I was logged in at the other terminal. I've never noticed this before because I've never done anything that takes this long.

Is there any way to link all terminal sessions in such a way that they all show me logged in as the same user? I don't even know if this is even important, but I don't want to risk losing any things that I had done.

View 2 Replies View Related

Security :: Block User Accounts Who Has Not Logged In To The Server Last 2 Months?

Mar 1, 2011

We have 4 servers having rhel 5.2. We have several users logged in on one of them. We have nis server/client running on them and have common home area mounted on all of them. Now we want to disable/block the accounts of the users who have not accessed our servers in last 2 months from today.What logic should we apply to do so? We were checking stat of .bashrc of each user but is not correct logic. We are going to write shell script for the same. We dont want to do anything in users home area or their files.

View 11 Replies View Related

Ubuntu :: Phantom User Still Logged In - Bash: Kill: (5485) - No Such Process

Sep 13, 2010

$ uptime
09:55:00 up 7 days, 6 min, 2 users, load average: 0.00, 0.00, 0.00

..but I'm the only user logged in!

$ who -a
system boot 2010-09-06 09:48
run-level 2 2010-09-06 09:48 last=

[code]....

looks as though this is the culprit, but...

$ kill 5485
-bash: kill: (5485) - No such process

This process doesn't exist in the /proc folder or the output of ps. Does anyone know how this happened, and how to remove this ghost user from my system without a complete reboot? I think I have seen a similar thing on a RedHat machine ages ago but I have never figured out how to log out these ghost users.

$ uname -a

Linux ubuntu 2.6.24-28-server #1 SMP Wed Aug 25 16:07:16 UTC 2010 i686 GNU/Linux

View 9 Replies View Related

Programming :: Bash Scripting - Display Real Name From Username Logged In + User Processes?

Jan 14, 2011

i am using putty to connect to the linux server and i am using nano as my text editor to write a bash script.

this is my script:

echo "Please enter your Username"
read userName
userName= grep $USER /etc/passwd | cut -d: -f5
echo "Welcome " $userName | cat >> output.txt

the problem i have is that when i enter my username, the output (my real name) does not display in the output.txt. instead it displays in putty. so when i run my script in putty it shows the message to enter username and after i enter my username my real name appears below it. i want it to show in the output.txt

View 1 Replies View Related

Ubuntu :: Home Network - Media Drives Are Automatically Mounted To Allow Access If The Admin User Is Not Logged In?

Jul 9, 2010

This is the set up I have: PC downstairs by a tv, with 3TB of storage containing my media, connected to the tv too. HTPC upstairs by another tv and connected to it. A few laptops and other desktops around the house which are windows based

I want the downstairs pc to act as a file server and to run my torrent client, it is running Ubuntu desktop version and has xbmc installed too for use with the tv. The upstairs htpc has xbmc live on and will access the media from the file server. What I am looking to do is to be able to log into my ubuntu machine remotely from a laptop running windows so I can manage the files and add torrents for download etc, but for this to be a complete remote session, rather than taking control over what is already being shown on the downstairs pc, like VNC does in windows.

I have two user accounts set up on the main ubuntu machine, the admin account and a media user account which is set to go straight to xbmc after log in. Also how can I make sure that the media drives are automatically mounted to allow access if the admin user is not logged in?

View 9 Replies View Related

CentOS 5 :: VNC Server - Works When Logged In Only

Sep 6, 2010

Been using CentOS for a couple of weeks and have a few quirks I need help with.
This is a fresh install of CentOS 5.5. I'd love for VNC Server to start up as soon as the computer reboots. It seems my VNC Server only works when I log in using the GUI at the computer itself. After a reboot I can remotely SSH into it successfully, but cannot VNC to it. I then have to physically get to the computer and log into the GUI, and wa-la I can VNC to it. I have not edited any conf files - seeing as my last attempt at getting this working got me nowhere. I have only enabled Remote Desktop through the GUI.

View 8 Replies View Related

OpenSUSE :: When Logged In With Gnome 3 Preview / Screen Blincked 3-4 Time And There Was No Panel?

Jul 18, 2010

I have installed edu life suse 11.3 and when I logged in with GNOME 3 preview .. screen blincked 3-4 time and there was no panel after that I automatically logout from gnome3 environment. How to fix it ?

View 3 Replies View Related

CentOS 5 Server :: Pid File Exists Ang Logged Caught SIGTERM, Shutting Down?

Apr 11, 2011

status is httpd dead but pid file exists ang logged caught SIGTERM, shutting down.

View 1 Replies View Related

OpenSUSE :: Logged In As Root But Getting "user Davfs2 Does Not Exist"

Jan 23, 2011

But I've gotten as far as getting davfs to work on RH Linux. However, on SuSE I'm logged in as root, but when I issue the mount command I'm getting "user davfs2 does not exist". (I was getting "group davfs2 does not exist", so I created the group (groupadd davfs2) then added the user davfs2 to the new group by following the instructions at The Nerdrium : Linux : Creating Groups.

The command I'm issuing is: mount -t davfs http://.....

I get challenged for credentials, but after I enter them I get the "user davfs2 does not exist" message.

View 2 Replies View Related

Red Hat / Fedora :: Unable To "su" To Root When Logged In As A Normal User?

Jan 5, 2010

I have a Red Hat 4 server with Sungard Luminis installed on it. I was following some instructions on setting up Luminis to start at boot. One of the steps was modifying the sudoers file. Since modifying the sudores file, I am no longer able to "su" to root when logged in as a normal user. When doing so, I get su: incorrect password after putting in the password. I have another server with the exact same setup, broken one is test, the other is production, that works just fine. I made no changes to my production server. I've been looking at different things all day and the only difference I have found between the two are the results I get from running rpm -q --verify coreutils. Running that on my prodution server returns nothing. Results from my test server are below. Is this what is causing my problems? If so, what's the fix? I haven't found that yet. I've checked /etc/pam.d/su, both servers are the same.

rpm -q --verify coreutils
.....UG.. /bin/basename
.....UG.. /bin/cat
.....UG.. /bin/chgrp

[Code].....

View 2 Replies View Related







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