Re: Forbid root to log in X

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Dear Colleagues,
> 
> I am using Fedora Core 2 with KDE and GNOME. I would like to know
> whether it is possible to prevent root to log in them and if it is
> what configuartion should I make?
> 

The file 
      /etc/securetty 
says where (which ttys) Root is allowed to login from.  
If you remove all the entries you should take care of "login"

For ftp (actually vsftpd) there is a file
      /etc/vsftpd.ftpusers
that lists those who are NOT allowed to login in (root is already there)

and Im sure that if you look at the documentation for sshd there
must be an option there to disallow root access.

With all of these, if a user has succeeded in loging in locally, he
will still be able to su to root.


-- 
                                        Reg.Clemens
                                        reg@xxxxxxx



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux