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


ADVERTISEMENT

Security :: Sshd Not Working Properly \ System Has Only One User (root) Without Password?

Aug 10, 2010

I have a problem with sshd daemon on a target linux system:The system has only one user (root) without password.The sshd_config looks like:

Code:
Port 22
Protocol 2

[code]...

View 8 Replies View Related

Ubuntu :: Add A Custom Script To Execute When Logging And Shutting Down In Into A User Profile Like /home/test Or /root?

Oct 27, 2010

I am afraid to ask with so many things changing around in each new release.Where would one add a custom script to execute when logging and shutting down in into a user profile like /home/test or /root ?would this be rc.local?

View 2 Replies View Related

OpenSUSE Install :: 11.3 32bit Shutting Down And Rebooting?

Sep 30, 2010

I have installed Opensuse 11.3 32bit on my machine. Everything works except it will not reboot or shut down. I get as far as the lizard then it stops like It does not know how to. I run su user in terminal and give init 0 command and it will shut down. but init 6 just does the same as reboot above.

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

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

Ubuntu :: Rebooting Or Shutting-down Always Is Accompanied With A File Manager Not Responding Message?

May 28, 2011

I have installed 4 accounts on my acer aspire 4520 laptop. OS is natty (2.6.38-9-generic), 64 bit distro. Only on one account I can not access the directories / files placed on my desktop. Clicking on Places, in order to open My Documents, for example, does not work.Typing nautilus on the command line, gives the following output:uwe@koch-laptop:~$ nautilus

(nautilus:18297): Unique-DBus-WARNING **: Error while sending message: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.(nautilus:18297): Unique-DBus-WARNING **: Error while sending message: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.uwe@koch-laptop:~$ Removing and reinstalling nautilus solves the problem for that specific session, but not for the following.

Rebooting or shutting-down always is accompanied with a file manager not responding message.

View 4 Replies View Related

Ubuntu Security :: Why Few Firewalls To Prevent System

Jul 14, 2011

Windows have many firewalls to prevent the system. But Ubuntu have few. Why is it so? Is it not needed to prevent Ubuntu or if it is prevented?

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

Ubuntu Security :: Prevent Fork Bombs From Bringing The System To Grinding Halt?

Mar 18, 2011

So I am basically just curious about this, but is there a way to prevent fork bombs from bringing the system to grinding halt in Ubuntu, without setting hard limits on the resources available to users? I read about fork bombs on Wikipedia, and being the masochist I am (and not having any unsaved work), I tried entering those 13 characters into terminal. Wow. I have never seen a computer freeze up so fast.What really peaked my curiosity is that the same fork bomb has almost no effect on the performance of Mac OSX (10.6). I know that one can limit the availability of resources to specific users. Is that essentially what Snow Leopard is doing?

View 9 Replies View Related

Fedora :: Fedora 12 Hangs While Rebooting Or Shutting Down

May 24, 2010

Since i installed fedora 12 i cannot successfully shutdown or reboot my pc as was possible with fedora 11: i already tried with no luck with desktop button, the commands 'poweroff', the 'shutdown -h now' and the 'reboot' but the system go to the bliking cursor and hangs without powering off (and reboot while requested). And i have to hard poweroff the system... (GRRRR)If i go on the console I can only see the system terminating services and saying "halting system" and then hangs...

Now i have kenel 2.6.32.12-115.fc12.i686.PAE, but this problem happened with last 5 preceeding.I use the mjm installation guide since fedora 7 (or later) and i had the following HW (lspci).

View 3 Replies View Related

Ubuntu Security :: Can Ssh Into Root But Not User

Apr 22, 2011

Having trouble adding a regular user with ssh access on Hardy 8.04. I can ssh into root, but not into the newly created regular user with the same ~/.ssh/authorized_keys

Code:

sshd_config has:
AllowGroups sshlogin
AllowUsers user root

[code]....

what could be preventing ssh login to ~user? And yes I would like to disable root ssh access, but it would be nice to be able to ssh into user first

View 4 Replies View Related

Security :: Add Root Permissions To User ?

Jun 5, 2010

How do I add root permissions to my user account?

I want full permissions for all computers in my house, without having to get up and go to the other room and change permissions for the file, folder, drive, directory, computer, etc., then go back to the other room again.

I just created a partition, as THIS user, THIS machine, rebooted, and cannot create a folder on the partition I just created. UGH. No more of this stuff... I guess at the very least, I'll still have to log onto each machine for this?

View 12 Replies View Related

Security :: Run Su As A Non Privileged User To Log In As Root?

Aug 15, 2010

I am trying to run su as a non privileged user to log in as root. However, this only works when I make /etc/shadow world readable. I have /lib/security/unix_chkpwd as a setuid root executable

I use the following pam-file for su:

Code:
# Begin /etc/pam.d/su
auth sufficient pam_rootok.so
auth required pam_unix.so
account required pam_unix.so
session optional pam_mail.so

[Code]...

View 1 Replies View Related

Fedora Security :: Need To Login As Root User

Sep 8, 2009

I have a problem, I have installed Fedora 11. And i need to login as root user.
How to do so?

View 14 Replies View Related

Fedora Security :: Run Auditd As Non-root User?

Nov 2, 2009

Can the audit daemon (auditd) be run by a non-root user? I'd like to create a special user who only run the audit daemon. Is that possible?

View 1 Replies View Related

Security :: Ssh As Root To A Workstation And Then Run Commands As Another User?

Jun 10, 2009

Senario is we have a system where root has authorised keys set up so that it can do a passwordless ssh to $WORKSTATION. I then need to run a script on $WORKSTATION as user "bob" and NOT as user "root". I do not want to set up user "bob" to be allowed passwordless ssh so any ideas how I can do this?I have tried variations of (as user "root"):ssh $WORKSTATION "su - bob; ./my_script"

View 5 Replies View Related

Security :: Sudo Non-user/non-root Password?

Feb 19, 2010

Stumped on this one. I'm trying to set up limited sudo authority on a desktop with some sensitive user data, and as an extra precaution I wanted to configure sudo to use a password other than the user's or the root's. I'm not sure how to do this. From the manual, we have a few options, such as "runaspw" or "targetpw", but none seem quite what I'm looking for.For instance, "runaspw" could be used if I created a user for nothing other than sudo(ing) purposes, but it requires you set "runas_default", which means that said user would have to have authority to execute said commands in the first place. This is workable, but seems like a lot of extra configuration for each specific command that I want to run, as well as creating some issues with simply commands such as "shutdown" or "reboot". Also, "targetpw" can be used in conjunction with a sudo(ing)-only user if I set an alias, but, again, this isn't quite what I am looking for.

Ultimately, what I am really concerned about in this situation are keystroke loggers, so I would prefer to avoid repeated entering the user or root password when performing administrative tasks. Also, I would prefer not having to create a sudo(ing)-only user as mentioned above to prevent a comprimised password resulting in an attacker being able to log into my system.

View 3 Replies View Related

General :: Security - Let Any User Perform Administrative Tasks On A System Irrespective Of His / Her Privileges On That Particular System?

Sep 26, 2010

I often get responses from people who first say: "Are you sure? You want your network to be exposed to the outside world?" I am not experimenting on a Production Server of NASA or any Security Concern Department. Friends, there is no harm in experimenting on your personal computer or on a test computer which is isolated from the production environment. Look at hackers! What do they do? If they don't know how security is breached then how would they come up with security measures?

If my question reads... "How to let any user perform Administrative Tasks on a Linux System irrespective of his/her privileges on that particular system?" then I would not get the right answers in the first place. They will say... "You are letting everyone destroy your system... are you sure you want to do that?" My question is: Why should we restrict ourselves from experimenting even if it sounds weird to other people?

I give you an example where it is desirable to let an unprivileged user perform certain tasks. You want to know if there are any employees in your office who are storing videos in their home directory and filling up the disk space to a great amount. You have a department called "Command Center or Data Center Operations or Help Desk" call it whatever you would, whose work is to monitor such activities, and you create an account "monitor" for them to monitor such activities but they are not able to do them:

[Code]..

View 8 Replies View Related

Fedora Security :: How To Disable Root And User Password

Jan 12, 2009

It seem like unix abit annoying every time you log in you need to password can I disable it

View 10 Replies View Related

