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


ADVERTISEMENT

General :: Using Script To Automatically Record Terminal Sessions When A User Logs In?

Mar 3, 2010

I'm trying to set up automatic recording of user sessions when they login without their knowledge. I tried sticking the script command into /etc/profile and but that didn't really work. I also tried /etc/bashrc but that had the same affect.I have also tried setting the shell in /etc/passwd to SHELL=/bin/bash /usr/bin/script -q /testing.txt.

View 8 Replies View Related

General :: Understanding Idle/Inactive Sessions And Whether Or Not Someone Is Logged In?

Jan 5, 2011

I'm trying to understand if anyone is left on a server. Basically I manage a simple linux server remotely used by 3-4 individuals. I can never tell if someone is actually on or not using w/who.What I'm seeing is some people having what appears to be inactive/lost VNC sessions. I don't understand idle fully, but I do believe a program (without user interaction) can clear idle back to 0, correct?Anyway, I'm asking because every now and then I need to reboot the server, and I do not want to interrupt any program working on calculations or waiting on having the data saved.

Code:
me@matrix:~> w
06:59:54 up 170 days, 9:13, 16 users, load average: 0.52, 0.16, 0.06

[code]....

View 1 Replies View Related

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 :: Xvnc Sessions Do Not Allow Program Or Terminal Launching?

Feb 12, 2010

I just added 8 additional vncserver sessions(Xvnc) (using a well-documented procedure my predecessor used) to my RH Enterprise 2.4.21-4 (OK it went by fast) server. This brings the number of session listed in my /etc/sysconfig/vncservers file to ~32. Applications and terminals now seem to choose if they will open or not in the Xvnc session and not all sessions start at boot. I can start them manually, and they will work, but then they stop working properly. You can open a session, view the active desktop, click on menus and associated drop-down items to try and open apps, but the apps/terminals just won't open. Is there a limit to the number Xvnc Sessions that can be managed? If so, what is it? This happens whether I try to connect from a Winddows box or another Linux box.

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

General :: Bash Script - Obtain Current Workdirs Of All Konsole Terminal/sessions?

Jan 15, 2011

I am trying to write a bash script that would save the current state of my konsole terminals and sessions. I'm using KDE3.X and for some reason the "profile" save does not save the current working directories... Anyway, I would like to know if there is an elegant way to obtain the current workdir of each terminal and session ? I've managed to do something with a clever use of DCOP extended functions, but it requires me to start every konsole with the --script option enabled, and I don't want to do that.

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

Software :: KDE Shutdown (4.3.2) Makes A Big Show Of Logging Off - Other Sessions

Mar 19, 2010

My parents make me quickly turn off my comp every night, which isn't a problem, just hit kickoff->shutdown. But the thing is, when I have tty2 open to run a console session, or if someone is on by ssh, KDE (4.3.2) makes a big show of logging off, but when it does log off, I have to hit a dialog (these users are still logged on). I was wondering if I could just turn that message off. If so, how?

View 6 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 :: 9.10 - How To Get Sessions Through Terminal

Feb 9, 2010

Where is sessions in 9.10? How do i get it, Is it called something different.

View 5 Replies View Related

Ubuntu :: How To View Previous Terminal Sessions

Nov 10, 2010

I often use the terminal to shut down my system whilst watching TV in bed, I use SUDO AT TIME and HALT.This works a treat most of the time, but a couple of time this week I have woken in the night and the PC/TV is still running? Maybe I mis typed somthing? Is there any way I can view previous terminal sessions to check ???

View 4 Replies View Related

Ubuntu :: Automatically Save Terminal Sessions?

Nov 23, 2010

i'd like to ask how could I save my Terminal Sessions to a text file or something like the option we could do at Putty or Kitty?

View 1 Replies View Related

Ubuntu Networking :: SSH Can Only Connect If Logged In Through Terminal First

Mar 8, 2010

I am having a small issue with my SSH usage. I have a main PC OS 9.10 that has a wired connection to the wireless router. My EEEPC 904HD is a wireless connection to the same router.

I use my main PC as my music store and of a night I sometimes listen to this via my EEEPC using the 'connect to server' icon. This has been the norm for some time.

Now of late my connection is being refused. Initially I thought it was to do with the SSH file of trusted connections as from time to time I have had to delete this file as rebooting of the router may have altered the IP of my machine. This usually solves the problem.

