Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.mobile.android > #45389
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Chris Green <cl@isbd.net> |
| Newsgroups | comp.mobile.android |
| Subject | Re: True? Unlocked phone + su == rooted? |
| Date | Sat, 22 Jul 2017 08:43:42 +0100 |
| Lines | 53 |
| Message-ID | <eacb4e-dvv.ln1@esprimo.zbmc.eu> (permalink) |
| References | <okq85a$b9i$3@dont-email.me> <slrnon1au7.2ss.catwheezel@ID-107770.user.individual.net> <okqa6r$b9i$4@dont-email.me> <slrnon220t.21u.catwheezel@ID-107770.user.individual.net> <okr53s$via$1@dont-email.me> <slrnon3qs9.2c7.catwheezel@ID-107770.user.individual.net> <oksrld$tto$14@dont-email.me> <56b94e-1hc.ln1@Telcontar.valinor> <6vc94e-32g.ln1@esprimo.zbmc.eu> <mes94e-a9r.ln1@Telcontar.valinor> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| X-Trace | individual.net 30SVtYi13RBHi45QTso/sQmPpscy1Y/nHRO5/OiEC1DsSVmi4= |
| X-Orig-Path | not-for-mail |
| Cancel-Lock | sha1:9mofSiCn79kadsh3NhUyvWVYrlM= |
| User-Agent | tin/2.3.2-20151224 ("Glenavullen") (UNIX) (Linux/4.4.0-83-generic (x86_64)) |
| Xref | csiph.com comp.mobile.android:45389 |
Show key headers only | View raw
Carlos E.R. <robin_listas@es.invalid> wrote: > On 2017-07-21 15:42, Chris Green wrote: > > Carlos E.R. <robin_listas@es.invalid> wrote: > >> On 2017-07-21 14:22, Charles T. Smith wrote: > >>> On Fri, 21 Jul 2017 12:54:48 +0100, Whiskers wrote: > >>> > >>> > >>>> > >>>> Su doesn't grant root privileges, it just lets you 'substitute user' - > >>>> ie do something as someone else, to the extent that the system is set up > >>>> to allow you to do that. It will only give a user 'root powers' if the > >>>> system is already set up to allow such powers to that user. If you > >>>> haven't got root power, you can't access the settings you need to give > >>>> yourself root powers. Those settings are normally made as part of the > >>>> installation process. > >>> > >>> I don't think that's an accurate description. Su substitutes the user > >>> as UID 0 and in any system that calls itself unix/linux, that user has > >>> special permissions. > >> > >> No. > >> > >> 'su' substitutes the user as ANY other user you wish, not only as UID 0. > >> > >> However, if you do not specify an user, "root" is assumed by default. > >> > > ... and, as the top bit above says, if you don't have the privileges > > required to become root you won't be allowed to become root, you'll > > just see an error message of some sort. > > > > In fact if you just type 'su' at the command prompt it will (as > > stated) assume you want to do 'su root' and will ask for the root > > password. Some (linux) systems such as the Ubuntu family don't have a > > root account which you can log in to so 'su' by itself doesn't do > > anything useful, it will ask for a password but no password is set up > > so it won't work. > > But in ubuntu you can do instead (unless they have changed things since > I last tried): > > sudo su > > which does work. Once there, you create a root password, and from then > on "su" does work. This is possible because "sudo" exists and works, and > the "sudo" binary has the appropriate permissions (has the suid bit). > Well it will work only if 'you' (the user who issued the 'sudo su') has root privileges in the sudo configuration. ... and there are endless arguments about whether having a root account is a good idea or not. -- Chris Green ยท
Back to comp.mobile.android | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
True? Unlocked phone + su == rooted? "Charles T. Smith" <cts.private.yahoo@gmail.com> - 2017-07-20 12:36 +0000
Re: True? Unlocked phone + su == rooted? Whiskers <catwheezel@operamail.com> - 2017-07-20 14:10 +0100
Re: True? Unlocked phone + su == rooted? "Charles T. Smith" <cts.private.yahoo@gmail.com> - 2017-07-20 13:11 +0000
Re: True? Unlocked phone + su == rooted? Whiskers <catwheezel@operamail.com> - 2017-07-20 20:44 +0100
Re: True? Unlocked phone + su == rooted? "Charles T. Smith" <cts.private.yahoo@gmail.com> - 2017-07-20 20:51 +0000
Re: True? Unlocked phone + su == rooted? John B. <slocombjb@gmail.com> - 2017-07-21 06:39 +0700
Re: True? Unlocked phone + su == rooted? "Charles T. Smith" <cts.private.yahoo@gmail.com> - 2017-07-21 07:52 +0000
Re: True? Unlocked phone + su == rooted? Whiskers <catwheezel@operamail.com> - 2017-07-21 12:54 +0100
Re: True? Unlocked phone + su == rooted? "Charles T. Smith" <cts.private.yahoo@gmail.com> - 2017-07-21 12:22 +0000
Re: True? Unlocked phone + su == rooted? "Carlos E.R." <robin_listas@es.invalid> - 2017-07-21 15:12 +0200
Re: True? Unlocked phone + su == rooted? "Charles T. Smith" <cts.private.yahoo@gmail.com> - 2017-07-21 13:27 +0000
Re: True? Unlocked phone + su == rooted? Chris Green <cl@isbd.net> - 2017-07-21 14:42 +0100
Re: True? Unlocked phone + su == rooted? "Carlos E.R." <robin_listas@es.invalid> - 2017-07-21 20:06 +0200
Re: True? Unlocked phone + su == rooted? Whiskers <catwheezel@operamail.com> - 2017-07-21 21:48 +0100
Re: True? Unlocked phone + su == rooted? Chris Green <cl@isbd.net> - 2017-07-22 08:43 +0100
Re: True? Unlocked phone + su == rooted? Whiskers <catwheezel@operamail.com> - 2017-07-22 15:08 +0100
Re: True? Unlocked phone + su == rooted? micky <NONONOmisc07@bigfoot.com> - 2017-07-20 22:42 -0400
Re: True? Unlocked phone + su == rooted? "Charles T. Smith" <cts.private.yahoo@gmail.com> - 2017-07-21 07:45 +0000
Re: True? Unlocked phone + su == rooted? Bob Martin <bob.martin@excite.com> - 2017-07-21 08:20 +0100
Re: True? Unlocked phone + su == rooted? "Charles T. Smith" <cts.private.yahoo@gmail.com> - 2017-07-21 07:59 +0000
Re: True? Unlocked phone + su == rooted? Bob Martin <bob.martin@excite.com> - 2017-07-22 08:53 +0100
Re: True? Unlocked phone + su == rooted? Desmond Riverton <des@private.invalid> - 2017-07-21 07:51 +0000
Re: True? Unlocked phone + su == rooted? "Charles T. Smith" <cts.private.yahoo@gmail.com> - 2017-07-21 08:04 +0000
csiph-web