Debian :: Any Way To Stop Logging Of CLI Entries?
Apr 14, 2016
I am not referring to the bash history file. I am referring to the system log file. All of my console activity (letter for letter) is being stored in the system log. It's my understanding that version 4.1 of bash is where this behavior first started but was originally optional. I don't like it and I want to stop it. I am using a current version of jessie with bash 4.3 and I can find no way of turning it off
Monitoring the activities of users may be necessary .for admins in a business environment but this is a home computer and I consider this kind of tracking intrusive and unwanted.
I first noticed this with the journal system log and mistakenly though it had to do with journal so I removed the journal system and installed dsyslog which has the same behavior.
Perhaps debian should offer two versions of bash. It's my understanding that this is configured in a header before compiling.
View 4 Replies
ADVERTISEMENT
May 14, 2011
I used System->Preferences->Startup Applications to start up a shell script (application) when I login. How do I stop this application when I log out?
I've tried creating a ~/.logout file, where I determine the PID of the application I want killed (so that I can kill it), however it would appear that this file is never referenced when I log out of my Gnome session.
P.S. I'm using Ubuntu 10.10 (or whatever the last release of 2010 is designated as).
View 2 Replies
View Related
Mar 2, 2011
There was an useful discussion on "how to stop logging cron to syslog". The useful answer is to update the line targeting syslog in /etc/syslog.conf to say something like:
Code:
*.*;auth,authpriv.none,mail.none,cron.none -/var/log/syslog
the significant part being that cron.none means that cron will not log to syslog.
There was discussion about whether this was a good thing to do, but omitted to suggest that adding/ uncommenting the following line would mean that no information would be lost but that syslog would be less cluttered as a source of monitoring info:
Code:
cron.* -/var/log/cron.log
You've still got all your cron-related log items available in cron.log if and when you need them. To make the new /etc/syslog.conf lines effective you should also, with root privileges:
Code:
touch /var/log/cron.log
chown syslog:adm /var/log/cron.log
and restart syslog. In my case:
Code:
/etc/init.d/sysklogd restart
View 4 Replies
View Related
Aug 20, 2010
I like to load other distro's via their own grub.
So at the min I add an entry to code...
however when update-grub2 is run it also adds its own entries (for arch linux).
Is there a way to stop the update-grub2 script automatically adding a entry on a specific partition ?
View 3 Replies
View Related
Oct 13, 2010
I am working on Red Hat Linux since last six months and learning it steps by steps. like configurating ftp server,NSF ,DNS and then email server. I want to learn squid server but technically before going into it what you suggest me that may I first learn to configure Linux as a router,Firewall machine or do IP masquerading on a server. Because all these things are directly or indirectly involve in squid.So guide me because going to start squid i may understand Linux IP table ,how to add entries in it,how to delete entries ,I think you understand my point which i want to ask for guidence.
View 4 Replies
View Related
Jan 12, 2014
What I would like to do is, with a right click, have the menu give me the option to run srm, which is a "secure remove" program. I picked this one as it requires not only a file name, but some other options. I've run into no support adding things to menus. When I updated one of the Debian versions, I lost the shutdown option from the name menu that used to be there. It was suggested that I right click and pick that option to restore it, but I get the same as the left button on that menu.
View 2 Replies
View Related
Aug 15, 2010
How can I have /etc/resolv.conf point to my router address as the nameserver nameserver 192.168.1.1
instead of picking up the ISP's DNS servers and using that as the nameserver entries? Reason being I have more than one ISP account, and when I change I do not want to have to remember to restart the networking service. because i often forget.
View 4 Replies
View Related
Aug 18, 2011
I wanted to make my boot logging pretty hence used this shell script from As given in the instructions therein, I just copied the shell script in /etc/ directory with the name lsb-base-logging.sh and gave the shell script executable rights. ($ sudo chmod +x lsb-base-logging.sh) . After booting up with the new boot script I did not like it. (seemed more ugly than the default option). Now while I have removed the executable bit its still showing the ugly (or pretty as you look/feel it) modified bootup./etc$ ll lsb-base-logging.sh -rw-r--r-- 1 root root 1337 Aug 16 18:48 lsb-base-logging.shDo I need to completely remove the script for the default boot to come back.
View 1 Replies
View Related
Jan 14, 2010
My problem is that I can't disable checking mail after logging (communique "You have mail." or "No mail") in my system Debian 5."CheckMail" option in OpenSSH is now inaccessible.I tried to set "MAIL_CHECK_ENAB" option to no in /etc/login.defs but it doesn't work.I added "unset MAILCHECK" in /etc/profile but this doesn't work too.I tried to comment line "session optional pam_mail.so standard" in /etc/pam.d/login but it didn't help.
View 2 Replies
View Related
May 5, 2011
First of all - to refresh icon on desktop i've had to install gamin instead fam (after this, icons on desktop was refresh correctly). I don't know that have connection, but who knows. Anyway - my problem. Things marked as red are duplicated entries in menu. How to simple delete them? Menu are not refreshing too - i unmark "Inne" (Others) in alacarte, but it's still visible.
View 2 Replies
View Related
Jul 30, 2015
I'm having issues setting up rsyslog to receive syslog from another server and only log to one file. I'm receiving the syslog from the remote side, however its putting the entries into more than one log file.
I configured /etc/rsyslog.conf to enable udp, and I have implemented a filter to log only from that IP address, and then stop processing more rules, but it seems to continue on.
I have found that the remote syslog events are using local0 and local1. There are two custom rsyslog config files in /etc/rsyslog.d that handle those two facilities. If I use that same if statement at the beginning of those custom config files, I can get it to work. Seems like a hack though.
Not working:
I put my if statement before the include statement, thinking I could stop it from hitting the custom rules.
Code:
Select all# /etc/rsyslog.conf Configuration file for rsyslog v3.
#
# For more information see
# /usr/share/doc/rsyslog-doc/html/rsyslog_conf.html
#################
#### MODULES ####
#################
$ModLoad imuxsock # provides support for local system logging
$ModLoad imklog # provides kernel logging support (previously done by rklogd)
#$ModLoad immark # provides --MARK-- message capability
[Code] ....
This works:
A custom config file in /etc/rsyslog.d
Code: Select allif $fromhost-ip == '<my ip>' then /var/log/<my directory>/syslog.log
& ~
local0.* /var/log/<a log file for local0>.log
This is on a WD Mycloud device:
Code: Select allLinux WDMyCloud 3.2.26 #1 SMP Tue Jun 17 15:53:22 PDT 2014 wd-2.2-rel armv7l
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.
View 1 Replies
View Related
Mar 19, 2015
I have been using Debian for about 2 years now, I have decided to use my email through Evolution (actually both my live and Gmail accounts). Right now my problem lies with Gmail so I will just mention that...
Evolution simply does not accept my gmail password when I log in. I have gone through the whole "Evolution Setup assistance" many times, and whenever the setup is done, and I proceed to open up the program and actually log in to my email> I enter my password and click "ok", and then the same login screen simply flashes and asks me to enter my password again! This is the entire problem. I cannot go beyond the login screen, and evolution simply asks me to enter my password again, and again, while never logging me in. And yes, the password is correct as I use the very same one to log into gmail's web interface several times a day. Imap is also enabled in my gmail account.
I have used Gmail's imap and smtp configuration information from [URL]..... and it simply does not work, even though I put all the information into Evolution Correctly.
View 3 Replies
View Related
Jun 23, 2010
I know it's possible i did it once but i can't do it again...
I wanna try to fix the GRUB or whatever the problem is. The error messages after login are: Nautilus can't be used & the panel encountered a fatal error.
View 7 Replies
View Related
Sep 11, 2010
When I start a screen session over SSH, I can edit and save files from within the screen session before I log out of the SSH session. But after I log out and log back in, I find that the screen session has lost write privileges, so that I can no longer edit or create any files, even within my home directory. How do I prevent this from happening?
View 1 Replies
View Related
Mar 16, 2009
I've all of a sudden been getting permission denied for almost everything I try to do. Upon logging in, I get a huge amount of "/dev/null: Permission denied"
The only way I can manage to get to the terminal is by Ctrl-C. It never brings up the command line, unless I do that.
If I try to startX, I get errors, also saying permission denied, and then one that says
Code:
I also get many "failed" errors when booting, most of them saying that a file could not be found/located.
Check the thread link at the top for other information in the first post.
I could reinstall Debian, but the computer I am using is a Libretto 110CT (64MB RAM), which has only a PCMCIA drive, for which I have a USB port replicator. There is no CD drive.
It was also a custom install fitted for the computer, so I'd rather not have to set everything up again, nor would I know how to exactly, as I've never done it before.
View 7 Replies
View Related
Jul 25, 2011
I got a new dsl modem/router today and now for some reason I can't login into an ssh session using putty and windows using the hostname of the debian box. I can login using the ip though. Also, it seems I can still access the debian box via samba/windows explorer using the host name.
View 3 Replies
View Related
Dec 1, 2015
I'm trying to use these cookie cutter rules that I found. But every time I use them, after a few seconds my wifi connection goes dead. The exception was the first time I used then. Which lasted me a couple of minutes.
By dead I mean I can no longer open a webpage or ping google.
iptables -N LOGGING
iptables -A INPUT -j LOGGING
iptables -A OUTPUT -j LOGGING
iptables -A LOGGING -m limit --limit 2/min -j LOG --log-prefix "IPTables-Dropped: " --log-level 4
iptables -A LOGGING -j DROP
View 9 Replies
View Related
Jan 29, 2011
I've got a Shorewall (Shoreline?) firewall up and running, but it's logging to /var/log/messages. I'd much rather have it logging to another location e.g. /var/log/firewall but can't find (a clear enough) explanation on how to do this. Apparently, it varies greatly depending on the distro, the kernel, and the version of Shorewall that is running. You'd think it would be something as simple as setting a path in a config file, but apparently not. I'm running a stock Lenny kernel on the firewall machine. It comes with version 4.0.15 of Shorewall.
View 9 Replies
View Related
Oct 8, 2015
Some days ago (2015-09-28) I installed Debian testing amd64. Log in as a user failed and instead of the Gnome UI there was a sad face with the text: „Oh no! Something has gone wrong. A problem occurred and the system can't recover.
All extensions have been disabled as a precaution. Log out“.
The relevant output of journalctl (run as root) said:
etc/gdm3/Xsession[5379]: cannot connect to brltty at :0
- /etc/gdm3/Xsession[5379]: Service 'org.kde.kaccessibleapp' does not exist.
- gnome-session[5379]: x-session-manager[5379]: WARNING: Application 'gnome-shell.desktop' killed by signal 5
- gnome-session[5379]: x-session-manager[5379]: WARNING: App 'gnome-shell.desktop' respawning too quickly
- x-session-manager[5379]: Unrecoverable failure in required component gnome-shell.desktop
[Code] ...
After some investigating, I found three work-arounds.
(1) Use gdm3-autologin: In /etc/gdm3/daemon.conf, remove the double crosses and insert own user name
AutomaticLoginEnable = true
AutomaticLogin = <own user name>
Disadvantage: Only one user can have access to the Gnome ui. If you log out, you enter the gdm3 greeter and … see above.
(2) Turn off gdm3 by running 'systemctl stop gdm3' as root, log in into a terminal as a user and run startx.
(3) Install package lightdm and make it to the standard display manager with 'dpkg-reconfigure lightdm'.
Disadvantage: Energy manager and screensaver settings of the Gnome control center are ignored.
The easiest way, however, especially if there are several users, is logging in via the gdm3 greeter.
View 10 Replies
View Related
May 29, 2015
Tried doing Code: Select allsystemctl lxc stop but it hangs with no output. I've tried letting it go overnight, no luck.
strace on the systemctl pid shows:
Code: Select allppoll([{fd=3, events=POLLIN}], 1, NULL, NULL, 8
Tried lxc-stop on my containers and it just hangs as well. apt-file shows no lxc-kill package available.
I just want to restart my containers. Debian 8.
View 3 Replies
View Related
Feb 21, 2011
I can't spin down my internal windows SATA disk with sdparm anymore. It worked well in Lenny, but not in squeeze. The disk I'm trying to stop is not mounted or anything. Is this something udev related?
View 2 Replies
View Related
Apr 4, 2016
I'm running Debian 8.4 on a Lenovo W500 laptop and I recently upgraded from kernel version 3.2.0-4 to 3.16.0-4. Since then I encounter issues with lightdm (I suppose) which manifest themselves in two different scenarios:
1) scenario 1: lightdm fails to start.Instead of showing the graphical login screen, the system boots into terminal. Lightdm seems to be running, but I can't enter the X-Session (Alt+Ctrl+F7 doesn't work), nor can I restart the lightdm via
Code: Select all# service lightdm stop
# service lightdm start
dmesg shows the following (I've only pasted the end of dmesg):
Code: Select all[ 240.100071] INFO: task kworker/0:2:39 blocked for more than 120 seconds.
[ 240.106512] Not tainted 3.16.0-4-amd64 #1
[ 240.112956] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 240.119494] kworker/0:2 D ffff880155155a48 0 39 2 0x00000000
[code].....
and /var/log/lightdm/lightdm.log shows errors of type
Code: Select allGtk-CRITICAL: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed
when I then try to shutdown via
Code: Select all# shutdown -h now
the OS gets stuck on a message of the form
Code: Select allirq 17: nobody cared
and eventually I have to force a shutdown by holding the poweroff button.scenario 2: lightdm starts, but can't be stopped/In this case I can login and use the system as usual, but when I try to shutdown either via # shutdown -h now, or via the GUI or the power button, the system gets stuck and I have to force a shutdown by holding the poweroff button.It seems that people had similar issues on other distros (see e.g.: URL... but there doesn't seem to be a good fix so far. I can for now solve the issue by downgrading the kernel to 3.2.0-4, but I was wondering if there is a permanent fix.
View 6 Replies
View Related
Nov 8, 2010
I'd like to know if there's a way, an option or something that will allow me to keep my .desktop files in /usr/share/applications untouched when I upgrade their programs.For example, I only want Chromium to appear in XFCE (for all usersdded the OnlyShowIn=XFCE" option to its .desktop file. The problem is that aptitude upgraded Chromium and reverted its desktop file back to its original configuration. Of course, I went ahead and added the same option again, but I'd like to know if there's a way to changs behavior of aptitude. I don't want to imagine the work I'll have to do again when they release a new version of KDE in the repos and I have to edit all of those files again. searched the forums for ".desktop files" and also for "/usr/share/applications" and got no significant results in the first 10 pages. The same with google. I'd appreciate it if someone could point me in the right direction. Would it be a possible approach to add a directory to /etc/ to keep my settings fixed, the way there's an /etc/menu?
View 7 Replies
View Related
Jul 23, 2011
Well it turns out my system has logged out more then once on its own. I had the system updated and upgraded from 7-3-11 and it did this about once a week. On 7-18-11 I did a full update and upgrade and it logged out a few times in a couple of hours. It does it while I am away and the system is in screen saver mode. I used my partition clone and restored the system back to 7-3-11. Has any one else ever had such an issue?
View 2 Replies
View Related
Mar 29, 2010
I have same problem described here:
http://www.thinkwiki.org/wiki/Problem_w ... e_clicking
The command: #hdparm -B 254 /dev/hda -- works
Now, I should create:
an executable file named 00DISK in /etc/pm/sleep.d with the following content
View 1 Replies
View Related
Aug 24, 2011
I am trying to make a web server with debian 6 and i want a xfce dsektop when i need to open files,extract,navigate but to be able to turn it off when i dont need it (to save ressources).I already installed it with aptitude install xorg and aptitude install xfce.
View 4 Replies
View Related
Aug 4, 2015
I'm running a SuperMicro GPU server with nvidia GFX 750 card. Debian Sid with last update this morning. The server is far away from the screen. So i'm using 5m active USB 2.0 cable with one Belkin powered hub. All USB device work always correctly.
But sometimes, my keyboard (a logitech illuminated) doesn't work anymore. I need to disconnect and reconnect it. Backlight keep on but no key work. I can't change the numlock or caps lock too.
Apparently, this appear mainly (only?) when i use the keyboard (for shortcut or typing text in vim).
I've tried with and without autosuspend (setting manually or from GRUB).
View 0 Replies
View Related
Jun 11, 2011
I have just install debian squeeze in my old laptop (HP nx6120). Everything works fine except for the fan. When it boots up, the fan is really silent but after a few of minutes it starts working and doesn't stop at all. The CPU usage is low (1%) with 53MB/512MB of used RAM.This is how I install Debian:_ During the installation, I chose to install the "laptop" and "base system" categories (the last 2 categories of package)._ I use FluxBox as my graphical environment and Slim as login manager.I have Ubuntu installed before and it didn't happen so I think this is a configuration problem
View 1 Replies
View Related
Jul 3, 2015
I have installed debian jessie with debian first disk. During boot i see a service starts to raise network. It takes time. How can i stop it?
View 1 Replies
View Related
Sep 5, 2011
I have a Debian Etch machine that was given to me but when it boots up it executes a program that is located on my desktop.
I don't want to move or rename the program but would like to prevent it from starting when the machine starts. Anyone have any idea as to what file I need to edit in order to achieve this?
View 1 Replies
View Related