Re: Can I do root; then passwd to change root password?

2010-10-20 Thread Oleg Hahm
Hi,

sorry, my first mail was intended to be sent to the list, too.

Am Thu, Oct 21, 2010 at 11:46:57AM +0530 schrieb Avinash Joshi:
> > Am Thu, Oct 21, 2010 at 08:35:47AM +0530 schrieb Avinash Joshi:
> > > Just
> > > ~ $ sudo gainroot
> >
> > in this context I've got another question:
> > I've never understood why I should use gainroot instead of simply typing
> > `sudo
> > su`. Is there any difference?
> >
> 
> Here is the thing (BTW, this is what i understand); Maemo N900 is not
> supposed to allow a user to gain root access. So, the rootsh package gives
> us a back-door entry :)
> 
> And, you can aswell do a `sudo su`; but we do not have the root password in
> the beginning. So, do a `sudo gainroot` and then change the root password
> and then `sudo su`

Okay, then maybe my problem of understanding has its origin in the fact that I
bought my N900 second hand. Although I'm supposed that the former owner did not
have done much with it. The thing is that on my N900 I was always allowed to
gain root access by `sudo su` without any password (although there is no entry
allowing su explicitly in the sudoers file...).

Regards
Oleg

-- 
"Dass der Mensch das edelste Geschöpf sei, lässt sich schon daraus abnehmen,
dass es ihm noch kein anderes Geschöpf widersprochen hat."
Georg Christoph Lichtenberg


signature.asc
Description: Digital signature
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Can I do root; then passwd to change root password?

2010-10-20 Thread Avinash Joshi
Hi f(t),

You can do that.

Just
~ $ sudo gainroot
# passwd
# exit
~ $ su
Password:

Hope this helps :)

On Thu, Oct 21, 2010 at 5:07 AM, Francisco Diaz Trepat - gmail <
francisco.diaztre...@gmail.com> wrote:

> sorry if my question was beneath your standards. i was uncertain of it
> because I read that some system processes used sudo and I thought (in my
> ignorance) that I could break something if I changed the password of root.
>
> f(t)
>
>
> On Wed, Oct 20, 2010 at 7:14 PM, Andre Klapper wrote:
>
>> Am Mittwoch, den 20.10.2010, 18:58 -0300 schrieb Francisco Diaz Trepat:
>> > Hi anyone know whether doing:
>> > 1 root (to gain root access)
>> > 2 passwd (to change the password)
>> > would couse a meltdown of my phone?
>>
>> If you type "Google" into Google, you can break the internet!
>>
>> andre
>> --
>> Andre Klapper (maemo.org bugmaster)
>>
>> ___
>> maemo-users mailing list
>> maemo-users@maemo.org
>> https://lists.maemo.org/mailman/listinfo/maemo-users
>>
>
>
> ___
> maemo-users mailing list
> maemo-users@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-users
>
>


-- 
Thanks & Regards,
Avinash Joshi

Web: http://avinashjoshi.co.in
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Can I do root; then passwd to change root password?

2010-10-20 Thread Francisco Diaz Trepat - gmail
sorry if my question was beneath your standards. i was uncertain of it
because I read that some system processes used sudo and I thought (in my
ignorance) that I could break something if I changed the password of root.

f(t)

On Wed, Oct 20, 2010 at 7:14 PM, Andre Klapper wrote:

> Am Mittwoch, den 20.10.2010, 18:58 -0300 schrieb Francisco Diaz Trepat:
> > Hi anyone know whether doing:
> > 1 root (to gain root access)
> > 2 passwd (to change the password)
> > would couse a meltdown of my phone?
>
> If you type "Google" into Google, you can break the internet!
>
> andre
> --
> Andre Klapper (maemo.org bugmaster)
>
> ___
> maemo-users mailing list
> maemo-users@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-users
>
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Can I do root; then passwd to change root password?

2010-10-20 Thread daniel young
hahaha. +1

On 10/20/10, Andre Klapper  wrote:
> Am Mittwoch, den 20.10.2010, 18:58 -0300 schrieb Francisco Diaz Trepat:
>> Hi anyone know whether doing:
>> 1 root (to gain root access)
>> 2 passwd (to change the password)
>> would couse a meltdown of my phone?
>
> If you type "Google" into Google, you can break the internet!
>
> andre
> --
> Andre Klapper (maemo.org bugmaster)
>
> ___
> maemo-users mailing list
> maemo-users@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-users
>


-- 
DY
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Can I do root; then passwd to change root password?

2010-10-20 Thread Andre Klapper
Am Mittwoch, den 20.10.2010, 18:58 -0300 schrieb Francisco Diaz Trepat:
> Hi anyone know whether doing:
> 1 root (to gain root access)
> 2 passwd (to change the password)
> would couse a meltdown of my phone?

If you type "Google" into Google, you can break the internet!

andre
-- 
Andre Klapper (maemo.org bugmaster)

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Can I do root; then passwd to change root password?

2010-10-20 Thread Francisco Diaz Trepat - gmail
Hi anyone know whether doing:

1 root (to gain root access)
2 passwd (to change the password)

would couse a meltdown of my phone?

f(t)
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users