LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 07-17-2014, 12:40 PM   #1
Roy_SRC
Member
 
Registered: Jul 2014
Posts: 73

Rep: Reputation: Disabled
how do i login as root in salix 13.37


i recently ran the salix 13.37 LiveCD on VirtualBox but i can only login to "one" user account with no password but i can't seem to login to root.. when i type "root" as username and "live" as the password all i get is "The system administrator is not allowed to login from this screen". so how do i login as a root user with a GUI.thanks
 
Old 07-17-2014, 12:46 PM   #2
dolphin_oracle
Member
 
Registered: Dec 2013
Posts: 328

Rep: Reputation: Disabled
a lot of distributions do not allow you to log in as root, as many consider it to be bad practice. That said, you can run gui tools as root usually simply using the terminal, logging in as root with su, and then running whatever app you wanted. Depending on the system, you may also have ways to run apps as root from the command line. For instance, in antiX we have gksu installed by default. So if I wanted to run a file manager like spacefm as root, as could say

Code:
gksu spacefm
and I should get a prompt for authentication and entry of the root password.
 
Old 07-17-2014, 12:53 PM   #3
Roy_SRC
Member
 
Registered: Jul 2014
Posts: 73

Original Poster
Rep: Reputation: Disabled
i appreciate your reply but i was talking about salix
 
Old 07-17-2014, 01:55 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,870

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
The root password is "live", and as the message says you are not allowed to log in from that screen. If you need that, use another distribution. You can open a filemanager with: gksu thunar.
 
Old 07-17-2014, 02:11 PM   #5
Roy_SRC
Member
 
Registered: Jul 2014
Posts: 73

Original Poster
Rep: Reputation: Disabled
which live cd distro would you recommend to build LFS 7.5 with the requirements stated here
 
Old 07-17-2014, 03:14 PM   #6
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
Maybe you should back up and explain what it is you're trying to do here? Is your end goal to build LFS? If so, then why not use Salix? Or are you asking about compiling LFS because you don't believe Salix will let you do what it is you believe you need to do?

As was mentioned above, logging into the DE as root is a very, very bad idea, and is [almost] never required. Since it's not required and it's a terrible idea, just about all modern distros will block you from doing it, for your own good. There are plenty of ways to obtain root permission and do whatever it is you need doing, using command line tools or GUIs, without logging into the DE as root.

To answer your question "how do i login as root in salix", the answer is "you don't, not in salix or any other distribution, at least not from the login screen".

Last edited by suicidaleggroll; 07-17-2014 at 03:16 PM.
 
Old 07-17-2014, 11:12 PM   #7
Roy_SRC
Member
 
Registered: Jul 2014
Posts: 73

Original Poster
Rep: Reputation: Disabled
i'm just following the instructions as listed on this page.
 
Old 07-18-2014, 09:01 AM   #8
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
Which section says you need to log into the DE as root, because I'm not seeing it?
 
Old 07-18-2014, 09:24 PM   #9
sidzen
Member
 
Registered: Feb 2014
Location: Inland PNW
Distribution: slackware & related distros
Posts: 109

Rep: Reputation: Disabled
Boot to install disk of Salix 13.37 and proceed as if installing until reaching partitioning. Cancel the install, which will put you at the root prompt.
PHP Code:
mkdir /tmp/mainlinux 
PHP Code:
mount /dev/sda1 /tmp/mainlinux
PHP Code:
chroot /tmp/mainlinux passwd 
This will be your root password when rebooting from /dev/sda1 (your hard drive boot partition)

just passing it on as i learned it. your new directory may be named anything and placed elsewhere, but this works for me.

Last edited by sidzen; 07-18-2014 at 09:26 PM.
 
  


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] Need Help Creating a Salix Root Account obnascar Slackware 20 04-23-2015 10:40 PM
Can't boot Wary Puppy Linux anymore, login: root (automatic login) theADOLESCENT Linux - Newbie 9 09-16-2012 07:13 PM
Unable to login using root after changing root password using passwd command rodimail SUSE / openSUSE 3 12-27-2011 11:34 PM
Adding root privaliges to user accounts or auto login as root Val-Ent Linux - General 15 03-02-2010 05:27 PM
Gnome: Cannot login as default user, sends back to login, works as root Danny-T Linux - Newbie 2 05-27-2006 04:44 AM


All times are GMT -5. The time now is 07:08 AM.

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