Red Hat / Fedora :: Get The Username Logged In A Given IP In A Network?
Oct 28, 2009how to get the username logged in a given IP in a network?
View 1 Replieshow to get the username logged in a given IP in a network?
View 1 RepliesSince today the keyboard doesn't work. I can input username and password but after logged in I can't work with the keyboard. It seems locked. The mouse works correctly. If I boot with Windows the keyboard works correctly.
View 2 Replies View RelatedI 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.
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
I'm new to networks and servers, been using Linux on the desktop for a while now but always relied on the company's IT guy for setting up everyting LAN-based.
Now I want to build up my home LAN, and want to do it with Linux. I've managed to set up LAMP and file share servers.
What I am looking for is information on what I need, and how to set up a server for the following tasks:Centralized Username and Password, that when the user logs into any one of the desktops in the LAN, it uses this for authentication
Something that allows this authentication to be utilized in other servers (file access, web access, router logging, etc.). Something to make it easier for continuing permissions from one service to another. e.g. I have IPCop filtering content, and it has provisions for tracking who is making which request if there is authentication going on. (optionally) to run a script for mounting Samba shares or mapped network drives so from one system to the next. For example, in whatever box somebody logs in, it mounts a server share ("smb://Myserver/users/<username>") to a local folder ("my_user_share").
So;user "fred" ="smb://Myserver/users/fred" and user "wilma" = "smb://Myserver/users/wilma" but both would find their respective one mounted under "~/my_user_share". This would be irrespective of which box they are loggin in with. If the server share location changes (new server/servername), I change it on the server so the next time they log in it points to the right place.
I guess it is similar to Window's Active Directory, though I'm not sure what it's called, how to configure it and what it is and is not capable of doing.
I have set a scratch directory for Apache HTTPd writable by everybody.
Code:
drwxr-xr-x 2 wwwrun www 4096 11-24 22:28 /tmp/www
Code:
Alias /scratch "/tmp/www"
<Directory /tmp/www>
[Code]....
The request is reported in the access log but the error is not reported in the error log!
Even after I set LogLevel to debug!
I installed opensuse 11.3 in my laptop compaq presario cq40 144TU consisting of Core2Duo T5800 with 4 GB DDR2 RAM. After installation of 11.3 i update the OS from online. i have a cable net with IP address / subnet mask / Gateway / DNS. All are working fine but all of a sudden there was a power cut in our locality and my cable net was delinked.
When the elecricity came again i tried to connect the internet for online updation, but all in vain. No page is openup though the terminal told me that "You are already logged in with process id 1425." When i typed the command to kill the process it said that there is no such process running.
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 RelatedJust installed OpenSUSE 11.2 and I have to say it feels great.Only gripe I currently have is the NetworkManager that is starting up very slowly. When I have logged into KDE KNetworkManager applet says that NetworkManager is not running and hence I have no network connection. This is fixed if I start NetworkManager (as root) or just wait a couple of minutes. I have one ethernet interface only, no wireless
View 4 Replies View Relatedlogging in a server through putty in the same network when i executed last command its showing system ip logged in time and logged out time the output as followsthis is my system
oot pts1 xx.xx.xx day month date time in time out timeand similarly am geeting other than this likeroot :0day month date time still logged in this is from more than 3 days its logged in
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?
I have ldap authentication working and the machine is joined to the domain, but I have to append the domain name to my login every time I log in. example: user@domain.I've been unable to find away to log in without appending the domain name to the username. Any ideas on how I can force the machine to automatically append the name for me?
View 2 Replies View RelatedI am attempting a simple two computer office network using Samba. When attempting to access the shared director, a screen pops in Linux and Windows requesting a user name and password. I haven't established a user name or password. Is there a way to allow any computer on the network to access the shared file without a user name and password?The following is the result of:
cat /etc/samba/smb.conf
[global]
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain logons = No
[code]....
I set up a samba file sharing system but my workgroup asks for a username and password see this-This is the text in /etc/samba/smb.conf:
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
[code]...
I'm making an effort to use Fedora as my primary desktop (previously Win Vista), but have a problem that I can't find an answer for. At seemingly random times, I will just be logged off and kicked out to the login screen for no reason. The computer's not shutting down or rebooting, but only logging out. It happens while I'm working, so it's very annoying. I have screensavers turned off, and have no actions set in power management (I am on a laptop). I have some experience with Linux systems, but not so much with using it as a desktop system. I'm running the following:
HP Pavilion dv3000 with Core 2 Duo P7350 @ 2GHz and 4GB RAM
64-bit Fedora 12, kernel 2.6.31.12-174.2.3, Gnome 2.28.2
Nvidia driver with external monitor (TwinView)
also using Compiz and Emerald theme manager
Does anyone have any clue as to what could be causing this, or even how to look for a cause?
I'm running my Fedora 11 in Run Level 3. When the login is displayed (Non GUI)....is there a way to have the program TOP displayed either above or below the login?I wanted to be able to monitor the machine's resources without actually being logged in.
View 1 Replies View RelatedI'm experiencing a strange behavior with wakeup after suspend/hibernate: the first time the system wakes up, it works ok. Then it can suspend ok, but on each wake up I get the login window (my session has been forced logged out). I have to reboot to get one good wake up. It's 100% reproductible on both suspend-to-disk and suspend-to-ram.
/var/log/pm-suspend.log doesn't give much info:
Mon Jul 12 16:20:24 CEST 2010: performing suspend
Mon Jul 12 17:45:16 CEST 2010: Awake.
[code]...
I am using Fedora 10 .Generally to update I open a virtual console by pressing Ctrl-Alt-F2,login as root and give the "yum update" command.Then I continue using my graphical terminal for other tasks from the 'non-root' account..Now my room-mate comes uses my 'non-root' account to browse web for few minutes and then opens a terminal types "halt", ENTER and viola...! My root account seems to be insulted by a 'non-root' user!.When I am doing updates or other important work as root any silly user can just 'halt' my computer. Can somebody tell me how to set up my computer so that when root is logged in no other user can simply halt the computer.
View 3 Replies View RelatedI just recently installed Fedora 11 and I notice that the network connection will not connect automatically. Basically I am trying to get to a point where it automatically connects without anyone logged in. (I hope that makes sense) Right now I have to log in as a user in order to get eth1 to connect and get an IP.
View 8 Replies View RelatedI just installed F12 (live cd version with gnome), fully updated & rebooted but my lastlog says that I never logged in...(I know the DVD Install would probably be better but I'm trying to save space)
View 2 Replies View RelatedI 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 RelatedI've used linux systems before, but the last time I actually set up a server was when fedora core 4 came out, which was, to say the least, quite a while ago. here's my core dilemma: atm, I have fedora 13 set up, and i'm looking to be able to vnc into it WITHOUT already having logged on as a user. I've tried various things and I'm having little to no luck. I uninstalled tigervnc and installed the original vnc package (With server) from realvnc.com. I've also installed xinetd and tried to get it to incorporate vncserver as a startup service, to no avail.
I have not been able to connect to the vncserver regardless of how I try. I AM able to connect to the base remote desktop functionality provided by fedora (Also vnc based). However, as soon as I disable that, I am not able to vnc into it at all. Long story short, here are the current goals:
1) be able to vnc into the computer without having logged into the system physically
2) have those logins be un / passworded. i.e., be able to login as whatever user
3) complete disable the normal graphical startup that fedora provides, since I don't think there's ever going to be a person physically at the computer and I'd like to maximize system resources
Also, if VNC is NOT the easiest way to do something like this, please let me know, I'm completely amenable to taking another route. In short, I'd like non-physical per-user graphical access to the server. I'd also like it to be more than one single vnc session, as I may have it open from either multiple locations or multiple users.
Is there a way to fix this ? I need to be able to edit files with root privileges, not to mention that I don't want it to make any backups ( can be turned off ).
View 3 Replies View RelatedI 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?
Im logged in as root in Fedora, What is the home directory pathname?
View 2 Replies View RelatedWhen 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 RelatedHow i would find out who has logged in to my server using the root login, does it store a log anywhere. im running fedora core 4.
View 5 Replies View RelatedHow to add something to start when you are logged in (System -> Preferences -> Startup Applications), but I want to know, where this parameters stored.
View 2 Replies View RelatedIs 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 RelatedI want to backup some data on my Fedora box to a external Hard Disk (USB). I mounted the external HD on my box. I wrote a bash script to do that and I scheduled a cronjob to execute the script. When I am online the script executes as planned. However when I am logged out the copy does not work. I also tested this with a cifs mount (via fstab) and that does not work either. I set the script to generate some output at the end and that is OK so the script does run when I am offline. I suppose the mounted locations are not reachable while logged out, is that correct? Is there a workaround so I can reach the mounted locations while logged out?
View 2 Replies View Related