But I now have to use terminal to

Code:
ssh 192.168.?.?

I then have to confirm the connection and use the password to confirm fully. After that I can then use the GUI to get into my main PC, by inputting the IP, port, folder, user name and password, as usual.

Am I missing something? Nothing has been changed by me to have caused this so far as I know. I also have 2 folders set to share via samba over the network which works perfectly these folders are accessible by others on my home network. I use SSH for myself to fully access my folders on my PC from the EEEPC.

View 8 Replies View Related

General :: Cadence Virtuoso In Terminal Show This Error?

Jul 26, 2011

[root@client4 ~]# cd /home/tools
[root@client4 tools]# csh
[root@client4 tools]# source cshrc_ic614

[code]....

View 5 Replies View Related

Programming :: PHP/MySQL FOSS For Managing User Sessions On The Web?

Apr 24, 2009

My co-worker and I are working on this robotics project where robots are controlled over the web. I don't want to go into all the details, but basically the users visit a page where they have access to a PHP-based interface that allows them to send commands to robots in our tech lab (via an intermediate server). Our web server is running Apache.

Anyway, now we need to implement session control, with user-names and passwords so that only certain people can have access to the interface at a certain time, with access to only certain robots, et cetera. We were hoping there was some kind of pre-fab FOSS solution for handling both the session control and maintaining the MySQL user/password database.

My co-worker knows a little PHP, and I know a little MySQL, but we are both noobs enough that we would prefer to do as little of this from scratch as is possible. We don't have a lot of time, and I know it is easy for inexperienced MySQL programmers to introduce security vulnerabilities.

View 1 Replies View Related

General :: Show Output On Terminal And Save To A File At The Same Time?

Jul 1, 2010

I am using:

user@unknown:~$ sudo command -option > log

to save the results of "command" to the file "log", but I'd like to also get the result on the terminal, is this possible?

I am using ubuntu 10.04 lts.

View 3 Replies View Related

General :: Ubuntu : Errors In Terminal : Show Them In English Language?

Jan 20, 2011

i installed Ubuntu in italian language. Now I would like to see the error commands in english.For example if i write: $ mmmm

This is showed: mmmm: comando non trovato

I would like that mmmmm: command was not found is showed.

View 1 Replies View Related

General :: Copy Directory (Local) From Terminal And Show Progress Bar?

Aug 19, 2010

I am new both here and in Linux. As the subject says, I would like to learn how to copy a directory (not a file) from terminal with progress bar showing. The copy is local, i.e., not to another computer. My distro is CentOS 5.5. I know that if I do it with nautilus I would see the progress, but I want to learn how to do it from the terminal. I know that PV command can show a progress bar, but from what I saw, it works well for files, but not for directories (recursive).

Is it possible to use PV for directories? If yes, could you please show me the syntax? I also saw that some people mentioned that rsync can also show a progress bar, I tried to do it, but it didn't work out - perhaps I got the syntax wrong. If rsync can really be used to copy directories with progress bar, show me the syntax? Any other ideas on how to do it? I would like ideas that do not involve using any script, i.e., just something that I can do using the regular commands.

View 6 Replies View Related

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

Security :: Non Privileged User Sessions Close Immediately After Login?

Apr 16, 2009

while hardening a red hat enterprise 5 installation I have done something that causes the sessions of all user accounts except root to close immediately after authentication. in the /var/log/secure log file it will show three log entries per attempt:

<date/time><hostname> login: pam_unix(login:session): session opened for user fred by LOGIN(uid=0)
<date/time><hostname> login: LOGIN ON tty1 BY fred
<date/time><hostname> login: pam_unix(login:session): session closed for user fred

Since I did a number of things and have not been able to identify what caused this.

View 2 Replies View Related

Programming :: Kill Pids For All Sessions For A Specific User Except Their Current One?

Oct 20, 2010

I have several users on handhelds and they like to let their sessions time out. Their zombie processes then cause record locks.I've come up with calls for killing the pids for any prior sessions started by a given user. This procedure would be executed in the .bash_profile.

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

General :: Getting The Option To Show The Full User Path

Jan 21, 2010

- When using SU - , I need the option to show the full user path (root user, home dir, etc..), not just root@name. Is there one?

-If not in sudoers file, how can a user get in to edit a file for example. Is that possible?

-Does service ssh restart disconnect users?

View 6 Replies View Related







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