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-04-2005, 07:11 PM   #1
WkWk
LQ Newbie
 
Registered: Aug 2005
Distribution: Mandrake 10.1
Posts: 6

Rep: Reputation: 0
root user & su


I have an issue,
I recently installed Mandrake 10.1 on a box in command line form, so no gui.
I decided to select the 'high' security option which is fine for the most part except I have to su to root to do anything (which is fine).
The box needs to have the root user enabled as I need to scp some files to & from it nightly & I need it to be able to login as root.

So how do I enable loging in as the root user directly from the command prompt?

Any help would be appreciated.
regards,
Will
 
Old 08-04-2005, 08:57 PM   #2
sekelsenmat
Member
 
Registered: Apr 2005
Location: São Paulo - Brazil
Distribution: Mageia Linux 1
Posts: 353

Rep: Reputation: 30
Re: root user & su

Quote:
Originally posted by WkWk
[B]I have an issue,
I recently installed Mandrake 10.1 on a box in command line form, so no gui.
I decided to select the 'high' security option which is fine for the most part except I have to su to root to do anything (which is fine).
You shouldn´t have. You should install Mandrake with the lowest possible security. This is the recomended one for a desktop, you should only choose another if you are trying to set up a server or you know what you are doing.

Quote:
The box needs to have the root user enabled as I need to scp some files to & from it nightly & I need it to be able to login as root. So how do I enable loging in as the root user directly from the command prompt?
You really should rethink what you are trying to do, because loging in as root on a UNIX environment is not desirable or normal.
 
Old 08-04-2005, 09:20 PM   #3
WkWk
LQ Newbie
 
Registered: Aug 2005
Distribution: Mandrake 10.1
Posts: 6

Original Poster
Rep: Reputation: 0
It is a server, I am asking a question which I require the answer to.
I do not require advice on security matters thank you anyway.
Back to my original question can I configure root user to be able to log in? & if so how.
 
Old 08-05-2005, 12:34 AM   #4
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Rep: Reputation: 30
At risk of sounding like a real dumbass, I'll ask, does typing the word root and giving root's password at the login prompt not work? Something tells me I don't understand the question............I was not aware you could disable the ability to log in as root.
 
Old 08-05-2005, 12:46 AM   #5
WkWk
LQ Newbie
 
Registered: Aug 2005
Distribution: Mandrake 10.1
Posts: 6

Original Poster
Rep: Reputation: 0
No it doesn't allow you in.
Yes Mandrake does not allow you to log in as root directly if you select the high security option when installing.
Nor does it allow ssh access directly by root either.

You must define a user, login as that user & the su (super user) to the root account. Which is fine, but I need to be able to login as root to do certain things as this pc is a backup server & I need to scp (secure copy) files from it. To do this I would like to be able to log in as root.

I can set it up so that a scp these files and login as a user, but for the sake of this operation it would be better if I find a way to enable the logon of root directly.
 
Old 08-05-2005, 01:31 AM   #6
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Rep: Reputation: 30
perfect, a dumbass I shall be tonight LOL. I have no experience with servers or ssh, but I'm usually not too bad at googling.

How about this?

Edit the /etc/ssh/sshd_config file and set the PermitRootLogin parameter to yes

Thread edit: found a possibly good article for you
http://www.askdavetaylor.com/how_do_..._with_ssh.html

Last edited by Lakota; 08-05-2005 at 01:34 AM.
 
Old 08-05-2005, 01:48 AM   #7
WkWk
LQ Newbie
 
Registered: Aug 2005
Distribution: Mandrake 10.1
Posts: 6

Original Poster
Rep: Reputation: 0
Thank you for your reply, your help is appreciated
will try this when I get a chance it may solve it may not but willing to give it a shot.
 
  


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
Normal & Root User sobia Linux - Security 7 10-03-2005 02:18 AM
Scanner to work as USER and not forced as ROOT Root (Suse 9.1) 1kyle Linux - Hardware 0 07-10-2004 08:51 AM
Root & user logins : Passwords? Why not encryption keys instead? furfurdemon666 Linux - Security 4 07-02-2004 09:17 AM
IntelliMouse thumb buttons work as root, broken as non-root user, wheel works always digital vortex Linux - Hardware 7 03-02-2004 04:14 PM
same desktop 4 root & user dzt Linux - Newbie 6 10-22-2003 07:54 PM

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

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