General :: How To Disable Root Login (Not Over SSH)

Nov 26, 2010

I have already disabled root login over the ssh by modifying /etc/ssh/sshd_config. But how would I disable root login on a server itself. We have implemented LDAP in our environment and our security guide states that root login must be obtained by first logging into the host using his/her own regular userid then gaining root privileges by using the SU.

Code:
# lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: EnterpriseEnterpriseServer
Description: Enterprise Linux Enterprise Linux Server release 5.2 (Carthage)
Release: 5.2
Codename: Carthage
[root@~]# uname -a
Linux TomcatServer 2.6.18-92.el5 #1 SMP Fri May 23 22:17:30 EDT 2008 i686 i686 i386 GNU/Linux

View 8 Replies


ADVERTISEMENT

General :: How To Disable Root Login In GUI (RHEL5)

Aug 6, 2009

Please let me know what configuration need to be made so that root user
will not be able to log in via gui.
I am aware that taking out tty? from /etc/securetty would result in root not able to log in via CLI modes.
Similarly what is the configuration needed to make that work in GUI.?

View 4 Replies View Related

General :: Disable Root Login To The Graphical User Interface?

Apr 15, 2010

Does any body knows how to disable the root login to the GUI , like i am running my redhat server on runlevel 5 and i dont need tht root to get login to the GUI , i ma talking about redhat 5.

View 2 Replies View Related

Debian :: How To Disable Root Local Login

Jun 23, 2011

I would like to know how can Debian prompt my user instead of the root account after booting.

View 2 Replies View Related

SUSE :: Xsession Login To Root Disable

Jul 16, 2010

Cannot login as root or any user.
Message "xsession login to root disable".

View 6 Replies View Related

Fedora Security :: Disable Remote Root Login?

Apr 4, 2009

Remote root login is enabled. How do I disable this

View 14 Replies View Related

Red Hat / Fedora :: Disable All User Console Login Except Root?

Jun 29, 2010

my linux system doesn't have X only console login possible. i would like to deny all user to login from any sources, local machine, remote console (putty, winscp) etc. except root.

i've found something about /etc/security/access.conf and i've put:

+ : root : ALL
- : ALL : ALL

but still users other then root are able to login (via putty for example).

View 2 Replies View Related

General :: Root Logins Are Not Allowed \ When Try To Login As Root, After Logging Out As User, It Does Not Allow?

Dec 2, 2010

i just installed linux mandriva 2009. i set password for root and created a user account. when i try to login as root, after logging out as user, it does not allow me and gives the error "root logins are not allowed". even it does not show the root account. if i try to go to root from konsole terminal using su root, it allows to enter as a root but when i try to start the GUI with startx it gives error.not sure what to do and why i can't see my account in GUI mode

View 5 Replies View Related

Debian :: Can't Change Permissions For The HDD Without Login On Root And Root Login Are Not Allowed?

Jun 16, 2010

How to enable Root login...i cant copy or move something on the HDD...I have administrator rights and password for root but i cant change permissions for the HDD without login on root and root login are not allowed .

View 10 Replies View Related

General :: Disable Local Login But Allow SSH?

Sep 11, 2010

Is it possible to disable logging in locally to a CentOS installation but still retain the ability to login via SSH? I will be installing a CentOS server in a remote site and don't want anyone trying to log into it

View 2 Replies View Related

General :: Disable Shutdown Button Or Option For Non Root Users?

Sep 9, 2009

i am using fedora 7. i want that, users other than root should not be able to shutdown the system, i had already changed the mode of /sbin/shutdown to -rwxr-w--(750)

View 5 Replies View Related

General :: Disable Boot Up And Login Sound In Ubuntu 10.04?

Jul 1, 2010

In Ubuntu 10.04, how do you disable the sounds that are played when the graphical login screen is shown, and after you login? There used to be a friendly System->Administration dialog to disable these, but every version seems to move everything around or simply drop useful features.

View 1 Replies View Related

General :: How To Disable Login Password Security In Ubuntu 10.04

Mar 18, 2011

I'm the only user of my PC and as of upgrading to 10.04, I get a login screen, that requests only a password, when the PC goes idle.

View 8 Replies View Related

General :: Disable Automatic Login 10.04 Everytime Computer Awakens?

May 10, 2010

ubuntu 10.04. My computer is left on all the time. My computer's screensaver comes on 10 minutes after last keystroke. Which is fine. However, when I return to use the computer and disengage the screensaver, ubuntu ALWAYS requires my password to continue. How do I stop ubuntu from asking me my password everytime I wake my computer up?

View 2 Replies View Related

General :: Disable - Non-root Shell Command To Find If A User Account Is Enabled Or Not?

Aug 10, 2011

Is there a non-root shell command that can tell me if a user's account is disabled or not? note that there is a fine distinction between LOCKING and DISABLED:

LOCKING is where you prepend ! or * or !! to the password field of the /etc/passwd file. On Linux systems that shadow the passwords, this marker flag may be placed in /etc/shadow instead of /etc/passwd. Password locking can be done (at a shell prompt) via password -l username (as root) to lock the account of username, and the use of the option -u will unlock it.

DISABLING an account is done by setting the expiration time of the user account to some point in the past. This can be done with chage -E 0 username, which sets the expiration date to 0 days after the Unix epoch. Setting it to -1 will disable the use of the expiration date.

The effect of locking to to prevent the login process from using a supplied password to hash correctly against the saved hash (by virtue of the fact that the pre-pended marker character(s) are not valid output character(s) for the hash, thus no possible input can ever be used to generate a hash that would match it). The effect of disabling is to prevent any process from using an account because the expiration date of the account has already passed.For my situation, the use of locking is not sufficient because a user might still be able to login, e.g. using ssh authentication tokens, and processes under that user can still spawn other processes. Thus, we have accounts that are enabled or disabled, not just locked. We already know how to disable and enable the account - it requires root access and the use of chage, as shown above.To repeat my question: is there a shell command which can be run without root privileges which can output the status of this account expiration info for a given user? this is intended for use on a Red Hat Enterprise 5.4 system.The output is being returned to a java process which can then parse the output as needed, or make use of the return code.

View 2 Replies View Related

General :: How To Login As Root In Shell

Jul 20, 2010

How to login as root in linux shell?

View 3 Replies View Related

General :: Can't Login As Root To FC12 GUI / Why Is So?

Apr 21, 2010

Why I cannot login as root to FC12 GUI? .. I already configured /etc/pam.d/gdm:

#auth required pam_succeed_if.so user != root quiet

but still problem..

could any body please advise, what I missed?

View 1 Replies View Related

General :: Unable To Login As A Root Through Ssh?

Mar 28, 2010

I'm not able to login as a root through ssh but i'm able to switch as a root user once i get into the Debian boxI already modified /etc/ssh/sshd_config to PermitRootLogin Yes and restart the ssh service

View 3 Replies View Related

General :: Cannot Get GUI Mode When Root Login

Jun 28, 2010

i want to do that whenever root is logged in he cannot get GUI mode,he only get text mode or virtual console mode.

View 6 Replies View Related

General :: Unable To Login As Root?

May 15, 2010

I am using CentOS. When i try to login as root using login command,i get the following:

Code:
[avi@localhost ~]$ login root
Password:

[code]...

View 12 Replies View Related

General :: Unable To Login As Root Through SSH?

Apr 13, 2011

I am unable to login as root to a linux machine through SSH. Login through console is working fine. SSH is not working only for root user. It is working fine for other users. I have checked the sshd_config file and it says:PermitRootLogin yesI'd be grateful if somebody can give an idea about what is going wrong.

View 15 Replies View Related

General :: Enable Ubuntu 9.10 Root Login?

Mar 5, 2010

how to enable root login in ubuntu 9.10

View 7 Replies View Related

General :: Unable To Do Root Login In Fedora 14

Feb 20, 2011

i am not able to do root login even from terminal also. I was trying to block remote login through this ........

>>How can we prevent the "root" account from remote logging in via SSH
>>and Telnet but still permit root-equivalent personal accounts to log in
>>remotely?

[code]....

after this i am not able to make root login from su as well.

View 1 Replies View Related

General :: Unable To Login As Root While To Use The Su Command?

Apr 3, 2011

I have a Linux machine which I set up for my personal use at home. I installed Fedora Core 11 a long time ago, and recently I noticed that I am not able to log in as root (I didn't realize this issue until recently since I always have been logging in as a user account that I created during the FC11 installation).When I login as a user account instead of root, I can use the su command with the password I set up for the root account. Even when I'm in GUI mode and try to make changes to the system from the user account, the GUI asks to enter the root password, and I type the password I set for root and it works. However, if I boot the machine and try to log in the system as root, password that I set up is rejected.

I'm very puzzled with this problem because with my limited knowledge on Linux system, I thought the root password and the su password are the same (i.e. when you install Linux OS, you set the root password, and you use the same password for using the su command). I do not know exactly when this problem started, but the only thing that I can think of as a cause of this issue is that I once changed the root password from GUI using System > Administration > Root password since the system one time complained about the low security strength of the root password.

View 6 Replies View Related

General :: Can't Login As Root In Gnom Centos5

Apr 22, 2010

i have recently installed gnom desktop on centos5 and i am having issue regarding login as root when i am in vnc session, i can login as root through ssh but in vnc desktop it keep asking me password if i try to access display control or install software options. secondly it is fixed resolution 600*800 and i dont know how to change it , i cant see the display setting with "system-config-display", it keep asking me root password :/ and when i give password it says incorrect

View 6 Replies View Related

General :: Disallow User To Login As Root?

Oct 12, 2009

I want to disallow root login on my RHEL Machine?

View 14 Replies View Related

General :: How To Lock Screen While Login As Root

Feb 20, 2011

I logged in as root. i want to activate screensaver which required password.
Installation version is RHEL 5 server. I have installed xlockmore-5.28-1.el5.rf.i386.rpm but when i run xlock comand in terminal window, it shows error e.g. libGL warning: 3D driver claims to not support visual 0x5b xlock: symbol lookup error: xlock: undefined symbol: DPMSQueryExtension

View 2 Replies View Related

General :: Login To Root Without Password (ubuntu 8.04)?

Sep 4, 2010

When I try to do

Quote:

sudo su root

The login is successful without prompting a password. This is dangerous. How am I going to avoid/disable this?

View 8 Replies View Related

General :: Passwordless Login In Using Ssh Via Non Root User?

Feb 12, 2010

I have been trying to establish a connection between two pcs via the ssh channel. I successfully made the connection as a root user, but when i tried as a non root user i had to type in the password the make contact with the other pc. how exactly does this passwordless login actually work?

View 3 Replies View Related

General :: Root Login Directly Into -bash-3.2#?

Mar 22, 2010

i am using fedora 10 while i login as a normal user its working fine username@hostname while i login as a root user it goes directly into -bash-3.2# if i check pwd it shows /root till now i am not facing any problem as i am using as a normal user but how can i change -bash-3.2# to root@hostname which file and where to edit

View 9 Replies View Related







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