Ubuntu Security :: Root User Built-in Protections?

Jan 30, 2010

Any Linux machine (except PCLOS) that I log into as root user seems to not start networking. I haven't tried sudo /etc/init.d/networking restart , to see if it does start, because anytime I DO this, it's for 'local' work. How about default root user configuration settings???

View 2 Replies View Related

Ubuntu Security :: Risk With Automount As Root User

Jun 20, 2011

i want to know the risk with auto mounting flash drive as a root user,if for example there is a Usb Flash drive inserted into the system and we login into root unknowingly, and this flash drive contains an autorun script which calls a new script that can place viruses in your system, since you are in the root it will not even prompt for password and if the script is fast enough you will not even see it executing.

View 7 Replies View Related

Security :: Doesn't Access Root Passward From User Login

Nov 26, 2009

I get the problem to acess root password when i am in user login, means wahen i am in user login and want to install software from terminal then he asked root password, when i supplied root password but he give me login incorrect.

View 2 Replies View Related

Security :: SELinux Allow Non Root User Bind To Port <1024?

Oct 24, 2010

My understanding is SELinux adds type enforcement to standard Linux. This means that both the standard Linux and enhanced SELinux access controls must be satisfied to access an object. Which means that thing that is prevented to do in the normal standard Linux will be also prevented in the SELinux System? Does SELinux make it possible to run a non-root software to bind to a port < 1024? something that standard Linux won't allow? If not, what other suggestions do you have for allowing a program to run as non-root but able to bind to privileged ports? I know all about using the port re-direction such as ipchains, iptables.

View 4 Replies View Related

Ubuntu :: Suspend/hibernate Commands Freeze / Screen Turn To A Black Screen Without Shutting Down?

Jul 4, 2010

out of no where it seems ubuntu no longer wants to cooperate when suspending/hibernating. the screen will just turn to a black screen without shutting down. each time i have to maually power down my laptop.

View 1 Replies View Related

Security :: Su - Incorrect Password - When Logging As Wheel User And Trying To Access Root

Dec 18, 2010

I have tried to not allow root access and have created a wheel user.

Now I can not logged in as root.

Its okay but when am logging as wheel user and trying to access root then it says:

Code:

View 14 Replies View Related

Ubuntu :: 9.1 - System Did Not Put Root User

Jan 5, 2010

I started to use Ubuntu 9.1 today. It's the first version of linux I'm using. So my problem is that I always got a message in terminal, that says "are you root?", when I try to do something with apt-get. Well i tried to install a root, but it didn't work. One thing I almost forgot. Root is the Superuser that should be put on, when I installed the current version of ubuntu right? I don't understand how could it happen that the system didn't put the root on.

View 2 Replies View Related

Ubuntu Security :: Actions Requiring Root Privileges Asks For Wrong User ?

May 24, 2011

In our group we use NIS and have a group set up called netadmin which is given root privileges on each machine. Each machine also has a localuser called localuser created and used during installation. When logged in as a member of netadmin, attempting any action that requires root privileges (e.g. installing software in Ubuntu Software Center) results in a prompt asking for localuser's password, not the current user's password.

Does anyone know the cause? Configuration issue or Ubuntu issue? We can get around it.

View 2 Replies View Related

Security :: Resetting Root Password In Suse In Single User Mode & Rescue

Jul 14, 2009

When I go to single user mode for resetting root password, It ask root pawssword for login.The message displayed on prompt is "Give root password for login.On the boot prompt, I select kernel and press 'e' and after one space type 1 for single User mode and then press 'b' for booting.It shows message entering in single user mode but ask root password. Even I tried into rescue mode, but I couldn't ser root password.In rescue mode on prompt, It shows rescue login: I typed root, But when typed 'passwd' foe resetting root pawssword,It shows message unknown user and not authetication.

View 1 Replies View Related

Debian :: No User Can Get Access To System Except Root

Jun 18, 2010

I have a system running with few users and servers (apache/mysql/postfix). After extracting one tar archive in '/home' none of my users are being able to access their home directory. Even other system users (like www-data/mysql) are also not being able to access any directory. Only root can access the system. I have checked file permissions, many files/directories are set to 777 rest are 755.

View 5 Replies View Related







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