Ubuntu Servers :: Send System Logs To Another User?
Dec 3, 2010
We have a backup program that works with HP's ultrium tapes that whenever it's failing it's sending an error to the root's system logs. Now if I run mutt as root I can see the system logs and it's very easy to pinpoint any backup error messages.
Is there any way to copy all these system messages to another user as well so that someone with no root access could run mutt as well and check for these logs daily?
View 4 Replies
ADVERTISEMENT
Nov 6, 2010
I'm a bit of a unix noobie trying to manage a small ubuntu server. I want to run a bash script automatically after an ssh user logs in. For example, after they log in and the default welcome message is displayed, I want to run a script that displays some server statistics since the last session. I made an alias to the script, and I could run it manually after I log in, but it's a bit of a hassle. Is there any way I could do this?
View 2 Replies
View Related
Jan 31, 2011
I've recently installed Fedora 14 (x86_64) on my Alienware m15x laptop which has a NVIDIA GTX 260m onboard. Now I have followed leigh123linux's guide to installing those drivers on F14. The installation is a success and everything seems to be in working order, until the system randomly logs the user out and/or restarts the session with no warning. The screen goes black and the nvidia logo appears and then its back to the login screen again. This can happen many times with no apparent stop insight. This does not happen with the default F14 drivers that come with the installation, I have tried several re installations of the Fedora OS and several re installations of the NVIDIA driver, i still have the same problems.
View 3 Replies
View Related
Jul 12, 2011
my user are not able to send mail, in my mail server this error is showing ,
[root@aloha ~]# service MailScanner restart
Shutting down MailScanner daemons:
MailScanner: [ OK ]
incoming sendmail: [ OK ]
[Code]....
Im using fedora 7 , i dono which all services has started .
View 1 Replies
View Related
May 3, 2011
I used this tutorial to setup to setup iSpconfig postfix courier: [URL] but i cannot send or receive email:
[Code]....
Basically when i create users in ISPconfig, something goes wrong, mysql is running and i have postfix-mysql installed and running too.
[Code]...
View 2 Replies
View Related
Jul 26, 2011
I tried to send mail from my debian system commandline as root user But i did not get the mail in the destination email inbox No errors was shown
View 1 Replies
View Related
Apr 14, 2011
I'm niomi and I'm the first account with sudo. I add an account, bob. niomi can get in reliably on active mode. (maybe relevant?: passive doesn't work) bob is jailed to his home directory, niomi is in ftp-special which gives her access to /. bob can't log in and his shell is set to bin/false. What could have gone wrong?
View 3 Replies
View Related
May 4, 2010
Whats a way to start the cod server as a specified user on system boot. Whats the best way for me to do this? The cod server is located in the users home directory
View 8 Replies
View Related
Apr 12, 2011
I want to password protect say a subdirectory, or a subdomain via vhost, with a username/password, but use the systems users and passwords as logins -> I want go avoid any and all .htaccess... as everyone should be doing anyway How would I go about doing this? I know my way around the apache configs fairly well, so I'm not a total newb -> I now I can use .useraccess and .pwaccess but that's flat file driven, not based off of the systems users/passwords.
View 1 Replies
View Related
Aug 21, 2010
I've searched the web and these forums and I don't seem be the only one with this problem yet I couldn't find a cure for it; 2 users are logged in, one of them logs out and the screen goes blank. Nothing works except shutting off the computer manually.Does anyone know if a cure has been found for this problem by now?
View 2 Replies
View Related
Sep 10, 2010
I'm running ubuntu server on a home server which runs samba, ftp, and bittorrent 24/7. there is no need to be using the graphics capabilities of the system by having a desktop environment active 24/7 so to save power when i'm not using the desktop, i stop the kdm/gdm and x. This can be done easily by sudo start/stop kdm/gdm/x etc., but there are users in my home who are unprivileged on this computer but who would still like to use it from time to time and rather than having me login every time and start x for them, I would like to find an automatic solution to the problem.
I tried setuid scripts (which i found out fast didn't work), I tried compiling a small c program (again, setuid then start x) which i couldn't get to work, I also tried looking for a signal to send upstart when a specific user logs in so the appropriate environment could start but couldn't find one. I've only just started getting into upstart scripting and despite what I know.
View 4 Replies
View Related
Jun 28, 2011
I wrote a little script that will automatically mount two Samba shares to my home directory and I was wondering if a) You guys/gals had any input as to how I could improve on this script and b) Tell me how I would go about having this script automatically execute when I log on via SSH.
Code:
#!/bin/sh
mount -t smbfs -o username=Myuser,password=Thepassword //192.168.1.102/Data1 /home/user/Data1
mount -t smbfs -o username=Myuser,password=Thepassword //192.168.1.102/Data2 /home/user/Data2
View 4 Replies
View Related
Mar 16, 2010
I recently installed Suse Linux enterprise Desktop 11 on my box. I created an user and logged in first time into a GNOME session without any problems. Last time I logged in I selected the session as TWM and that got me into the T windows manager just fine. Now when I log out and try to log back into a GNOME session, it will still log me into the TVM sessionI have tried restarting the boxHowever, when I remote log in to the machine it will let me get on the GNOME session just fine. I'm guessing this is probably a really simple fix, however I am a Linux newbie and doing a google search isn't yielding me what I'm looking for.
View 1 Replies
View Related
May 1, 2011
When I try to play a video in vlc, totem or banshee, it immediately logs me out. Sometimes this happens when I try to full screen the video. This seems to happen only after upgrading to ubuntu 11, and happens for multiple kinds of files, like avi and m4v. The motherboard is Asus a8v-mx. How to fix my ubuntu installation
Here are the relevant entries from syslog:
21:12:27 enlightenment kernel: [488.157457] powernow-k8: Hardware error - pending bit very stuck - no further pstate changes possible
May 1 21:12:27 enlightenment kernel: [488.158634] powernow-k8: transition frequency failed
May 1 21:12:27 enlightenment kernel: [488.264015] powernow-k8: failing targ, change pending bit set
May 1 21:12:27 enlightenment kernel: [488.306466] agpgart-amd64 0000:00:00.0: AGP 3.0 bridge
May 1 21:12:27 enlightenment kernel: [488.306489] agpgart-amd64 0000:00:00.0: putting AGP V3 device into 8x mode .....
View 3 Replies
View Related
Jun 22, 2015
So the question is simple what I need is to run file.sh after user logs into desktop LXDE.
Ive been trying whole day tried to put my file.sh into /etc/init.d and ever created symbolic link to /etc/rc4.d etc..
BUT after I log into desktop nothing happens?
I am coming from ubntu there it was easy just add that script into startup applications.
View 14 Replies
View Related
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
Dec 14, 2010
When I start my ubuntu linux system it automatically logs into a user (not root) in graphical mode and it does not asking for any password. when I try to go to the command prompt the password is required. How do I give password for my user. The provider installed the system and not me..
View 5 Replies
View Related
May 26, 2010
I handle several hundreds of domains. Mails are handled with google apps (but previously I used to have a full postfix/courrier setup with virtualhosting). Now what I need is to be able to send mail (newsletter etc...) from my web servers, but I don't need to receive mail on these servers.
View 4 Replies
View Related
Oct 31, 2010
Since Port 80 and 443 are the only ports I have open, how is it that an IPAddress can hit my server yet not appear in ANY logs ?
View 9 Replies
View Related
Jan 3, 2011
I have configured my Cisco ASa Firewall to send its logs to my ubuntu server in /var/log/cisco/ I see the logfiles populating in real time, but i can also see all the logs are also wtitten to /var/log/messages. How can i make sure i do not have a log redundancy? I dont want my firewall logs displayed in messages since there are now sent to /var/log/cisco.
View 1 Replies
View Related
Feb 3, 2011
I'm running a set of virtual machines (most in ESXi, one in VirtualBox on my desktop) to try and replicate an existing physical network structure with a Samba domain operating across multiple subnets. The layout is:
(ESXi)
* Router - Ubuntu 8.04, running dnsmasq, bridging my 2 virtual subnets (10.10.4.1/24 & 10.10.5.1/24) and my physical network
* PDC - Ubuntu 8.04, configured as a Samba PDC with PAM configured to use LDAP, SMBLDAP etc. on 10.10.4.11
* LDAP - Ubuntu 8.04, running Zimbra 5 mail server, acting as the LDAP backend for Samba on 10.10.4.12
* BDC - Ubuntu 8.04, configured as a Samba BDC with PAM LDAP etc.
* Client1 - Windows XP, joined to domain on 10.10.5.100
(Virtualbox)
* Client2 - Windows XP, joined to domain on 10.10.5.99
Watching /var/log/daemon.log, /var/log/samba/*, smbstatus -bd0 shows that Client1 successfully logs on to the BDC (10.10.5.2) but Client2 logs on to the PDC (10.10.4.11) instead. Both clients have the same subnet, DNS, WINS settings etc. I've seen the issue happen in our physical setup too but very infrequently and usually when there's been a network interruption between the BDC(s) and the LDAP server.
View 1 Replies
View Related
Sep 1, 2011
I am using my ubuntu server as my home router.Everything is working as expected with one exception.y DSL modem is a POS and every now and again it looses connection to the router. Sometimes it needs to be reset and sometimes it does not.Either way, when this happens my ubuntu server needs to reacquire an IP from my ISP. If it screws up when I'm at home it's no big deal, but if it happens when I'm not around my housemates have taken to hitting the reset switch on the server. I'm not a big fan of this so I wrote a script to ping my ISP's gateway. If it's unavailable it bounces the eth0 interface and tries to get an IP. I am running this script every couple of minutes in a cron job. Now I'm getting syslog entries like
Code:
Aug 9 20:31:01 portal CRON[9602]: (root) CMD (/opt/ChkAndFixNetwork.sh)
every few minutes. This is annoying and makes the logs useless for troubleshooting. I
[code]...
View 1 Replies
View Related
Sep 1, 2011
We had recently got some problem with our server(local server) and we recently upgraded from Ubuntu server 8.04 to 10.04 and we were not able to access awstats logs from web.So can any one say a method to get back the logs from the server?
View 1 Replies
View Related
Dec 14, 2010
Is there any way to check an Ubuntu system for user logons or uptime that date back 1-2 months from the present day? I tried 'last' but it only seems to date back to Dec 02. I also had a look in System Log Viewer, but couldn't find any records going back far enough.
View 3 Replies
View Related
May 4, 2010
I have configured my Cisco firewall to redirect all its logs to my Ubuntu 9.1 server (no UI.)
Now, my /var/log/messages is getting all the firewall logs + all other logs.
I'm wondering if there is a way to redirect the logs from my Cisco Firewall (coming from UDP port 514) to another file.
View 2 Replies
View Related
Oct 28, 2010
I'm going to be setting up a couple of servers for some friends. I'd like them to be able to email me some information after they do some maintenance scripts via cron. I got my own server to send email using a tutorial I found but that involved using my personal gmail account. getting email sending working on ubuntu server with minimal fuss and account credential exposure?
View 2 Replies
View Related
Apr 29, 2011
i just updated to 11.04 and now my system logs out every time i play a video file.
View 9 Replies
View Related
Jun 3, 2011
Running updated 11.04 on a older Dell Precision 360n. Been having random system freezes for the past month that requires a hard restart (REISUB doesn't work) each time. Sometimes the caps lock and scroll lock LEDs blink, other times not. sometimes it happens during boot, other times during normal usage. There hasn't been anything in any of the logs (except once, which I'll post below). This happened running 10.04 and 10.10 as well. I've run PC-check a few times and all hardware diagnostics have passed. Until today, i've been able to boot and run Trinity Rescue Kit 3.4 to mount the disk and examine the logs (and do backups), but now TRK won't boot and spews kernel panics when loading.
[code]....
View 6 Replies
View Related
Feb 4, 2010
I was just checking some of the generated logs from Samba.
Code:
Quote:
I've looked over my smb.conf and it doesn't look like I even have any printer sharing enabled.
Quote:
How PC1 was refused a connection when it looks like I don't have any printers being shared throught Samba?
This is just on a home LAN.
View 1 Replies
View Related
Apr 5, 2011
I try to log all my iptable logs to mysql instead just a logfile. The setup is as followed:
[Code].....
[red]Problem[/red] rsyslog logs everything correct, except it does not log to db, it logs to /var/log/messages. As I am brand new to the whole Linux experience, I don't get it. My /etc/rsyslog.conf is setup with $ModLoad onmysql.
View 1 Replies
View Related