where is the Administor in Ubuntu Linux?

  • Follow


Hi all,

I downloaded the installation file 6.06.1 from KUbuntu from KUbuntu website.

It was a live CD and I liked it so click on the "install" button.

It installed, asking me 6 very basic questions, and the installation is all 
done automatically.

During the 6 questions, I've created a user account. That part is fine.

But where is the password and account for "administrator"?

I found that I could not use "root" to log in ...

What's wrong? 


0
Reply michael.monkey.in.the.jungle (97) 9/19/2006 6:55:09 PM

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Michael wrote:
> Hi all,
>
> I downloaded the installation file 6.06.1 from KUbuntu from KUbuntu website.
>
> It was a live CD and I liked it so click on the "install" button.
>
> It installed, asking me 6 very basic questions, and the installation is all
> done automatically.
>
> During the 6 questions, I've created a user account. That part is fine.
>
> But where is the password and account for "administrator"?
>
> I found that I could not use "root" to log in ...
>
> What's wrong?

Nothing is wrong. Ubuntu doesn't do administrative things the "normal"
way, that's all   :-)

Instead of providing a "root" logon, Ubuntu configures /etc/sudoers so
that the first defined user can "sudo" to perform root activities. The
password that "sudo" will ask for will be the /users/ password, not the
root password.

So, if during the Ubuntu installation, you said that the first user was
named
  Michael
and had a password of
  Archangel
then /etc/sudoers will be set up to permit user Michael to sudo, and
will expect Michael's "Archangel" password to work.

FWIW, to have a "root shell",
  sudo /bin/bash

HTH
- --
Lew Pitcher


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32) - WinPT 0.11.12

iD8DBQFFEEU7agVFX4UWr64RAt5iAJsHUtp8m64DSgBHJ91+cWaJH0GrFgCg4N71
LQDaB5enZVky2OaNf4J43+A=
=iHrJ
-----END PGP SIGNATURE-----

0
Reply lpitcher (679) 9/19/2006 7:30:08 PM


On Tuesday 19 September 2006 20:55, Michael stood up and addressed the
masses in /comp.os.linux.misc/ as follows...:

> Hi all,
> 
> I downloaded the installation file 6.06.1 from KUbuntu from KUbuntu
> website.
> 
> It was a live CD and I liked it so click on the "install" button.
> 
> It installed, asking me 6 very basic questions, and the installation is
> all done automatically.
> 
> During the 6 questions, I've created a user account. That part is fine.
> 
> But where is the password and account for "administrator"?

The account "Administrator" only exists on Windows.  UNIX system
administrator are normally called /root,/ although it _is_ possible to
rename that to something else... if you know what you're doing.

> I found that I could not use "root" to log in ...

That is correct.

> What's wrong?

Nothing's wrong.  Ubuntu/Kubuntu/Xubuntu set up their distro so that the
root user does not have a password, and without a password, he can't log
in.  

However, the first of the created user accounts should normally be set up
with /sudo/ rights, i.e. this user can use...

        sudo <command>

.... to run <command> with root privileges.  It is possible that you may have
to enter a password upon invoking /sudo/ - I'm not sure how Ubuntu sets it
up - but if that is the case, you only need to supply the password of your
own user account, and only once every five minutes or so.  /sudo/ remembers
the password for a short time and then times out for security reasons.

-- 
With kind regards,

