LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-12-2011, 12:36 AM   #1
nandu neerukonda
LQ Newbie
 
Registered: Jun 2011
Location: Pune
Posts: 18

Rep: Reputation: Disabled
Exclamation How to unlock root


Hi

I am using antiX Linux, in which I could not login through root from runlevel5 (startx).
However, I can use root useraccount in runlevel3 or through LinuxTerminal(CLI) in runlevel5.

Could anyone help me how to unlock root account so that i could login throgh runlevel5?

Thanks
Nandu.
 
Old 11-12-2011, 12:51 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,090

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
root login to the gui has been disabled in most distros for a long time

you DO NOT log in as root to a gui

use "su"or "su -" or "sudo"
 
Old 11-12-2011, 01:17 AM   #3
nandu neerukonda
LQ Newbie
 
Registered: Jun 2011
Location: Pune
Posts: 18

Original Poster
Rep: Reputation: Disabled
Yeah, even i observed this....
But there should be a way to unlock this right?
We do still have this working in RedHat Linux...
 
Old 11-12-2011, 01:21 AM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Quote:
Originally Posted by nandu neerukonda View Post
Yeah, even i observed this....
But there should be a way to unlock this right?
We do still have this working in RedHat Linux...
Hi,

And which is the first thing I disable if installing any distro that has it enabled. Best is to use, as already pointed out, sudo or su. The biggest advantage in my opinion is that by using sudo you at least have a trace of what you did in your logs (/var/log/secure for RH).

Kind regards,

Eric
 
Old 11-12-2011, 02:28 AM   #5
Michael22Orr
LQ Newbie
 
Registered: Nov 2011
Posts: 2

Rep: Reputation: Disabled
I am using an anti linux too is there something that I did that gives the restriction on logging on this SW?

Thanks
 
Old 11-12-2011, 02:45 AM   #6
rahulkya
Member
 
Registered: Feb 2009
Location: New Delhi
Distribution: Linux mint,Ubuntu,Debian,RHEL 5,slackware 13.1, free BSD,solaris.
Posts: 186
Blog Entries: 3

Rep: Reputation: 33
I have no experience of antiX linux. But this one works for UBUNTU
Quote:
sudo passwd
This will ask for your passwd or your sudo passwd....
this will unlock root's password..

now if this works you can easily do
Quote:
su -
 
Old 11-12-2011, 05:18 AM   #7
anticapitalista
Member
 
Registered: May 2005
Location: Greece
Distribution: antiX using herbstluftwm, fluxbox, IceWM and jwm.
Posts: 362

Rep: Reputation: 98
If you really want to login to desktop as root user, then simply copy over the ~/.xinitrc file to root folder.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to unlock (Luks) encrypted root, during boot, when key-file is on USB?? pizzar0 Slackware 2 10-22-2011 07:14 AM
can I unlock the root account? newbiesforever Ubuntu 24 09-28-2009 12:27 PM
unlock a root folder? Twister512 Slackware 1 01-11-2009 05:15 PM
Unlock root Dektop folder through Live-CD dgiik Linux - General 1 02-26-2007 05:13 PM
Can unlock screen with root password in my user account - want to change this sm1 Linux - Newbie 2 07-24-2005 05:54 AM


All times are GMT -5. The time now is 10:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration