Fedora Linux Support Community & Resources Center
  #1  
Old 7th February 2010, 09:01 PM
geltdavid Offline
Registered User
 
Join Date: Feb 2010
Posts: 4
linuxfedorafirefox
How can I log in as root in F12 LiveDVD?

Hi all,

I have downloaded the livecd-creator and used the fedora 12 base and desktop from spin-kickstarts package to build a custom spin. I have added only two packages SDL and FTGL to the desktop kickstart, everything else is the same.

Everything works fine, but I can not login as root when the log in GUI is displayed. If I change the .. root quiet entry in /etc/pam/pam.d file I can log in after rebooting, but that is not an option because I have to use the DVD on many machines each day. The liveuser is working but that's not what I need.

Is there any way that I can log in as root by changing the kickstart file only?

Thanks a lot.

David
Reply With Quote
  #2  
Old 7th February 2010, 09:08 PM
scottclin Offline
Registered User
 
Join Date: Jul 2008
Location: Wellington New Zealand
Posts: 12
linuxfedorafirefox
If I am not mistaken you can use sudo on the live cd so to become the root user you need to sudo su?
Reply With Quote
  #3  
Old 7th February 2010, 09:13 PM
smurffit's Avatar
smurffit Offline
Registered User
 
Join Date: Dec 2009
Posts: 190
linuxfirefox
root should not login on X!

Login as live user and make a root-terminal:
Code:
/bin/su -
__________________
Linux Registered User #503365 :)
Reply With Quote
  #4  
Old 7th February 2010, 09:21 PM
Dies Offline
Registered User
 
Join Date: Oct 2006
Posts: 4,752
linuxubuntufirefox
Quote:
Originally Posted by smurffit View Post
root should not login on X!
...
Give me a break, it's a live session, so what if it gets owned.
Quote:
Originally Posted by geltdavid View Post
...
Is there any way that I can log in as root by changing the kickstart file only?
...
There may be an easy way, but the only way I can think of is for you to script it yourself.

Though if all you want is the liveuser is to have "root"-like priviledges you may be better off using PolicyKit to allow any action for the user, it would be much easier that's for sure, you just make the user part of the desktop_admin group.
Reply With Quote
  #5  
Old 7th February 2010, 09:22 PM
geltdavid Offline
Registered User
 
Join Date: Feb 2010
Posts: 4
linuxfedorafirefox
Login as live user and make a root-terminal:
Code:
/bin/su -
[/QUOTE]

I am sorry, I didn't make myself clear. I want to change either base or desktop.ks files so that I can create a LiveDVD where I can log in as root using the GUI screen where the users are listed (LiveUser, Other User...), not after the GNOME session is started.

If I use sudo only the Terminal session will know about the root, but the File Browser and some other programs won't allow me to open folders or files that belong to root.

Thanks anyway.
Reply With Quote
  #6  
Old 7th February 2010, 09:26 PM
scottclin Offline
Registered User
 
Join Date: Jul 2008
Location: Wellington New Zealand
Posts: 12
linuxfedorafirefox
Why not navigate to those loactions using the root terminal? cd and a console based text editor should be enough to do what you want? Like he said loging in as root into the window manager is a bad practice. You should learn to live without it. man pages are your friend.
Reply With Quote
  #7  
Old 7th February 2010, 09:33 PM
geltdavid Offline
Registered User
 
Join Date: Feb 2010
Posts: 4
linuxfedorafirefox
Quote:
Originally Posted by scottclin View Post
Why not navigate to those loactions using the root terminal? cd and a console based text editor should be enough to do what you want? Like he said loging in as root into the window manager is a bad practice. You should learn to live without it. man pages are your friend.
I know it is not recommended but this is a local network with no Internet or external access.

The thing is I need to use also a GUI program and if I try to open files that belong to root using that program I can't.

---------- Post added at 01:33 PM CST ---------- Previous post was at 01:31 PM CST ----------

Quote:
Originally Posted by Dies View Post
Give me a break, it's a live session, so what if it gets owned.

There may be an easy way, but the only way I can think of is for you to script it yourself.

Though if all you want is the liveuser is to have "root"-like priviledges you may be better off using PolicyKit to allow any action for the user, it would be much easier that's for sure, you just make the user part of the desktop_admin group.
I will look into the second part. I was hoping that there is a kickstart file that has that.

Thank you very much.
Reply With Quote
  #8  
Old 7th February 2010, 09:37 PM
scottclin Offline
Registered User
 
Join Date: Jul 2008
Location: Wellington New Zealand
Posts: 12
linuxfedorafirefox
Can you run the program as root from the root terminal?
Reply With Quote
  #9  
Old 7th February 2010, 09:48 PM
AlexDudko Offline
Registered User
 
Join Date: Mar 2007
Location: Ukraine
Posts: 381
linuxfedorafirefox
Use full root:
Quote:
su -
then
Quote:
nautilus
Reply With Quote
  #10  
Old 8th February 2010, 02:16 AM
geltdavid Offline
Registered User
 
Join Date: Feb 2010
Posts: 4
linuxfedorafirefox
Quote:
Originally Posted by scottclin View Post
Can you run the program as root from the root terminal?
I didn't thought of that. I will try to do su - and then try to run the program.

Thank you very much.

---------- Post added at 06:16 PM CST ---------- Previous post was at 06:16 PM CST ----------

Quote:
Originally Posted by AlexDudko View Post
Use full root:

then
I will try that. Thank you very much.
Reply With Quote
Reply

Tags
f12, livedvd, log, root

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gnobsd LiveDVD on Pent IV 2.4 SlowJet Linux Chat 1 5th February 2010 11:05 AM
F10 x86_64 LiveDVD boot error emilmgeorge Installation and Live Media 2 14th February 2009 11:25 AM
FC8 LiveDVD respin boot issues abstractism Installation and Live Media 4 29th February 2008 11:17 PM
Turn the regular DVD into a LiveDVD? Thetargos Fedora Focus 2 31st July 2007 10:08 PM
jigdo FC-6-x86_64 LiveDVD Unity 20061024 lazlow Using Fedora 1 17th March 2007 07:33 PM


Current GMT-time: 06:11 (Tuesday, 18-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat