DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13

Thread: Setting the root password

  1. Droid Newbie
    sidww2's Avatar
    Member #
    78030
    Join Date
    Jun 2010
    Posts
    3
    Phone
    Motorola Droid
    #1

    Setting the root password

    Hey,

    Does anyone know how to set the root password on Android 2.1? I'm using a Motorola Droid.

    Thanks
    Sid
  2. Master Droid
    kristoff125's Avatar
    Member #
    21283
    Join Date
    Dec 2009
    Posts
    596
    Phone
    D3
    #2
    What exactly is a root password?
  3. Senior Droid
    masters's Avatar
    Member #
    1507
    Join Date
    Nov 2009
    Location
    94565
    Posts
    195
    Phone
    Droid1 -> X2
    #3
    Quote Originally Posted by kristoff125 View Post
    What exactly is a root password?
    The Unix Superuser password..

    Think Administrator password on a Windows box..

    http://en.wikipedia.org/wiki/Superuser
  4. Droid Newbie
    sidww2's Avatar
    Member #
    78030
    Join Date
    Jun 2010
    Posts
    3
    Phone
    Motorola Droid
    #4
    Quote Originally Posted by kristoff125 View Post
    What exactly is a root password?
    The password for the root/ super user account.(I have a rooted droid) Right now when I su, it doesn't ask me for a password.
  5. Beta Team
    INSANENEIVIESIS's Avatar
    Member #
    28581
    Join Date
    Jan 2010
    Posts
    1,288
    Phone
    Galaxy Nexus, HTC TB, and D1
    DroidForums.net Developer
    #5
    Quote Originally Posted by sidww2 View Post
    Quote Originally Posted by kristoff125 View Post
    What exactly is a root password?
    The password for the root/ super user account.(I have a rooted droid) Right now when I su, it doesn't ask me for a password.
    it wont it doesnt need to.
    Galaxy Nexus: ICS53F Rooted/Unlocked Thunder Bolt: CM7.1.1 Droid 1: CM6
    Team Shadow

    want to buy me some orange juice?? Donate if you like my work
  6. Master Droid
    droidman101's Avatar
    Member #
    40871
    Join Date
    Feb 2010
    Posts
    711
    Phone
    DROID
    #6
    Quote Originally Posted by INSANENEIVIESIS View Post
    Quote Originally Posted by sidww2 View Post
    Quote Originally Posted by kristoff125 View Post
    What exactly is a root password?
    The password for the root/ super user account.(I have a rooted droid) Right now when I su, it doesn't ask me for a password.
    it wont it doesnt need to.
    thats sorta the reason that it makes the popup come up for all su commands unless you hit remember
  7. Droid Newbie
    MajickMan's Avatar
    Member #
    95485
    Join Date
    Jul 2010
    Posts
    1
    Phone
    EVO 4G
    #7
    Has anyone found a way to set the root password? For those wondering why we want to set a password just google iPhone Rick Roll. That was basically a proof of concept attack that could have been much worse. I'd like to protect my phone from such things and I'm sure you would too.


    Thanks,

    MajickMan
  8. Premium Member
    Backnblack's Avatar
    Member #
    6311
    Join Date
    Nov 2009
    Posts
    11,279
    Liked
    8 times
    Phone
    Samsung S4
    Premium Member
    #8
    Quote Originally Posted by MajickMan View Post
    I'd like to protect my phone from such things and I'm sure you would too.
    Then Unroot. As it has been said, you cannot add a password to Root.
    A gun in the hand is better than a cop on the phone.

    Only the Skilled Survive

    A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila.

    Drill Sergeant Frick's Rules For Un-armed Combat.
    1. Never be unarmed.
    2. See Rule #1

    USMC rule # 23 of gunfighting: Be polite, be professional, but have a plan to kill everyone you meet.



  9. RS Admin
    christim's Avatar
    Member #
    30681
    Join Date
    Jan 2010
    Location
    New England
    Posts
    5,115
    Liked
    2 times
    Phone
    Moto-Droid - rooted
    Premium Member
    #9
    Much like newer versions of windows will ask if you want to run an exectuable, even when logged on with an administrator account, your phone does the same thing with busybox, mm, root explorer, setcpu, and more.

    If you really want to step things up a notch then you don't run your OS as root/admin. By rooting our phones we set ourselves at risk. By allowing to install from unknown sources we set ourselves at risk. By just installing an app from the market because it looks cool we also set ourselves at risk.

    When we install an app that has lots of press coverage that lots of folks have already used we are acting in a more secure manner. The dev might be better known, others would have uncovered something wrong etc.

    Any of the apps you install that say they can collect network, browser, and keyboard info could possibly be gathering and sending info you don't want sent. The community is what is keeping things safe.

    I'd be interested in knowing what other sorts of safeguards are on the market to prevent keystroke capturing type code from being present in apps. Root isn't needed for that.

    All that being said...there's a ton of phones out there. not so many viruses. I feel pretty safe with what I've done with my phone, as well as with my pc. But you never can be 100% sure.
    Chris

    If you apply a rom or theme - backup first!
    If you don't know how to backup...Stop until you do.
    hint: I name my backups like this: sg6.0_20100428 or ss4.2_20100626 to easily find them later. rom and date.


    Have a Problem, Click here to Visit the Rescue Squad
  10. Droid Newbie
    noobkiller's Avatar
    Member #
    332665
    Join Date
    Feb 2013
    Posts
    2
    Phone
    Samsung Galaxy S
    #10

    Let's clarify ths

    Quote Originally Posted by Backnblack View Post
    Then Unroot. As it has been said, you cannot add a password to Root.
    Okay, *****cat, let's see why you're noob

    I used linux as a developer and administrator of a huge system for the last ten years, but I have to tell that I use android for 3 days, and never had before.
    Through these 3 mere days I discovered that android is fundamentally an _exact_ linux and, as such, it does impiles the possibility of using unix user accounts and passwords.
    The former (user accounts) is a natural part of the system, every app installed to the droid is given an exclusive one. (i must stop here to admit this is a strike of genius, a beautiful way to separate applications' workspace and permissions in such a way as we usually do on web servers hosting multiple domains, virtual hosts). It must be mentioned, that the files which control user accounts under linux (like /etc/passwd) are absent under android, because there is a stub for mapping the android_id to passwd structure. So there are no physical files for this purpose, the stub should populate the values. BUT this behaviour may be altered (i wouldn't like to describe how, it's your fight to figure out).
    The latter one is a bit tricky, because android has no system authentication method (like PAM, or such) built in it, hence the only way to change the UID or EUID is to call the corresponding kernel call from a C program. BUT you are welcome to these C programs (including PAM itself), from any of the linux distros around, and after a (really-really) minimal modification they will work on android perfectly.

    Thank you for your kind attention
    Last edited by noobkiller; 02-15-2013 at 03:41 AM.
Page 1 of 2 1 2 LastLast

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Password App
    By panthers89fan90 in forum Android Applications
    Replies: 3
    Last Post: 05-30-2010, 09:43 PM
  2. Question about root and password
    By tkstock in forum Android Hacks and Help
    Replies: 3
    Last Post: 05-08-2010, 10:33 AM
  3. Password App
    By packgrad95 in forum Android Applications
    Replies: 5
    Last Post: 04-01-2010, 09:35 PM
  4. SSH Password
    By B-Unit in forum Android Hacks and Help
    Replies: 8
    Last Post: 03-26-2010, 11:43 PM
  5. VM password
    By bevanse in forum Motorola Droid
    Replies: 4
    Last Post: 12-02-2009, 11:00 AM

Search tags for this page

android change root password

,
android default root password
,
android how to change root password
,

android root password

,
android root set password
,
android set root password
,
android su password
,
android superuser password
,
how to set root password on android
,
set root password android
Click on a term to search our site for related topics.

Tags for this Thread

Find us on Google+