LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-28-2013, 09:15 AM   #1
beholdafrica
LQ Newbie
 
Registered: Feb 2013
Posts: 1

Rep: Reputation: Disabled
Smile Ubuntu server


please can somebody help me to activate my root account on my ubuntu server?
thank you.
 
Old 02-28-2013, 09:19 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
You don't "activate" it, there is no such thing.

You *CAN* create a root password for it but this is WRONG and you should NOT do this.

If you want to become root, just run "sudo -i" and enter YOUR password. That is the Ubuntu model, Don't break it.
 
1 members found this post helpful.
Old 02-28-2013, 09:19 AM   #3
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,028

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
the root account should be created during install.

you should seldom (read: never) login as root; you should probably be using sudo to run certain commands with root privileges.

please provide more info.
 
1 members found this post helpful.
Old 02-28-2013, 11:24 AM   #4
gasmth8
LQ Newbie
 
Registered: Oct 2005
Location: Crestwood, KY
Posts: 12

Rep: Reputation: 0
Wink Ubuntu Server, Being 'root'

I have a follow on question to this:

I'm trying to install a Lexmark printer driver. I got the correct one from the manufacturer. While running the program from the GUI it asks for a 'root password'. I type in the password and it is disallowed. However I know that this is the correct one because I use it all the time for other software updates, etc. I'm going to try to invoke the program via terminal using the 'sudo' construct and see if it will accept it that way. Is this the correct approach?

Ubuntu 12.10 is an awesome distro. I'm having much fun using it and recently it has supplanted my Windows 7 usage entirely. I've tried others in the past to a small degree and this one is miles ahead.

Regards,
Gary
 
Old 02-28-2013, 11:37 AM   #5
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,028

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
i think it mite be that ubuntu's sudo is weird. try using the regular users passwd.

i never got my lexmark x5470 printer to work in fedora (i think lexmark has poor linux support compared to hp).
 
1 members found this post helpful.
Old 02-28-2013, 12:10 PM   #6
gasmth8
LQ Newbie
 
Registered: Oct 2005
Location: Crestwood, KY
Posts: 12

Rep: Reputation: 0
That is the exact printer I'm trying to install. What do you mean 'regular' password?
 
Old 02-28-2013, 02:28 PM   #7
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,028

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
use the passwd for username you are currently logged in as (instead of the root passwd).

else, maybe that user has to be in /etc/sudoers ?
 
Old 02-28-2013, 02:33 PM   #8
gasmth8
LQ Newbie
 
Registered: Oct 2005
Location: Crestwood, KY
Posts: 12

Rep: Reputation: 0
>passwd for username you are currently logged in as (instead of the root passwd).

I always log in using this same password when I first turn on the machine. If there are any updates indicated available for the distribution, it asks me for a password and I enter this one. The updates proceed without a hitch at this point.

Is this password considered to be different from 'root'?
Do you designate a 'root' password in a seperate action?
Should I be making a restricted user profile and logging onto this instead?
 
Old 02-28-2013, 02:49 PM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,872

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
gasmth8:

Most Linux distributions during installation ask the user to create a user and set a password. They also have the user set a root password.
What is being said is that Ubuntu and its derivatives do not do this. You create a user during installation and set a password. When you want to do root/administrative tasks that require root privileges in Ubuntu, you are asked for a password and that password is the user password you created during isntallation. You can add other users and give other users root privileges also.

There isn't any need to set a separate root password although you can.
 
3 members found this post helpful.
  


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
LXer: Install and Configure Samba Server as File Server on Ubuntu Server 12.04 LXer Syndicated Linux News 0 06-06-2012 01:01 PM
LXer: How to upgrade from Ubuntu 10.04, 10.10 to Ubuntu 11.04 Natty Narwhal | Desktop & Server LXer Syndicated Linux News 0 04-01-2011 05:00 AM
Ubuntu Server Vs. Ubuntu Desktop for home file server rhodes50 Ubuntu 28 12-19-2010 09:22 AM
Vmware server on Server 2008 and Ubuntu Server leblinux Linux - Virtualization and Cloud 1 04-30-2010 05:35 PM
LXer: The Perfect Server - Ubuntu Hardy Heron (Ubuntu 8.04 LTS Server) LXer Syndicated Linux News 0 04-27-2008 07:50 AM


All times are GMT -5. The time now is 02:39 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