LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 08-11-2005, 08:25 PM   #1
DDRfreak2
Member
 
Registered: Dec 2004
Posts: 61

Rep: Reputation: 15
Quick question. How do I log in as root.


I need to replace the old asound.state but to do that I need to be in root. How can I sign in as root on Mandriva 2005?
 
Old 08-11-2005, 09:15 PM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
In a terminal type
$ su -

For more info read "man su"
 
Old 08-11-2005, 09:56 PM   #3
DDRfreak2
Member
 
Registered: Dec 2004
Posts: 61

Original Poster
Rep: Reputation: 15
Not in Konsole. I want to log in as the root user.
 
Old 08-11-2005, 10:01 PM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by DDRfreak2
Not in Konsole. I want to log in as the root user.
Yes, in Konsole. It's just a front end to a real terminal. You issue
"su -"
and then type the root password. You will notice that your login
prompt changes from $ (normal user) to # (root). If this doesn't
work, you got another problem.
 
Old 08-11-2005, 10:46 PM   #5
DDRfreak2
Member
 
Registered: Dec 2004
Posts: 61

Original Poster
Rep: Reputation: 15
No, I mean I don't want to log in on Konsole. I want to log into the user account from when linux boots and not laod my account. I don't know how to move a file and run a paticular file through Konsole but I know how to do it through the GUI. But I don't know how to log in to the root account.
 
Old 08-11-2005, 11:35 PM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Are you saying you want to run your system as root? That's not recommended, and I wouldn't tell you. There are typically two accounts in a Linux system. The normal user account (i.e.
DDRfreak2) and the super user account (root). You should run your system as a normal user, and only use root priviledges for system administration.

As for as GUI goes, there are many Graphical User Interface(s) in your system. You might be talking about the X server, afaik.

If you don't know how to install programs from a terminal, now is a good time to learn. Jeremy has written a Linux Tutorial just for you.

And for some more reading about GUI programming ...

And perhaps a little discourse about running your box as root ...
http://userpages.umbc.edu/~jjasen1/unix/linux.html#3b
 
Old 08-12-2005, 12:01 AM   #7
abattoir
Member
 
Registered: Feb 2005
Distribution: Kubuntu 6.10
Posts: 313

Rep: Reputation: 30
@DDRfreak2
you can open a "gui" through konsole, just login as root and type 'konqueror', this opens konqueror (as root), so you can move,copy, delete files etc. I think this is what you mean.

However if you want to open kde as root log out of kde, and in the login screen type root and the password.

Still, if you want to boot up as root(and you definitely know what you are doing and are experienced enough). Open Mandrake Control Centre, and there there'd be an option for auto-login. Choose Root there.

If you are not experienced enough, like Chinaman said,booting as root is not recommended.
 
Old 08-12-2005, 12:19 AM   #8
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
If you want to be root from X just and want a CLI... just Ctrl + Alt + F2 and login as root...

If you want to always boot to CLI terminal then change your runlevel int inittab here:

vi /etc/inittab
change Init 5:
id:5:initdefault:
to:
id:3:initdefault:

KC
 
Old 08-12-2005, 09:54 AM   #9
DDRfreak2
Member
 
Registered: Dec 2004
Posts: 61

Original Poster
Rep: Reputation: 15
I know how to install a program through Konsole. I have done it before. I need to move a file.

Quote:
#


# Linux
These instructions on getting the high sample rate mode to work under Linux with ALSA were originally posted by Head-Fi member ADS at www.vandemar.org

Originally Posted by ADS:
In order to get the Chaintech AV-710 to run in high-res mode and use the superior Wolfson DAC, download the asound.state file here(mirror).
Copy this to your /etc/ directory as root, and run ‘alsactl restore'. This will enable the high-resolution jack. Notice that this will not mute the volume on your speaker outputs (unlike the windows version), so you can listen to your headphones and speakers at the same time. It's a fun effect, but you'll probably want to disable it. To do this, open up alsamixer and mute the ‘Master' and ‘Master Mono' controls. If you want your speakers muted by default, then after alsamixer run ‘alsactl store'. If still haven't figured out how to get the card into 96000 Hz sampling mode without problems, so if someone could get that to work I'd appreciate it. I know it has something to do with the ‘Multi Track Internal Clock' setting. To play around with it you can use ‘amixer cset numid=43′.
That us what I was trying to do. I got it so you have to type the user name to log on. I typed in root and then I got there. I overwrote the old file ect...

But I didn't run alsactl restore
I couldnn't find where it is. How do I run that in konsole? And where is aslamixer?
 
Old 08-12-2005, 03:21 PM   #10
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by DDRfreak2
But I didn't run alsactl restore
I couldnn't find where it is. How do I run that in konsole? And where is aslamixer?
When you read run "alsactl store" that means to open a terminal
and type "alsactl store" without the quotes and press enter. The
instructions you posted weren't clear on some things, though.

You run "alsamixer" in a terminal as a normal user, and that will
open the ALSA mixer. You can unmute it's sliders with the M key
on your keyboard, then turn the sliders up and down with the
up and down arrow keys. When you are finished adjusting your
mixer levels, press Esc to quit.

Then su to root in the terminal and issue "alsactl store" to save
your settings permanently.

Whenever you see a command to issue, such as "alsamixer" or
"alsactl" you can enter "man alsamixer" (i.e. "man <command>")
in a terminal and that will give you the manual page for that
particular command on a properly installed Linux OS.

So, to follow his instructions, you'll need to open a Konsole and
then type "su" and enter your root password. Then to move that
file you type "mv /path/to/asound.state /etc/" and then when it
returns to a prompt you type "alsactl restore" and then when it
returns to a prompt type "exit" to go from root to a normal user.
Then type "alsamixer" and adjust your sliders and then press Esc
to exit. Then su to root again and type "aslactl store" and this
will save your settings.

NB: You must run "alsamixer" as a normal user, and you must run
"alsactl restore" and "alsactl store" as root.
 
Old 08-12-2005, 09:47 PM   #11
DDRfreak2
Member
 
Registered: Dec 2004
Posts: 61

Original Poster
Rep: Reputation: 15
Thank you. But I did already move the file through KDE when looged in as root so I skipped that and just adjusted the sliders.
 
  


Reply



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
Quick log question AndyMCR Slackware 2 04-27-2005 04:47 AM
A Stupid Question... How do I log in as root? Scorlibrian Mandriva 9 01-16-2005 08:08 PM
Log Out root Then Log In As Other User xtremcoder Linux - General 4 10-04-2004 11:01 PM
quick question: boot log nakedjohn Linux - Newbie 2 06-18-2004 12:04 AM
Log on as Root, or switch to Root, in MDK 9.1 - KDE 3.1.0 snorky Mandriva 3 09-01-2003 12:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 11:39 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
Open Source Consulting | Domain Registration