FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 11-30-2010, 08:34 AM
yatheesh y
 
Default how to log in as root on desktop

i am new to ubuntu

When i am installing ubuntu i have entered password what is that ?

how can i get root privilages without login as root

thank you

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-30-2010, 08:41 AM
Colin Law
 
Default how to log in as root on desktop

On 30 November 2010 09:34, yatheesh y <yatheeshlib@gmail.com> wrote:
>
> i am new to ubuntu
>
> When i am installing ubuntu i have entered password what is that ?
>
> how can i get root privilages without login as root
>

You use the sudo command. As a beginner with Ubuntu you might find
the manual at http://ubuntu-manual.org/ useful. This is aimed at
beginners. It refers to version 10.04 (the latest is 10.10) but that
should not be much of an issue.

Colin

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-30-2010, 08:56 AM
Tapas Mishra
 
Default how to log in as root on desktop

On Tue, Nov 30, 2010 at 3:11 PM, Colin Law <clanlaw@googlemail.com> wrote:
> On 30 November 2010 09:34, yatheesh y <yatheeshlib@gmail.com> wrote:
>>
>> i am new to ubuntu
>>
>> When i am installing ubuntu i have entered password what is that ?
>>
>> how can i get root privilages without login as root
>>
>
> You use the sudo command. *As a beginner with Ubuntu you might find
> the manual at http://ubuntu-manual.org/ useful. *This is aimed at
> beginners. *It refers to version 10.04 (the latest is 10.10) but that
> should not be much of an issue.
sudo passwd root
this will ask you first the password of your current account
then you can enter a new password which you would like root to have.
Then if ever you need to be root open terminal
su -
and should ask your password as you entered above.
By default Ubuntu does not give a GUI to root.

Reading manuals is useful but only when you have time and energy for it.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-30-2010, 08:57 AM
Scott Stevenson
 
Default how to log in as root on desktop

On Tue, Nov 30, 2010 at 03:04:28PM +0530, yatheesh y wrote:
> i am new to ubuntu
>
> When i am installing ubuntu i have entered password what is that ?
>
> how can i get root privilages without login as root
>
> thank you

The password you entered when you installed Ubuntu was for your user
account (Ubuntu doesn't set a root password [1]). If you want to execute
a command with root privileges, prefix the command with `sudo'. For
example, to execute the command `foo' as the current user you'd type

$ foo

into the terminal (Applications > Accessories > Terminal). To execute
the same command with root privileges, type

$ sudo foo
[sudo] password for (your username here):

where sudo is asking for _your_ user's password, not the root password.
You can learn more about sudo by typing

$ man sudo

into the terminal.

[1] https://help.ubuntu.com/community/RootSudo

--
Scott Stevenson <scott@ecubyx.com>
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-30-2010, 09:00 AM
Tapas Mishra
 
Default how to log in as root on desktop

On Tue, Nov 30, 2010 at 3:04 PM, yatheesh y <yatheeshlib@gmail.com> wrote:
>
> i am new to ubuntu
>
> When i am installing ubuntu i have entered password what is that ?
>
> how can i get root privilages without login as root
I forgot mention in previous mail did you forget the account password
that you had set while installing.
Are you asking as how to login to single user mode ?
If that is the case when you boot your machine then upon grub you
should see some lines about which
Ubuntu, with Linux 2.6.32-25-generic (recovery mode)

choose the recovery mode and there you scroll down to the prompt which
asks you to give root shell.

There you can change the passwd of your current account.
Open a file known as /etc/passwd and at the bottom of it you will see
your username which you had set while installing.
Then passwd command is used to change passwd.
Since in this method you already have a root shell so you can change
the passwd if you forgot.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-30-2010, 09:02 AM
Alan Pope
 
Default how to log in as root on desktop

On 30 November 2010 09:56, Tapas Mishra <mightydreams@gmail.com> wrote:
> sudo passwd root

Please don't suggest people do that without at least making an
_attempt_ to explain the implications of doing so. We don't recommend
it.

https://help.ubuntu.com/community/RootSudo

"Enabling the root account is rarely necessary. Almost everything you
need to do as administrator of an Ubuntu system can be done via sudo
or gksudo. If you really need a persistent root login, the best
alternative is to simulate a root login shell using the following
command...

sudo -i"

> Reading manuals is useful but only when you have time and energy for it.
>

Yeah, why read a manual when you can get fast, duff advice on-line for
no effort whatsoever!

Al.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-30-2010, 09:12 AM
Tapas Mishra
 
Default how to log in as root on desktop

On Tue, Nov 30, 2010 at 3:32 PM, Alan Pope <popey@ubuntu.com> wrote:
> On 30 November 2010 09:56, Tapas Mishra <mightydreams@gmail.com> wrote:
>> sudo passwd root
>
> Please don't suggest people do that without at least making an
> _attempt_ to explain the implications of doing so. We don't recommend
> it.
What are the implications of doing so let us know.
Some of us may benefit out of it.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-30-2010, 09:16 AM
Alan Pope
 
Default how to log in as root on desktop

On 30 November 2010 10:12, Tapas Mishra <mightydreams@gmail.com> wrote:
> What are the implications of doing so let us know.
> Some of us may benefit out of it.
>

Observe the http link in my previous mail.

Al.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-30-2010, 05:53 PM
Mark
 
Default how to log in as root on desktop

On Tue, Nov 30, 2010 at 2:16 AM, Alan Pope <popey@ubuntu.com> wrote:
> On 30 November 2010 10:12, Tapas Mishra <mightydreams@gmail.com> wrote:
>> What are the implications of doing so let us know.
>> Some of us may benefit out of it.
>>
>
> Observe the http link in my previous mail.
>
Ahem - don't you mean, "follow" the link...?

:-)

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 11-30-2010, 06:01 PM
Mark
 
Default how to log in as root on desktop

On Tue, Nov 30, 2010 at 2:02 AM, Alan Pope <popey@ubuntu.com> wrote:
>
> https://help.ubuntu.com/community/RootSudo
>
Excellent piece of documentation - thanks, Alan.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 04:40 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org