*Aragorn*
(registered GNU/Linux user #223157)
0
Reply stryder (1498) 9/19/2006 7:37:10 PM

Lew Pitcher a �crit :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> Michael wrote:
>> Hi all,
>>
>> I downloaded the installation file 6.06.1 from KUbuntu from KUbuntu website.
>>
>> It was a live CD and I liked it so click on the "install" button.
>>
>> It installed, asking me 6 very basic questions, and the installation is all
>> done automatically.
>>
>> During the 6 questions, I've created a user account. That part is fine.
>>
>> But where is the password and account for "administrator"?
>>
>> I found that I could not use "root" to log in ...
>>
>> What's wrong?
> 
> Nothing is wrong. Ubuntu doesn't do administrative things the "normal"
> way, that's all   :-)
> 
> Instead of providing a "root" logon, Ubuntu configures /etc/sudoers so
> that the first defined user can "sudo" to perform root activities. The
> password that "sudo" will ask for will be the /users/ password, not the
> root password.
> 
> So, if during the Ubuntu installation, you said that the first user was
> named
>   Michael
> and had a password of
>   Archangel
> then /etc/sudoers will be set up to permit user Michael to sudo, and
> will expect Michael's "Archangel" password to work.
> 
> FWIW, to have a "root shell",
>   sudo /bin/bash
> 
> HTH
> - --
> Lew Pitcher
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (MingW32) - WinPT 0.11.12
> 
> iD8DBQFFEEU7agVFX4UWr64RAt5iAJsHUtp8m64DSgBHJ91+cWaJH0GrFgCg4N71
> LQDaB5enZVky2OaNf4J43+A=
> =iHrJ
> -----END PGP SIGNATURE-----
> 

Hello,

root cannot log in because he has no password.

If you really need it : sudo passwd root

By this way you can setup a root password and log in.

bye

LKM
0
Reply none 9/19/2006 7:43:33 PM

On Tue, 19 Sep 2006 11:55:09 -0700, Michael wrote:

> Hi all,
> 
> I downloaded the installation file 6.06.1 from KUbuntu from KUbuntu website.
> 
> It was a live CD and I liked it so click on the "install" button.
> 
> It installed, asking me 6 very basic questions, and the installation is all 
> done automatically.
> 
> During the 6 questions, I've created a user account. That part is fine.
> 
> But where is the password and account for "administrator"?
> 
> I found that I could not use "root" to log in ...
> 
> What's wrong?

Nothing is 'wrong' - that is the way it is set up. You use 'sudo' to do
admin tasks.

0
Reply ray65 (5398) 9/19/2006 10:02:57 PM

On Tue, 19 Sep 2006 11:55:09 -0700, Michael mumbled:
> Hi all,
>
> I downloaded the installation file 6.06.1 from KUbuntu from KUbuntu website.
>
> It was a live CD and I liked it so click on the "install" button.
>
> It installed, asking me 6 very basic questions, and the installation is all 
> done automatically.
>
> During the 6 questions, I've created a user account. That part is fine.
>
> But where is the password and account for "administrator"?
>
> I found that I could not use "root" to log in ...
>
> What's wrong? 
>
>
Nothing, have a look at the Ubuntu documentation.

	 1. Ubuntu has no root account.
	 2. You should not need one
	 3. man sudo
	 
hth

-- 
Simon.                                                         (^_^)

TIP: Proofread carefully to see if you any words out.
=====================================================================
0
Reply tux (40) 9/19/2006 11:41:50 PM

On 2006-09-19, Simon Jones wrote:
> On Tue, 19 Sep 2006 11:55:09 -0700, Michael mumbled:
>> Hi all,
>>
>> I downloaded the installation file 6.06.1 from KUbuntu from KUbuntu website.
>>
>> It was a live CD and I liked it so click on the "install" button.
>>
>> It installed, asking me 6 very basic questions, and the installation is all 
>> done automatically.
>>
>> During the 6 questions, I've created a user account. That part is fine.
>>
>> But where is the password and account for "administrator"?
>>
>> I found that I could not use "root" to log in ...
>>
>> What's wrong? 
>>
>>
> Nothing, have a look at the Ubuntu documentation.
>
> 	 1. Ubuntu has no root account.

   Not true.

> 	 2. You should not need one

   Not true.

> 	 3. man sudo

   Good.

   Ubuntu, like every Linux system has a root account. Unlike most
   distros, they do not give it a password. Most of the time it's not
   necessary to log in as root. When necessary, you use sudo and/or su
   to execute a command as root, or to become root, and that can be
   done without a password.


-- 
   Chris F.A. Johnson, author   |    <http://cfaj.freeshell.org>
   Shell Scripting Recipes:     |  My code in this post, if any,
   A Problem-Solution Approach  |         is released under the
   2005, Apress                 |    GNU General Public Licence
0
Reply cfajohnson (1783) 9/20/2006 12:03:11 AM

Simon Jones writes:
> Ubuntu has no root account.

Ubuntu has a root account.  Root login is disabled.
-- 
John Hasler 
john@dhh.gt.org
Dancing Horse Hill
Elmwood, WI USA
0
Reply john4584 (1601) 9/20/2006 12:18:25 AM

"Chris F.A. Johnson" <cfajohnson@gmail.com> writes:

>On 2006-09-19, Simon Jones wrote:
>> On Tue, 19 Sep 2006 11:55:09 -0700, Michael mumbled:
>>> Hi all,
>>>
>>> I downloaded the installation file 6.06.1 from KUbuntu from KUbuntu website.
>>>
>>> It was a live CD and I liked it so click on the "install" button.
>>>
>>> It installed, asking me 6 very basic questions, and the installation is all 
>>> done automatically.
>>>
>>> During the 6 questions, I've created a user account. That part is fine.
>>>
>>> But where is the password and account for "administrator"?
>>>
>>> I found that I could not use "root" to log in ...
>>>
>>> What's wrong? 
>>>
>>>
>> Nothing, have a look at the Ubuntu documentation.
>>
>> 	 1. Ubuntu has no root account.

>   Not true.

If there were no root account, the system would rapidly scream to a halt. 
root is needed to run a huge number of programs, including login. 

Look in /etc/passwd.



>> 	 2. You should not need one

>   Not true.

>> 	 3. man sudo

>   Good.

>   Ubuntu, like every Linux system has a root account. Unlike most
>   distros, they do not give it a password. Most of the time it's not
>   necessary to log in as root. When necessary, you use sudo and/or su
>   to execute a command as root, or to become root, and that can be
>   done without a password.

su cannot be done without a password, unless you have your system totally
unsecure. sudo can be used, but if you open sudo so wide that you can do
everything you need to do as root, then there is absolutely no advantage to
using sudo.

While there may be some modicum of reason in forcing use of sudo, it is a
very very small modicum. 



0
Reply unruh-spam (2581) 9/20/2006 1:13:06 AM

"none" <""lakeman\"@(none)"> wrote in message 
news:4510486f_6@news.bluewin.ch...
> Lew Pitcher a �crit :
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>>
>> Michael wrote:
>>> Hi all,
>>>
>>> I downloaded the installation file 6.06.1 from KUbuntu from KUbuntu 
>>> website.
>>>
>>> It was a live CD and I liked it so click on the "install" button.
>>>
>>> It installed, asking me 6 very basic questions, and the installation is 
>>> all
>>> done automatically.
>>>
>>> During the 6 questions, I've created a user account. That part is fine.
>>>
>>> But where is the password and account for "administrator"?
>>>
>>> I found that I could not use "root" to log in ...
>>>
>>> What's wrong?
>>
>> Nothing is wrong. Ubuntu doesn't do administrative things the "normal"
>> way, that's all   :-)
>>
>> Instead of providing a "root" logon, Ubuntu configures /etc/sudoers so
>> that the first defined user can "sudo" to perform root activities. The
>> password that "sudo" will ask for will be the /users/ password, not the
>> root password.
>>
>> So, if during the Ubuntu installation, you said that the first user was
>> named
>>   Michael
>> and had a password of
>>   Archangel
>> then /etc/sudoers will be set up to permit user Michael to sudo, and
>> will expect Michael's "Archangel" password to work.
>>
>> FWIW, to have a "root shell",
>>   sudo /bin/bash
>>
>> HTH
>> - --
>> Lew Pitcher
>>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.3 (MingW32) - WinPT 0.11.12
>>
>> iD8DBQFFEEU7agVFX4UWr64RAt5iAJsHUtp8m64DSgBHJ91+cWaJH0GrFgCg4N71
>> LQDaB5enZVky2OaNf4J43+A=
>> =iHrJ
>> -----END PGP SIGNATURE-----
>>
>
> Hello,
>
> root cannot log in because he has no password.
>
> If you really need it : sudo passwd root
>
> By this way you can setup a root password and log in.
>
> bye
>
> LKM

No, it does not allow me to log in with username "root" and the passwd I've 
set using

sudo passwd root

Stupid Ubuntu.. 


0
Reply michael.monkey.in.the.jungle (97) 9/20/2006 8:10:45 AM

* "Lew Pitcher" <lpitcher@sympatico.ca>
| FWIW, to have a "root shell",
|   sudo /bin/bash

FWIW, "sudo -i" also gives you an interactive root session.

R'
0
Reply ralfixx (1239) 9/20/2006 8:30:06 AM

In the sacred domain of comp.os.linux.setup, Lew Pitcher <lpitcher@sympatico.ca> didnst hastily scribble thusly:
> FWIW, to have a "root shell",
>  sudo /bin/bash

Or if you want to make that more permanent and loginable, add /bin/bash to
the UID0/root line of /etc/passwd in the shell field.
(First thing I'd do)
Oh, and type passwd
and set a password.

I don't like distros trying to change the way I use my computer.
-- 
|                          |What to do if you find yourself stuck in a crack|
|  spike1@freenet.co.uk    |in the ground beneath a giant boulder, which you|
|                          |can't move, with no hope of rescue.             |
|Andrew Halliwell BSc(hons)|Consider how lucky you are that life has been   |
|           in             |good to you so far...                           |
|    Computer Science      |   -The BOOK, Hitch-hiker's guide to the galaxy.|
0
Reply spike1 (8165) 9/20/2006 8:30:35 AM

["Followup-To:" header set to comp.os.linux.misc.]
On Wed, 20 Sep 2006 01:10:45 -0700, Michael 
  <michael.monkey.in.the.jungle@gmail.com> wrote:
>
> No, it does not allow me to log in with username "root" and the passwd I've 
> set using
>
> sudo passwd root
>
> Stupid Ubuntu.. 
>
You shouldn't log into a GUI as root.  You should be able to log into 
one of the consoles ctrl-alt-F1 to ctrl-alt-F6.


-- 
Dinosaurs aren't extinct.  They've just learned to hide in the trees.
0
Reply bmarcum (929) 9/20/2006 1:59:20 PM

Bill Marcum a �crit :
> ["Followup-To:" header set to comp.os.linux.misc.]
> On Wed, 20 Sep 2006 01:10:45 -0700, Michael 
>   <michael.monkey.in.the.jungle@gmail.com> wrote:
>> No, it does not allow me to log in with username "root" and the passwd I've 
>> set using
>>
>> sudo passwd root
>>
>> Stupid Ubuntu.. 
>>
> You shouldn't log into a GUI as root.  You should be able to log into 
> one of the consoles ctrl-alt-F1 to ctrl-alt-F6.
> 
> 
Indeed I forgot this small point of detail.
It is only for the consoles :))

