Jump to content
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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...