Software :: Prevent A User To Log In?

May 11, 2011

Formerly I add a user to the file "/etc/ssh/sshd_config" and run service sshd reload, so that this user can login.Now the user is gone and I have to block this user. I did as follow:1. Take out the user name from "/etc/ssh/sshd_config" and run 'service sshd reload' again. But this user can still log in.

View 3 Replies


ADVERTISEMENT

Server :: Prevent Ssh Connection For A User?

Jun 9, 2009

I have a user name is nicole. I want to prevent ssh connection for this user. How can i prevent ssh connection for this user?

View 9 Replies View Related

Security :: Prevent Same User Ssh To The Multiple Server

May 23, 2010

how to prevent same user from ssh to multiple linux server at a same time , anyone of you have the script or how to do that ?

View 16 Replies View Related

General :: Prevent Root User From Editing Log Files (/var/log/*)

Feb 10, 2011

what if the root user by mistakenly stops/starts any service and tried to remove those traces from the log files and save those log files. Then how can we ensure that our log file is trusted. Is there any way where even the root(superuser) also cant edit/modify the contents of the /var/log/* files.

View 2 Replies View Related

Ubuntu :: Prevent Nomal User To Reboot/shutdown?

May 15, 2010

i searched the forum about this subject, i found many post but nothing useful. i also wonder why a normal user is not prompted to authenticate as root to perform these tasks. i thought the file /etc/sudoers but i don't think this is the point. i tried the group "shutdown" but does not exist. i read that this is expected in ubuntu server so it should exist even in the desktop version, i guess.

View 3 Replies View Related

General :: Prevent A User From Seeing A File In A Directory Listing?

May 3, 2011

I have, for example, a folder called "MyFolder" and it contains 3 files: MyFile1, MyFile2, MyFile3. The only file that I do NOT want a particular user/group to even see that it exists is, for exmple, MyFile2.So, when they do a directory listing on MyFolder, they should only see MyFile1 and MyFile3. How can this be done in Linux? The important thing is that it is not just preventing them from "executing" MyFile2, but to prevent them from even knowing that it exists by not including it in a directory listing.This is a simpified example using one file, but in reality, I have lots of files and some of those that I want to block are also subfolders.It is very important for me to hide the existence of certain files/folders when the user does a directory listing. It's also important that the files stay in their current folder (that is, I can't use a workaround which requires moving all the files into a separate folder and then securing that folder).

View 4 Replies View Related

Software :: Prevent User From Deleting Files On Pureftpd?

Feb 20, 2010

Code:- '-K': Allow users to resume and upload files, but *NOT* to delete or renamethemDirectories can be removed, but only if they are empty. However,overwriting existing files is still allowed (to support upload resume) . Ifyou want to disable this too, add -r (--autorename) .This is pretty much what I want to do, but I only want this done to ONE user on the server. I have many user accounts, but only one of them I want to prevent users from issuing the "delete" command and deleting everything.

View 2 Replies View Related

Ubuntu :: Prevent System / Gnome To Show User Name(s) At Login Screen?

May 22, 2010

Is there a way to prevent ubuntu/gnome to show the user name(s) at the login screen?

Only asking "username" and not "login as"?

View 3 Replies View Related

Security :: Prevent A Non-root User From Shutting Down, Rebooting Or Suspend The System?

Mar 3, 2010

I'm using Gnome and I'd like to still have the ability to reboot/shutdown from one particular account as well as root. How would I modify the chmod command to add this ability?Also, I have a few users who just will hold the power button in to shutdown the machine. How can I keep them from doing this?// Pruned from the vintage 2007 Prevent a non-root user from shutting down, rebooting or suspend the system thread. Please create new threads instead of resurrecting ancient ones.

View 2 Replies View Related

Fedora :: How To Prevent Lockout

Jun 26, 2011

I know I need a better title, but don't have one.

The problem is when watching a video F15 Gnome decides to send me to the unlock screen. Think that's what it's called. So I have to type in my pass.

A little bit later, same thing. So how can I prevent it from happening?

View 2 Replies View Related

General :: How To Prevent VNC From Swapping HD

Apr 6, 2010

Actually I'm not sure that it's swapping like mad: I've done more testing and it looks like there may some interference causing the noise that may be correlating with network usage. I'm accessing a MacMini (with MacOS X 10.4) from my Linux machine using VNC. My Linux machine has 4 GB of ram and I run a lot of various apps on it and I've got no issue at all. It's all snappy and don't hear the hard disk swapping/read/writing too often. Now with VNC, the hard disk is swapping like mad. When I'm moving things on the OS X desktop. So I was thinking of creating a ramdisk and forcing the temp VNC files to go into that ramdisk but the problem is I can't find any temp files.

I've attempted to do that:
#!/bin/bash
while [ true ]
do
lsof | grep vnc
done

The VNC version I'm using is this one:
$ vncviewer -version
VNC Viewer Free Edition 4.1.1 for X - built Jan 30 2009 19:33:16
Copyright (C) 2002-2005 RealVNC Ltd.
No matter how much data is coming from the Mac, there should be plenty of memory (4 GB of ram) so there's really no reason to swap like crazy.

View 1 Replies View Related

General :: Prevent CDs Autorun ?

Jan 9, 2010

My linux prevent CDs autorun! i wanna know what to do?

View 1 Replies View Related

Software :: Prevent DNS DoS Attack?

May 30, 2010

I have configured a DNS server on my RHEL 5.0 machine.

I have just come across a term Denial-of-Service attack (DoS attack) or Distributed Denial-of-service attack (DDoS attack).

how can I prevent my DNS server from DoS attacks.

View 5 Replies View Related

CentOS 5 :: How To Prevent Update From 5.3 To 5.4

Oct 23, 2009

when I am doing a "yum update" I receive now a long list (~94MB) because of the latest CentOS 5.4 release.I am running CentOS 5.3 on a virtual machine (virtuozzo) and had already problems to install 5.3 before. To not lose the installation I do not want to update to 5.4 but of course I want to get all updates for 5.3.How can I configure my CentOS 5.3 to update the server only with 5.3 patches/releases and how to prevent it to update to 5.4?

View 7 Replies View Related

Debian :: Prevent Grub-pc From Linking To Other OSs?

Oct 25, 2010

I want to prevent grub-pc from automatically creating links to other operating systems on my laptop. Whenever there is a kernel update, grub.cfg ends with links pointing at my Windows 7 installation - I want to get rid of those links. At the moment I am doing that by manually editing the grub.cfg file and it has always worked that way. I tried to force grub-pc to avoid creating links to Windows by renaming the relevant scripts in /etc/grub.d edbarx@edbarx-pc2:/etc/grub.d$ ls 00_header  05_debian_theme  10_linux  20_linux_xen  _30_os-prober  _30_otheros  40_custom  41_custom  README As you can see I added an underscore to the files that I don't want to be executed.

I think this can be solved by changing the file permissions of the unwanted scripts making them impossible to execute.

edbarx@edbarx-pc2:/etc/grub.d$ ls -l
total 52
-rwxr-xr-x 1 root root 6433 Aug  7 18:10 00_header
-rwxr-xr-x 1 root root 1474 Jul 16 18:46 05_debian_theme
-rwxr-xr-x 1 root root 4252 Aug  7 18:10 10_linux

[Code]....

View 11 Replies View Related

Fedora Networking :: Prevent FF From Access Web ?

Apr 29, 2009

I'll spare the details, but is there a way to use iptables to do the following:

Allow all port 80 traffic to work for squid, yum ,etc. but prevent firefox from talking to port 80?

(That way if they don't use squid proxy, it won't work)

View 4 Replies View Related

Fedora :: Prevent Email Being Sent As Domain Name?

Jun 11, 2010

Some body is using my domain name [URL] and sending spam emails to users from his server using my domain name. how to prevent this.

View 3 Replies View Related

Fedora :: Prevent Display From Turning Off?

Jun 17, 2011

I searched and only got the screen program, and the drop down menu only shows options from 1 min to 1 hour.

View 6 Replies View Related

Fedora :: Prevent F From Going To Sleep / Hibernate?

Jun 17, 2011

I there anyway to prevent Fedora from going to sleep / hibernate.

View 1 Replies View Related

OpenSUSE Hardware :: Get Wedged And Prevent It?

Jan 1, 2010

How do I get wedged and how to prevent it
Dec 26 15:33:36 linux-k9cr kernel: [12130.034091] [drm:i915_gem_execbuffer] *ERROR* Execbuf while wedged
Dec 26 15:33:36 linux-k9cr kernel: [12130.034601] [drm:i915_gem_execbuffer] *ERROR* Execbuf while wedged
Dec 26 15:33:36 linux-k9cr kernel: [12130.043483] [drm:i915_gem_execbuffer] *ERROR* Execbuf while wedged

or does this require a bug report

View 2 Replies View Related

General :: Prevent Find - Du - Ls -R From Caching?

Jul 11, 2010

I'm currently copying a large number of files over a network. To monitor progress, I tried running watch du. However, the output never changed (or not much, not sure). find . -type f | wc -l always gives me the same number of files as does ls -R. It seems, these programs use caching, which is, in general, a good thing. Does anyone know, though, how cache usage could be controlled? I'm on an Archlinux system and I'm working on an ext4 fs on an encrypted hd.

View 4 Replies View Related

General :: Prevent Ctrl+Alt+F1 Switching Off From X?

Jan 28, 2011

How to change this sequence to, for example "Ctrl+Fn+F1" or temporarily disable it?@related: How to send Ctrl+Alt+F1 to window (to switch terminal remotely, not locally)?

View 1 Replies View Related

General :: Prevent RC Commands From Running?

Mar 17, 2011

I am running a shell script from a rc file in Linux. The shell script is going into a loop which runs for 8 hours. Now I want to prevent the shell script from running when Linux boots or I need to find a way to kill the shell script when it is running. I tried using killall, kill $! and Ctrl+C etc. Nothing seems to work. Can you suggest a way out. I am new to Linux.

View 2 Replies View Related

General :: How To Prevent A Process Starting

Jul 7, 2011

I have synergyc process that starts at boot. How do I prevent this process from starting? I've searched /etc, /etc/init.d for some configs or scripts but found nothing.

View 2 Replies View Related

Ubuntu :: How To Prevent A Diskcheck At Startup

May 8, 2010

I installed 10.04 LTS with great succes on my very old compac armada 500 laptop, but experience the problem of the hanging diskcheck at startup at regural intervals. I read this is a reported bug. My question is: is there any file or methot by which I can prevent diskcheck from running at startup, or put the frequency of running at a very very large number at least until the bug is fixed ?

View 3 Replies View Related

Ubuntu :: Prevent The System From Powering Off

Jun 25, 2010

Ubuntu randomly switches off. I eventually found out that it happens when my system is over loading. If my memory goes up to 100% use or CPU, Ubuntu powers off. If there some software that I can download to prevent my system from using 100% of its power, so it doesn't power off?

View 1 Replies View Related

Ubuntu :: Prevent Mounting Of Internal HDD?

Jul 27, 2010

I have a machine with Windows XP installed on the HDD. I intend to install Ubuntu on a USB memory stick so that I can insert it into a USB slot and boot from that instead. What I would like to do though is to prevent it having access to the existing internal hard drive. It sounds as if it should be easy but I ca find a lot about mounting devices but not preventing auto-mounting.

View 2 Replies View Related

Ubuntu :: Prevent HDD Repair On Boot?

Aug 25, 2010

I installed Ubuntu to use ddrescue to clone my dying drive and keep the log.Now the question is:Does Ubuntu really try to repair a corrupt NTFS disk during boot?If so, how can I change this behaviour, including any disks attached to the system in future?I had a similar question for the live cd, I think it should be easier now, as we can configure the system.Btw am I the only one to think an 'auto repair' by default is no good without asking for permission? It's something I dislike on Windows. A corrupt structure is likely a hardware problem, and in this case a repair can terribly damage the file system.

View 2 Replies View Related

Ubuntu :: Prevent Certain Applications From Use Of ALSA?

Sep 5, 2010

How can I prevent a certain application from having access to ALSA. It keeps stealing my audio.

View 1 Replies View Related

Ubuntu :: Prevent Idle Script

Sep 7, 2010

I need a script to prevent the laptop becoming idle, because if I don't move the mouse a few seconds everything stops. I tried everything so please don't ask about the problem.There is such a script or someone can create one for me?

View 1 Replies View Related







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