If you want to log into KDE with root anyway,  I think you can.

edit /etc/kde3/kdm/kdmrc
set AllowRootLogin=true  (false by default for security)

I did't try this ...

It's highly disadvised to connect with root.
Use a "normal user" account, and only when you need it, uses su or sudo 
commands.

Bye

LKM
0
Reply none 9/20/2006 7:08:45 PM

On Wed, 20 Sep 2006 01:10:45 -0700, "Michael"
<michael.monkey.in.the.jungle@gmail.com> wrote:

>No, it does not allow me to log in with username "root" and the passwd I've 
>set using
>
>sudo passwd root
>
>Stupid Ubuntu.. 

Try this (worked for me):  First, boot into runlevel 1 (from the grub
menu, select the edit ("e") option and append a "1" to the "kernel"
line; then boot the result).  That should get you to a bash console as
root.  From that command line just type "passwd" and it will prompt
you for a root password.  After you set the password here, type "exit"
to get to the default runlevel (2) and you should be able to log in as
root at the text login prompts (ctrl-alt-f1, etc.).
0
Reply moon.whaleshark.balloon (26) 9/22/2006 7:31:21 AM

14 Replies
36 Views

(page loaded in 0.392 seconds)

Similiar Articles:


















7/26/2012 8:24:24 AM


Reply: