Forgot Linux Root Password

Hello,
I installed RHEL 4 through a virtual machine on my computer. I created 2 users Root and System. The problem is i forgot my Root password and logging thru system and i dont have administrator rights for doing anything. can any one help get my root passsword.
Thanks in advance,
shushanth

user12941025 wrote:
Hello,
I installed RHEL 4 through a virtual machine on my computer. I created 2 users Root and System. The problem is i forgot my Root password and logging thru system and i dont have administrator rights for doing anything. can any one help get my root passsword.
Thanks in advance,
shushanthAnd what this has to do with an Oracle database forum? Anyways, let google be your friend,
http://www.google.co.in/search?q=how+to+break+root+password+in+linux&rls=com.microsoft:en-US:{referrer:source?}&ie=UTF-8&oe=UTF-8&sourceid=ie7&rlz=1I7GGLJ&redir_esc=&ei=3xy6S4zsL4Sy0gT87-zFCw&esrch=FT1
HTH
Aman....

Similar Messages

  • Oracle Linux root password

    Hello,
    I installed Virtual Box and the pre built java development VM (http://www.oracle.com/technetwork/community/javadev-vm-192138.html). However I am not sure what the default password for root is. I can sign in as the glassfish user as in the documentation, but this user is not able to create directories. How do I reset the root password or does anyone know what the default root password is.
    Thanks
    Mike

    HI:
    Tip 1) try ovsroot as password... in the Oracle VM templates this is commonly used.
    Tip 2) do some documentation reading...
    Tip 3) If 1 & 2 are not working hack your box :-)
    - reboot your machine, go into the grub menu and add a 1 after your startup line. This will make sure you will go to runlevel 1 when you boot. Now you can change your root password.
    You can find lots of manuals on how to do this... please find one example here: http://www.labtestproject.com/linuse/change_root_password.html
    regards,
    Johan Louwers

  • How do I change the Linux based LMS 4.2 root password

    How do I change the Linux based LMS 4.2 root password?  I tried "passwd" and "passwd root" while in shell mode and it said "passwd: all authenticaiton tokens updated successfully."  However it makes me use the old password to get into the shell.

    Hi,
    Did you saved the config after updating the password ?
    try this command " copy run start" after changing the password.
    Thanks-
    Afroz
    ****Ratings Encourages Contributors ***

  • Linux installing applications requires root password.

    Can anyone explain to me why it is that on Linux, Air
    requires a root password to install an application even if the
    installation directory is specified as somewhere within my own home
    directory?
    That it asks for a root password under such circumstances
    seems very wrong. The application files are being written to my
    home directory, I don't need to be root to write there and I do not
    want files being created in my home directory with root as the
    owner, as Air does when it installs an application.
    Asking for the root password also means that users who have a
    Linux machine that is administered for them by someone else and do
    not have root are unable to install Air applications themselves
    even if the administrator has installed Air on their
    machine.

    First of all, on behalf of myself (and anyone else who has
    been wondering about this particular detail of Adobe AIR) let me
    thank you for your helpful reply. This does still leave me with a
    couple of questions, however...
    quote:
    Originally posted by:
    Ashutosh Sharma
    AIR applications are similar to regular native applications -
    they install as native rpm/deb packages. This requires access to
    the rpm/deb system database (e.g. rpm database lock). And this is
    required even if the installation folder is chosen to be one that
    is owned by the current non-root user. In addition, with root
    privileges, it's also possible to install applications to a
    location that is accessible to other users on the system.
    I have confirmed for myself the accuracy of this information
    and I thank you for pointing it out. While this does make some
    sense on the surface, it does leave me wondering something about
    the security level of this install process. When I install
    applications from my Linux distribution's package sources, I have
    GPG (or PGP) cryptographic key signatures ensuring that all the
    packages are un-altered from their original form on the
    distribution's package servers, and a team of programmers assuring
    me that the code of these packages are (at least somewhat) safe as
    far as they are able to tell. I am thus far unable to find
    information leading me to believe that there is similar assurance
    that I am not willingly installing unknown malware (keystroke
    logger, spyware, etc.) disguised as a desktop widget (for example)
    when installing Adobe AIR applications. As a code savvy user, I can
    personally download and examine the code of many AIR apps to ensure
    their safety myself before installing, but what about users who
    understand code as well as they understand Martian language or
    ancient Egyptian hieroglyphs? Is there any assurance process in
    place for the average user similar to that of native distro
    packages? If so, can anyone point me to where that is discussed on
    the Adobe pages?
    Also, as an aside note; root privileges are not technically
    REQUIRED in order to install an RPM package in a location which the
    user already has write access to, as I personally have on many
    occasions installed source code packages (SRPM) from my
    distribution's package manager in my home folder while logged in as
    a normal user (without the use of 'su' or 'sudo' or such) for the
    purpose of building newer versions of the RPM packages which they
    correspond to.
    quote:
    Originally posted by:
    Ashutosh Sharma
    However, do note that when they are launched, AIR
    applications run with the privileges of the user launching the
    application and not root. The primary executables of AIR
    applications (under the bin/ folder in the installation path) do
    not have the setuid bit set. You should not be worried about AIR
    applications running with root privileges, based on the fact that
    their installation required superuser access - the two are
    completely independent.
    This does still go back to the original point about the
    security of the code itself which is being installed in the first
    place. What quality assurance process is in place (beyond the star
    ratings system on the application showcase site) to ensure that
    malware was not installed (as root) and then happily being run by
    all the users of a system while blissfully unaware of the capture
    of their passwords or other personal information? (Again, an
    example, and not the only such possible worry.) If such an
    assurance system
    is already in place, where can I (and other AIR users) read
    more about it?
    The reasons for this concern should be obvious when one
    considers that a malicious application does not necessarily need to
    be run as root to still do a great deal of damage on a system and a
    sufficiently sneaky malware application could possibly even
    obtain root privileges once installed on a system through
    some other privilege escalation exploit. As an administrator of
    multiple systems and networks, I have to be cautious about which
    applications I allow on to a system or network for this very
    reason.
    Please be aware that I am not making these points and asking
    these questions to be a "troublemaker" or to shoot down the
    achievements of the AIR team, or Adobe. To the contrary, I am very
    impressed by the technology that I've seen so far and would
    very much like to see AIR become and stay a genuinely useful
    part of the web ecosystem on all platforms. As a matter of fact,
    I'm personally reading a few different resources currently about
    how to develop AIR applications in anticipation of satisfactory
    answers to my few remaining concerns about AIR security worries. ;)
    P.S.: If this forum was the wrong place to be discussing
    these specific types of issues and concerns, please feel free to
    point me toward a better place where such things should be better
    covered and where like-minded individuals and groups might either
    continue the discussion or resolve / close this concern entirely.
    An IRC channel where AIR devs hang out maybe, or perhaps another
    Adobe forum where security concerns are discussed, etc.? :)
    Anyhow, sorry about the long rambling post. Thank you to
    Ashutosh Sharma for your initial reply to this thread, and thank
    you in advance to whoever may reply further and bring final
    resolution to any remaining worries I and others may have regarding
    these and similar potential security concerns. :)

  • Forgot root Password

    Hi all
    I am using solaris 10 on my desktop and I am unable to login because I do not remember my root password any more.
    I have searched through net any came to conclusion that I have to use CDROM to boot into single user mode and then follow the given steps.. but my problem is that I donot have a CDROM also.
    I also read somewhere One can crack the password using failsafe mode but I know nothing about it.
    Please Help me beacuse I need this system badly.....

    You can only do it with physical access to the machine (or an ALOM).
    Once you have physical access to a machine, all bets are off.
    If nothing else, they can put in a CD and boot some other operating system of their choice.
    Or pull the hard drive out and take it away.
    You can put a password on the OBP I believe which will stop anything short of stealing the harddrive.
    To stop someone stealing the harddrive, about all you can do is go for an encrypted filesystem, and as far as I am aware, Solaris doesnt support that.
    But no, its not really a security problem. And if it is, its not solaris fault..

  • Linux root user password

    Hello all,
    I am having a problem to login as root user this is what i got:
    [oracle@localhost ~]$ su
    Password: passwd
    su: incorrect password
    Or I try
    [oracle@localhost ~]$ su
    Password: password
    su: incorrect password
    [oracle@localhost ~]$
    So my question is how can I recover the root user password?
    I am using RHELinux 5.2
    Thanks for help

    user9362044 wrote:
    Please need help..and some brains too it seems as you are not even bothering reading and attempting to research and understand the options given.
    Another method would be to use the original o/s installation CD/DVD and boot from it. It should have an "emergency boot/recovery" option.This boots the o/s from the CD/DVD and detects and mounts the local hard drives. If the installation media does not support such a boot option, download an Ubuntu installation (aka Live) CD and use this to boot the server - and then manually mount the root partition.
    Edit the +/etc/shadow+ file on the local drive and remove the root password string from the file. Save and exit. Reboot from the harddrive - logon without having to supply a root password.
    If you cannot follows these simple instructions, then you should not be dealing with o/s admin without undergoing some formal training first.

  • Reset guest root password

    Hi All,
    I've saved a 2.2.2 guest into a template, imported that into 3.0.2 and created a guest using it. VM starts up fine but can't remember the password for root (this was a once off where we changed the root password so a vendor could access it as root and forgot to change it back).
    So I wanted to boot the guest from a System Rescue CD off the network via ftp after mounting the iso. Well, that didn't work out too well:
    Error: Boot loader didn't return any data!
    Tried changing the path to various folders in the mounted iso to no avail. Tried a Fedora 15 live cd as well but same problem. So I'm thinking unlike the Oracle Linux iso's, other distributions are not so straight forward when trying to boot from them off the network (http/ftp etc).
    Is there a way to boot a PVM guest off the network to iso's other than Oracle Linux? Or perhaps another way to reset the root password for this guest?
    Thanks.

    831583 wrote:
    Is there a way to boot a PVM guest off the network to iso's other than Oracle Linux? Or perhaps another way to reset the root password for this guest?You can't boot any PVM guest from an ISO file. You can however login to Dom0, and boot the guest using xm create -c /path/to/vm.cfg -- this will throw up the GRUB menu so you can add the "single" kernel boot parameter and change the root password in single-user mode.
    Alternatively, you could boot from a Network Location using the kernel and ramdisk options. Just depends on which distribution you're using.

  • Root password fails on auth to Solaris Management Console Server

    I've setup Solaris 10 x86 on a VA linux 1220 server, all is good so far except when I try to create additional users. I am logged in as root, and the root password logs in to the CDE, but fails on authentication to Solaris Management Console Server when I try to use any of the management apps like computers and networks or Users. So I'm stalled at the point where I should be configuring the system. I have been very careful about typing in the password exactly as I use it in the login screen, but it never works in the System Management tools for This Computer. The password I'm using is 26 characters long, is it too long? Or is there a step I'm missing?
    Thanks,
    Brian

    One of my famous guesses, but unless you changed the default password algorithm the maximum length of your password is 8 characters, when logging in on the console or desktop, anything typed after those eight characters will be ignored (unless this behaviour changed very recently).
    Its possibly that SMC, and its server component WBEM does not ignore the extra characters, which could cause this behavior.
    What happens if you try and login to SMC with the root user and only the first eight characters of your password?
    Btw, if this was the problem i think there is a way to change the default crypto algorithm to something that supports more characters.
    .7/M.

  • [SOLVED] Need to change root password - current one doesn't work

    Hey everybody,
    Not sure where to put this, so I apologize if it's in the wrong forum.
    I just installed Arch on my Dell netbook and all is well, except for issues with the root password. I am having a great deal of difficulty getting it to work. I know for a fact that I am typing it correctly. However, I did have trouble getting it set during the installation. When I try several times, I have gotten it to work, but I am getting tired of having to do that, and now I can't seem to get it to work at all. I have even tried a different keyboard, but with no luck.
    Is there any way to change the root password short of a reinstall?
    Thanks in advance for any help, but please keep in mind that I am relatively new to Linux and would greatly appreciate detailed instructions.
    Jeff
    Last edited by jlr1701 (2010-08-12 04:10:50)

    Solved. Should anyone else have this issue, I solved it by entering this command:
    sudo passwd root
    I set a new password and it seems to work fine.
    Didn't know if it was possible to change the root password that way, but glad it worked!

  • % in mysql root password prevents jsp page to connect

    my root password to connect to the mysql database is ab12% and when i ran my jsp page which worked in my windows machine with the password asdb34, on a linux machine with mysql password ab12% its showing urlencoder error and the error pointed to the connection string telling unknow escape sequence %.
    can u please help me to recover this problem other than changing the password?
    how shld i rewrite my connection string
    my current string is
    CONNECTIONSTRING=jdbc:mysql://127.0.0.1,:3306/sitedb?user=root&password=ab12%

    Try the Oracle JDBC forum - http://forums.oracle.com/forums/forum.jspa?forumID=99&start=0
    or Sun's JDBC forum:
    http://forum.java.sun.com/index.jspa?tab=java

  • Root Password Recovery Question

    Hello all,
    I have a question regarding root password recovery in Solaris 10.
    The Server is a Sun Fire T1000; it has no CD-Rom drive, as well as no USB ports. One of our data architects who is the main user of this server has locked himself out of root (he also never created any other user accounts).
    Now I know normally for root password recovery you use the solaris cd to boot into single user mode to take care of this but that's not an option currently. I was wondering if there is a way to put the hard drive as a slave in another Sun Fire T1000 server and then mount it and modify the shadow file removing the encrypted password. I've done this in other Linux OS's and it has worked but I didn't know about Solaris.
    Any help would be greatly appreciated as it is for a project my company is working on and they have a presentation coming up in around 4-5 weeks.
    Thank you!
    -Mike

    Well I tried making the locked out hard drive a slave on another server of the same type. But I couldn't seem to mount it, I even tried the "touch /reconfigure; init 6" to reconfigure devices but it just didn't seem to find it. I tried mounting everything in /dev/dsk but nothing was successful.
    Anyone have any other suggestions on commands that might work?
    I put a purchase order in for a USB to SATA converter, and got a hold of a different Sun server which has USB ports but no SATA, only IDE. As soon as I get it i'm going to try to mount it like a USB external hard drive. I believe when mounting USB it doesn't care if it's a jump drive or a external hard drive it should still mount it correctly. Hopefully this will allow me to modify the shadow file.
    Thanks in advance if anyone has any other suggestions.

  • Shaman doesn't ask for root password. But gets root privileges!!

    As the title says:
    Shaman is launched as a reguler user, never asks for root password, but still i able to install and uninstall packages.
    Either something in my system is seriously fucked, or there is a major securiy problem with shaman.
    Running openbox, installed shaman while running gnome, if that has anythiung to say. Sudo is not installed.
    Output from running shaman in terminal:
    [gert@flyktig ~]$ shaman
    This process is currently running setuid or setgid.
    GTK+ does not allow this therefore Qt cannot use the GTK+ integration.
    Try launching your app using 'gksudo', 'kdesudo' or a similar tool.
    See http://www.gtk.org/setuid.html for more information.
    Translations are enabled.
    Loading translations from "/usr/share/shaman/translations/"
    Parsing "core"
    Parser exited
    Parsing "extra"
    Parser exited
    Parsing "community"
    Parser exited
    Parser exited
    Log File should be: ""
    "core" ---> "http://mirror.archlinux.no/core/os/i686"
    "extra" ---> "http://mirror.archlinux.no/extra/os/i686"
    "community" ---> "http://mirror.archlinux.no/community/os/i686"
    Root privileges retired.
    "/home/gert/.config/shaman/shaman.conf"
    >>
    >> Shaman 1.0.9
    >> Compiled against Qt 4.4.1
    >> Running with Qt 4.4.3
    >>
    >> Our website is @ http://shaman.iskrembilen.com/ , join in!!
    >> You can also find a bugtracker in the website, please use it.
    >>
    >> Have you found a bug? Help us solving it faster! Please read
    >> http://shaman.iskrembilen.com/trac/wiki/Debugging_Shaman
    >> and please follow these steps to report bugs effectively!
    >>
    >> Starting Up Shaman...
    User agent is: "shaman/1.0.9 (Linux i686) libalpm/3.1.1"
    Shaman registered on the System Bus as ":1.51"
    Service org.archlinux.shaman successfully exported on the System Bus.
    --> UNSETENV HTTP_PROXY
    --> UNSETENV FTP_PROXY
    Populating Repo column
    Log file is: /var/log/pacman.log
    refinePkgView
    The left TextBox is over, let's do the ComboBox
    Show all packages
    Remove Package
    "Uninstall package: alunn"
    "alunn"
    "community"
    Process Queue
    Queue Dialog started
    Queue signals connected
    Starting Package Removal
    Root Privileges granted.
    Uid is: 1000
    Received Event Callback
    Alpm Thread Waiting.
    Entering Queue Lock
    Releasing Queue Lock
    Alpm Thread awake.
    Received Event Callback
    Alpm Thread Waiting.
    Entering Queue Lock
    Releasing Queue Lock
    Alpm Thread awake.
    Received Event Callback
    Alpm Thread Waiting.
    Entering Queue Lock
    No scriptlet for package alunn
    Releasing Queue Lock
    Alpm Thread awake.
    Received Event Callback
    Alpm Thread Waiting.
    Entering Queue Lock
    No scriptlet for package alunn
    Releasing Queue Lock
    Alpm Thread awake.
    /sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Ikke tilgang
    Root privileges retired.
    Transaction Completed Successfully
    refinePkgView
    refinePkgView
    The left TextBox is over, let's do the ComboBox
    Show all packages
    [gert@flyktig ~]$

    The point of this thread was that you don't need to enter the root password at all. Not the first time, not ever.
    As far as I understand, it is supposed to work like this: When you first use shaman too install anything, it asks for the root password You can tick a "Do not ask me again"-box, so you don't have to enter the password again. If you tick the box and enter the password, shaman add the lines
    [auth]
    askforpwd=false
    to the users shaman.conf-file (~./config/shaman/shaman.conf) The next time shaman is run, it checks the config file, and if the askforpwd value is set to false, it grants itself root privileges (with some nifty setuuid root-thingy, I imagine) This is not the problem - this is the feature.
    The bug is this:
    the fact that any user can add the lines
    [auth]
    askforpwd=false
    to his own shaman.conf file, without ever entering the root password in shaman. The next time shaman is run, it checks the config file, and if the askforpwd value is set to false, it grants itself root privileges - even though the user has never entered the root password.
    This works for any unprivileged user on the system.
    If that is indeed a feature intended by any sane person, then I'm Mother Mary. And that can't be, seeing as I don't have breasts.

  • Solaris 8, no root password, no login

    During install I got a message like 'could not write /etc/passwd, is locked', I still continue the install, then after a while the install asks for the second software disk, this one is not recognized, so I skip it. Then after rebooting the system, it asks for a login and password, so I enter root en give my password. No way, it won't comply. So I try changing the /a/etc/passwd file (it seems to be the new environment), for instance by adding a line test::::: , so no password should be asked, this also does not work. Removing de root password from the passwd file does not work either. So, who can help me loggin in into the system without a root password, on a Linux machine this is no problem in stand-alone mode no password is asked. Booting with the b -s option gets you into the stand-alone or service mode. This is my last try, then I will throw Sun away......
    PS. My system is fully recognized by the install software. No problem there.
    Thanx....

    Did you remove the 2nd entry in /etc/shadow file?
    Each entry in the shadow file has the form:
    username:password:lastchg:min:max:warn:inactive:expire:flag
    Thanks
    -Manish

  • Lost root password

    Hi mac community,
    I´m a newcomer to Mac (and Linux) and I´ve had a problem related to root password.
    I accidentally entered a password for root on my mac and I can´t remember it. I asked friends that work under linux for help, but they weren´t able to solve me the problem.
    We´ve tried to start up the computer from the installation CD´s to delete the '*' symbol at /etc/passwd file but we failed. We either can´t do it once we are in user account. We can´t access root by any mean...
    Can you help me before I set fire to my computer? ... ...
    Thanks a lot.

    Hello sailbillo:
    Welcome to Apple discussions
    To save your local fire department an emergency run, read this knowledge base article:
    http://docs.info.apple.com/article.html?artnum=106156
    Toward the bottom you will find the steps for resetting an administrator password.
    This article has more information about the root user:
    http://docs.info.apple.com/article.html?artnum=106290
    Barry

  • Auto mounting disk drives on click without prompting root password

    I've installed Arch linux using the instructions given on the Beginner's Guide wiki.
    I want to auto mount a file system (partition) when I click on a partition from the default toolbar or from within nautilus, without prompting me to provide the root password for the system.
    I'm using 'gdm' as one of the DAEMONS entries to start the graphical environment in /etc/rc.conf
    Following the above mentioned wiki, I had deleted the '~/.xinitrc' file as it was mentioned in here.
    Now, how do I find(or regenerate) a backup copy of this above mentioned file, to add the line ''exec ck-launch-session"?
    Or, is there some other way to get the desired functionality working for me?

    As for the .xinitrc file:
    @skunktrader: This is exactly what I wanted, the '/etc/skel/' directory. Never realized that directory there. Thanks!!!
    @Mr.Elendig: Creating the file manually was too obvious. Thanks anyway!!
    As for my requirement:
    Even after placing the .xinitrc to my home directory and appending the line 'exec ck-launch-session gnome-session', I'm still being prompted for root authenication when trying to mount the partition from the desktop environment.

Maybe you are looking for