Jump to content
  • Announcements

    • spinynorman

      Mandriva Official Documentation

      Official documentation for extant versions of Mandriva can be found at doc.mandriva.com.   Documentation for the latest release may take some time to appear there. You can install all the manuals from the main repository if you have Mandriva installed - files are prefixed mandriva-doc.
    • paul

      Forum software upgrade   10/29/17

      So you may have noticed the forum software has upgraded !!!
      A few things that have changed. We no longer have community blogs (was never really used) We no longer have a portal page.
      We can discuss this, and decide whether it is needed (It costs money) See this thread: Here
Sign in to follow this  
Guest The Doc

Finding Hard Links/Login Gui as root

Recommended Posts

Guest The Doc

Pretty straight forward.

Mandriva 2011

I am looking for the script(syntax) that will find all the hard links in the "/sbin" directory.

The commands should include...find, grep, | (pipe), and search the inodes.

 

This is a disposable installation that is on it's own hard drive and I have a lot of work to do exploring the file system. It would be really nice to log in to the GUI as "root:UID-0" for this work. I know this is not recomended (to say the least) for a newbe that cares about security and stability of the system. imagine...su root(password) cd / rd -r /* :-) I can't find the active kdmrc file :-(

Thanks

 

 

Update I found it :lol2: It is at...

Mandriva 2011

/usr/share/config/kdm/kdmrc change to "allowrootlogin=true"

 

"""WARNING""" Other users are right this feature makes it so easy to instantly shoot yourself in the foot, you can literally delete the operating system right out from underneath you. I dare you to login as root GUI--open Dolphin file manager--right click on the boot directory-choose move to trash--confirm--then restart system :wall: :D Hope you have Mr backup or are prepared for a nightmare. Also root GUI login leaves the system exposed to cyber attacks. The best policy when using this feature is """GET IN--BE CAREFULL--GET OUT"""

 

The easiest way is to open up a terminal and authenticate as root "su root". navigate to the directory "cd /usr/share/config/kdm/" then to be on the safe side I made a backup

"cp kdmrc kdmrcbak" then execute the extrnal program authenticated as root by typing "kwrite"

within kwrite navagate to the directory and and choose open kdmrc. Make the modification and choose save. Just for pickyness kwrite creates a temp file that it does not remove, you can remove it from the terminal or from dolphin file manager once you login as root GUI.

Edited by The Doc

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×