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
ADVERTISEMENT
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
View Related
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
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
Jul 16, 2010
Cannot login as root or any user.
Message "xsession login to root disable".
View 6 Replies
View Related
Apr 4, 2009
Remote root login is enabled. How do I disable this
View 14 Replies
View Related
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
Feb 18, 2011
How to avoid/resolve this problem. after i input user/password the VNC screen will just have a cursor
View 1 Replies
View Related
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
Mar 6, 2010
My RHEL5 server is sync with NTP server. But we dont want to follow Day light saving. Is there any option to disable it. Like in windows you can uncheck the option if you dont want to follow day light saving.?
View 3 Replies
View Related
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
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
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
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
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
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
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
Nov 9, 2010
I have a running RHEL5 system, which has two physical disk drives, but is currently running on a single drive of the pair. The single drive the system is running on contains a root/boot partition and a swap partition. I would like to be able to add a mirror drive to this existing setup without having to disturb the running system (much). That is, I don't want to have to completely dump, reinstall (creating the mirror on the way up), and reload from backup media if I can avoid it. I have seen procedures that go as follows:
- the "extra drive" (the one not being used as the current root/boot device) is first brought under LVM control as a root object with one physical mirror attached.
- the data from the running root/boot drive is rsync-ed over to the LVM-controlled half-mirror, and boot records added.
- System rebooted on newly created half-mirror.
- Original root prepped to be second side of LVM mirrored root, and is added in.
Can one boot from an LVM disk directly? There seems to be some question on this that came up in other lists I had read online.
View 5 Replies
View Related
Jul 20, 2010
How to login as root in linux shell?
View 3 Replies
View Related
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
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
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
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
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
Mar 5, 2010
how to enable root login in ubuntu 9.10
View 7 Replies
View Related
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
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
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
Oct 12, 2009
I want to disallow root login on my RHEL Machine?
View 14 Replies
View Related
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