What is root password ?

Hi there,
I tried a few commands in the X terminal with the sudo prefix and it asked me for the root password.
Does anyone know what it is ?
Cheers
Fred

fhumbert wrote:
Hi there,
I tried a few commands in the X terminal with the sudo prefix and it asked me for the root password.
Does anyone know what it is ?
Cheers
Fred
Just to be pedantic.. if you're using SUdo and it prompts for a password, it is usually asking for YOUR password, not the root password..
that's one of the differences between su and sudo..
sudo will only let you run gainroot (sudo gainroot) which will start a root shell if:
  a) you have R&D mode activated, or
  b) you have installed the rootsh package
otherwise it will tell you R&D mode isn't active..

Similar Messages

  • How to Delete and Reset a Lost Root Password on a System With a Mirrored ??

    hi All,
    we are experiencing problem,lost root password on Solaris 10 Sparc T5120, with mirror root,
    and we found the solution from Metalink.oracle.com, has anyone have try this??
    here list capture the file system :
    Filesystem size used avail capacity Mounted on
    */dev/md/dsk/d10 2.0G 349M 1.6G 18% /*
    */dev/md/dsk/d40 9.8G 563M 9.2G 6% /usr*
    */dev/md/dsk/d30 9.8G 1.4G 8.4G 15% /var*
    */dev/md/dsk/d50 7.9G 310M 7.5G 4% /opt*
    */dev/md/dsk/d600 3.8G 4.3M 3.8G 1% /home*
    */dev/md/dsk/d602 471M 20M 404M 5% /app/controlm*
    */dev/md/dsk/d601 471M 251M 173M 60% /app/ctsa*
    */dev/md/dsk/d604 4.9G 1.1G 3.8G 23% /app/oramon*
    */dev/md/dsk/d603 20G 11G 8.2G 58% /app/oracle*
    */dev/md/dsk/d606 39G 10.0G 29G 26% /proj/iprdb01/orafra/iprod01p*
    here the step :
    Solstice DiskSuite[TM] Software: How to Delete and Reset a Lost Root Password on a System With a Mirrored Root Disk [ID 1010755.1]
    Solution
    Steps to Follow
    How to delete and reset a lost root password on a system with a mirrored root disk.
    1) Insert the Solaris[TM] Operating System CD-ROM into the CD-ROM drive.
    2) Once the CD-ROM is in the drive, perform a stop-a. This brings the system down to the "ok" prompt.
    3) From the "ok" prompt, perform a single-user boot from the Solaris OS CD-ROM.
    ok boot cdrom -s4) At the "#" prompt, determine which disk is the system's boot disk (containing the root file system). There are several Oracle architectures and various configurations of systems when it concerns a boot disk. As a general rule, most boot disks are attached to controller 0 (c0). Usually, their SCSI target is
    either 3 (t3) or 0 (t0). However, Oracle machines are very flexible, and the boot disk could be at a different location. If you are not sure which disk is your boot disk, perform the following steps to determine the location of the boot device:
    a) # eeprom boot-device
    The output might appear to be simple, such as "disk" or "disk1" or more complicated, such as a pathname "/iommu/sbus/espdma@4,8400000/...../sd@3,0:a".
    b) Make note of the boot-device. If the boot-device is a pathname, it is beyond the scope of this information to provide the location of the customized boot disk. However, for most configurations,
    finding the customized boot disk is an easy task. The "Format" command shows all available disks:
    #format
    Searching for disks...done
    AVAILABLE DISK SELECTIONS:
    (enter its number): c) Enter d to exit format.
    Now, you will have an idea what disks are on the system. Therefore, if the boot-device is "disk" and format shows "c0t0d0" (on some systems "c0t3d0") then that is the boot device. If boot-device
    shows "disk1" and format shows "c0t1d0," then that is the boot device. If format shows multiple disks, then based on what the "eeprom boot-device" command shows, the system's boot disk would be:
    boot-device format
    disk c0t0d0 or c0t3d0 (machine dependent)
    disk1 c1t0d0
    disk2 c0t2d0
    disk3 c0t3d0 or c0t0d0 (machine dependent)
    and so on ....
    5) Because the system was not brought down gracefully (no root password means having to use the Stop-a keystroke to "crash" the system), you need to run "fsck" to clean the root partition (slice). The fsckalso confirms that you selected the proper slice.
    # fsck /dev/rdsk/c1t0d0s0
    where the X and Y are determined by the previous procedure. It is also possible to have a root partition which is not on slice 0 (s0), but, again, that is not a standard configuration.
    The output of "fsck" looks like this:
    ** /dev/rdsk/c1t0d0s0
    ** last mounted on /
    ** Phase 1 .....
    The second line in the output of "fsck" ("** Last mounted on /") confirms that this is the correct root filesystem partition. Answer "y" to any questions fsck asks. There shouldn't be too many items
    needing repair. If there are, there is a possibility of a corrupted root filesystem. After fsck is finished, mount the root partition:
    # mount /dev/dsk/c1t0d0s0 /a
    Again, X and Y are the same as for the fsck command.
    For example:
    # mount /dev/dsk/c1t0d0s0 /a
    6) From the root prompt, set the proper TERM type command (such as vt100, dtterm, sun, and so on)
    by entering this command:
    # TERM=sun; export TERM
    7) Use the VI text editor to edit the /etc/shadow file:
    # vi /a/etc/shadow
    8) The first line of the /etc/shadow file is the one you want to modify.
    It looks like this:
    root:c3.yAVmYodWsc:6445::::::
    9) Delete every character between the first and second colons in the first line of the file. When you finish deleting the characters, the line should look like this:
    root::6445::::::
    10) Press the Escape key, then enter the following to save the file and exit vi:
    :wq!
    11) Use the VI text editor to edit the /etc/system file andremove the "rootdev" line shown below:
    # vi /a/etc/system
    *rootdev:/pseudo/md@0:0,0,blk
    Don't comment out the "rootdev" line. Actually remove it.
    12) In the /a/etc/vfstab file, replace the lines for the system filesystem meta-devices with their underlying partitions. For example, change lines from
    /dev/md/dsk/d0 /dev/md/rdsk/d0 / ufs 1 no -
    to
    /dev/dsk/c1t0d0s0 /dev/rdsk/c1t0d0s0 / ufs 1 no -
    ONLY change the lines for root (/) and the filesystems that were affected by the actions you took in step 1 of this procedure. All other metadevices may stay as is in this file.
    13) Unmount root, check the root filesystem, and then stop the system:
    # cd /
    # umount /a
    # fsck /dev/rdsk/c1t0d0s0
    # stop-a
    14) Boot to single-user mode:
    ok boot -swTHIS STEP IS VERY IMPORTANT; YOU MUST BOOT TO SINGLE-USER MODE TO AVOID FILESYSTEM CORRUPTION.
    If the system does not boot to single user mode, you might have made a mistake in the previous steps.
    15) Because the root password was cleared in an earlier step, press Return when prompted for the the root password. Once you are in single-user mode, you must clear the metamirrors and all the sub-mirrors for the root filesystem. For example, if root (/) is d0, run the following command:
    # metaclear -f -r d0
    Running the metaclear command not only clears the metamirror but also clears the submirrors that are part of this mirror.
    16) When the metamirror is cleared, continue the boot up to multiuser mode by either pressing CTRL-D or by entering the following:
    # exit
    Now everything should be as it was, except that the system partition is on the underlying partition and isn't mirrored. You will simply need to re-create the metadevices for the root mirror as you had originally.
    many thanks

    Hi,
    Halt your machine.
    Boot with fail-safe mode.
    format and list out the disks. (You can get the root & mirror disk (c#t#d#) details from /etc/lvm/md.tab of your root or mirror disk. Earlier explorer output may help)
    Mount the root disk and remove the password entry in /etc/shadow
    umount it.
    Mount the mirror disk and remove the password entry in /etc/shadow
    umount it.
    reboot the server.
    Hope this helps!

  • Reset lost root password and now have read only filesystem

    Hello,
    I have recently had to reset a locked root password by booting from cdrom, mounting the first boot disk, editing the shadow file to remove root's password and rebooting the system.
    The system has booted OK but, I now have a read only filesystem - everything in / cannot be edited, passwd doesnt work etc.
    df -k shows the root (/) filesystem has been mounted on the physical disk I edited:
    Filesystem kbytes used avail capacity Mounted on
    /pci@83,4000/FJSV,ulsa@2,1/disk@0,0:a 10085836 185862 9799116 2% /
    but in the vfstab it still references the disksuite metadevice:
    #device device mount FS fsck mount mount
    #to mount to fsck point type pass at boot options
    /dev/md/dsk/d30 /dev/md/rdsk/d30 / ufs 1 no -
    So, can I simply boot from CDROM again, amend the vfstab to be /dev/dsk/c0t0d0s0 (instead of /dev/md/dsk/d03) and reboot?
    Any help with this is appreciated!
    Thanks,
    Emma

    df -k should have shown root mounted on md0
    e.g. on my machine
    # df -k
    Filesystem kbytes used avail capacity Mounted on
    /dev/md/dsk/d0 8260691 4366317 3811768 54% /
    what does /etc/system show for rootdev?
    # grep rootdev /etc/system
    * rootdev: Set the root device. This should be a fully
    * rootdev:/sbus@1,f8000000/esp@0,800000/sd@3,0:a
    rootdev:/pseudo/md@0:0,0,blk
    Remember if this is a mirrored drive, when you boot from CD you may need to mount both sides of the mirror and make changes on both sides- otherwise the replication may not goes as expected.
    Actually, I have run into problems with the modifying one side of a mirror this way. In the past Sun tech support would recommend that I break the mirror and then rebuild it once the system is up and running. So in your case you may want to boot from CD, mount the 1st disk slice, edit /etc/vfstab AND /etc/system, boot into the OS and use the various meta commands to delete and rebuild the mirror- or at least maybe to drop and reattach the 2nd 1/2 of the mirror.

  • 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.

  • Root password not being saved

    When I enable the root user it asks me for the password, then password verification. Then when I leave terminal I disable the root user. Next time I enable it, it again asks for the password and to verify it, but I can enter ANY password and get into SU in terminal. So anyone that can get to enable the root user and set a password. This is dumb or I am not understanding something here. The computer should remember the last password and use that password and not allow just ANY password to give super user access???
    Rachael

    I would be uncomfortable leaving the root user enabled. Frankly speaking the root password should be saved once I set it then disable the root user, saving that password for the next time I enable the root user it. Why is there even an option to change the password if it is not saved. Stupidity. Even setting the password in terminal with the passwd command will not save it. Stupidity. This is not how it worked in Snow Leopard. You set a password and it stuck. What is the point of having a password for root, it anyone can enter anything to reach it. Stupidity
    But thanks for the suggestion
    Rachael

  • Root password expired - not your typical case

    Hello everyone,
    I apologize for asking what is a very FAQ, but I am unable to find an appropriate answer anywhere on the interweb.
    The facts of my unfortunate situation are:
    1. I am a newbie in the SA world.
    2. I am even more of a newbie in the Solaris world.
    3. I am administering a Production Database system on Solaris 9.
    4. Within the last couple days the root password expired.
    5. When I attempt to login at the console as root, I receive the following message. "Roles can only be assumed by authorized users."
    It seems to me that root ought to be authorized to login to the console.
    I've read that I can boot from the CD to resolve this issue, but the system in question has the CD drive disabled. If only I could figure out how to login to the console as root, I'm sure that it would let me update the password, but I don't know how to work around the "Roles can only be assumed by authorized users" issue.
    Please help!
    Thanks in advance for your assistance. It is greatly appreciated.

    Well, I've learned an awful lot in the process of trying to resolve this issue. I'm still not there, but I'm getting close.
    I have done a ton of research on the net, and I am unable to find any specific detailed instructions on how to fix the root password expired issue. So, I figured I would paraphrase what I believe are the detailed steps to be taken. If you see an error in my logic, or my syntax please let me know, as I will be beginning this process soon.
    So, we have RBAC or Role Based Access Control on the Solaris 9 box, and the root password has expired. This is a pretty annoying situation to be in, but it can be fixed easily enough.
    First, we'll want to gracefully shutdown all the processes which are currently running on the system. This is accomplished by executing the following command which will put the system into single user mode:
    init -1
    Determine where your root file system (e.g. c1t0d0s0) is located by typing the following command (you'll want to make note of the result):
    /etc/vfstab
    Next, we need to access the EEPROM. Before doing this, you should do execute the following command to see if your EEPROM is password protected.
    eeprom |grep security
    Look for the line that reads "security-mode=" If security mode is set to "none" or "none-secure" you're golden, proceed with the next step. If security mode is set to "command" "command-secure" "fully" or "fully-secure" you want to make sure you have your EEPROM password, otherwise you'll be in worse shape than when you started.
    Assuming that you either have the EEPROM password, OR the system is set to "security-mode=none" you can proceed to the EEPROM prompt by pressing the following key combination:
    Stop + A
    You should now have an OK> prompt. Insert the Solaris 9 Installation CD into the CDRom drive. At the prompt type the following command to boot from your CD rom:
    boot cdrom -sw
    Once the boot sequence is complete, execute the following command to mount your root filesystem.
    mount /dev/dsk/<root filesystem device file> /mnt
    Once you have mounted the root file system, you will need to change the /etc/user_attr file to allow console access by root. Open /etc/user_attr with your editor of choice. On the line beginning with root::::type=role; etc etc change the setting type=role to type=normal and save the user_attr file.
    Enter the following command to go back to the OK prompt:
    halt
    Then enter boot -s to reboot your system. You should now be able to login to the console with root, which will allow you to update your password. Once you have done so, do an init -3 to bring the user back up to the standard mode of operation.
    Thanks again Jeffery for your help in this matter. I hope to have this situation resolved soon, but I want to make sure that all my ducks are in a row before I start playing Russian Roulette with my server. Does the above walkthrough sound accurate? Is there anything that I have misuderstood or overlooked?

  • 10.3 MYSQL Root Password problem..

    We are running OSX Server 10.3.9 with the built in MYSQL. Somehow the root password for MYSQL that was set is not working and I am locked out with a 1045 error. I need to know how I go about resetting the ROOT password for MYSQL. as I mentioned, I am using the MYSQL that comes with 10.3.9. I have looked online but the tutorials for resetting the passwords do not work on my version...
    Thanks...
    -- Dave Hauss

    I think by default Solaris uses CRYPT_DEFAULT=__unix__ which limits you to 8 characters.
    in order to have more than 8 usable characters in your passwd, then you must use "md5"
    CRYPT_DEFAULT=md5
    this is located in : /etc/security/policy.conf
    I think you may want to change the password length in /etc/default/passwd
    PASSLENGTH= (default=6) change it to something of your liking.
    be sure to do a little more research on the exact steps, but this is what you are loking for. im just going by memory here.

  • OEL 6.1 -- How to set root password?

    Hi all,
    Maybe it's a silly question, but I'm new to OEL, and this 6.1 install is the first time I've installed OEL.
    Everything seemed to go perfectly smoothly, but the installer never prompted me to enter a root password, and now I've got a system that boots to a login prompt, but I have no idea what userid/password to use to login. Is there a default root password?
    Help!
    Thanks,
    -Mark

    Dear mbobak,
    You don't need to boot into rescue image, mount, chroot
    all what you need is to boot into single mode from GRUB.
    If it happen again, please follow these steps:
    - Reboot the system and wait for the GRUB screen to appear
    - Highlight the kernel version you're currently using (usually the newest version) from the GRUB list
    - Press "e" to be taken to the boot commands edit screen, highlight the line which starts with kernel and press "e" again
    - Add "single" to the end of the line, so it will look like this:
    kernel /vmlinuz-kernel-version ro root=LABEL=/ rhgb quiet single
    - Press "Enter" to save the changes
    - Press "b" to boot in single user mode.
    Your system will begin loading and, at some point, you will be presented with a root bash prompt.
    - In the new prompt type passwd and choose a new password for root.
    - When done, type reboot to restart the system. After reboot, GRUB will be back to normal so no further modifications are required.
    Reference
    http://news.softpedia.com/news/Resetting-a-Forgotten-Root-Password-40544.shtml
    Regards

  • 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

  • Problem resetting mysql root password

    I have install 5.5.20 from mysql from the TAR file. that install was done from an admin user by the name of mysql. Using the mysql user, I have reached a point where I am unable to reset the root password. I have tried both method of resetting the password with no success. Here is what I did. (path omitted for brevity, but used in the commands)
    shell>mysqld_safe --skip-grant-tables
    shell>mysql
    mysql>UPDATE mysql.user SET Password=PASSWORD('newPass')
        -> WHERE User='root';
    mysqlQuery OK, 0 rows affected (0.05 sec)
    Rows matched: 0  Changed: 0  Warnings: 0
    shell> mysqld_safe
    shell> mysql -u root -p
    Enter password:
    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
    created an init file that had ths
    --------contents of minit-------
    UPDATE mysql.user SET Password=PASSWORD("newPass") WHERE User='root';
    FLUSH PRIVILEGES;
    ------------eof--------------
    mysqld_safe --init-file=minit
    killed mysqld
    mysqld_safe
    mysql -u root -p
    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
    By the way, I closely monitored the .err file and nothing unusual or pacular showed up there.
    Anyone see what I did wrong? Anyone have other suggestions?

    I have install 5.5.20 from mysql from the TAR file. that install was done from an admin user by the name of mysql. Using the mysql user, I have reached a point where I am unable to reset the root password. I have tried both method of resetting the password with no success. Here is what I did. (path omitted for brevity, but used in the commands)
    shell>mysqld_safe --skip-grant-tables
    shell>mysql
    mysql>UPDATE mysql.user SET Password=PASSWORD('newPass')
        -> WHERE User='root';
    mysqlQuery OK, 0 rows affected (0.05 sec)
    Rows matched: 0  Changed: 0  Warnings: 0
    shell> mysqld_safe
    shell> mysql -u root -p
    Enter password:
    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
    created an init file that had ths
    --------contents of minit-------
    UPDATE mysql.user SET Password=PASSWORD("newPass") WHERE User='root';
    FLUSH PRIVILEGES;
    ------------eof--------------
    mysqld_safe --init-file=minit
    killed mysqld
    mysqld_safe
    mysql -u root -p
    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
    By the way, I closely monitored the .err file and nothing unusual or pacular showed up there.
    Anyone see what I did wrong? Anyone have other suggestions?

  • MYSQL Root password

    Hi Guys,
    I'm rather new to all this PHP and MYSQL stuff, so please bear with me. I have downloaded and installed a copy of MYSQL and PHP, and am now trying to change tohe root password, but I keep getting an error message.
    I log in to MYSQL with:
    /usr/local/mysql/bin/mysql
    from there I type:
    UPDATE mysql.user SET Password = PASSWORD('****') WHERE User = 'root';
    but I keep getting an error message of:
    ERROR 1142 (42000): UPDATE command denied to user ''@'localhost' for table 'user'
    what have I got wrong?

    I've tried to follow the above advice.
    I've completely deleted my MySQl on OS X Server 10.4.7 and reinstalled using the lastest package "mysql-standard-5.0.24a-osx10.4-powerpc.dmg".
    I just cannot get mysql to work properly, to set my root password.
    See my first attempts with Terminal below (No.1)...
    MySQL Adminsitaror and CoCoa SQL connecs with no username or password.
    I've also tried to follow marcs advice at http://www.entropy.ch/software/macosx/mysql/ but to no avail.
    See my second attemps with Terminal below (No.2)...
    If I can crack how to reinstall and setup MySQL on OS X Server 10.4.7 then I'll have a good Disaster Recovery Plan, I hope you can help, thanks.
    No.1
    Last login: Fri Sep 22 17:26:02 on ttyp1
    Welcome to Darwin!
    Server:~ admin$
    Server:~ admin$ sudo /usr/local/mysql/bin/mysqld_safe --skip-grant-tables -u root &
    [1] 1014
    Server:~ admin$ A mysqld process already exists
    [1]+ Exit 1 sudo /usr/local/mysql/bin/mysqld_safe --skip-grant-tables -u root
    Server:~ admin$ sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop
    Stopping MySQL database server
    Server:~ admin$ sudo /usr/local/mysql/bin/mysqld_safe --skip-grant-tables -u root &
    [1] 1066
    Server:~ admin$ Starting mysqld daemon with databases from /usr/local/mysql/data
    Server:~ admin$ sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
    Starting MySQL database server
    Server:~ admin$ /usr/local/mysql/bin/mysql -u root
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (13)
    Server:~ admin$ /usr/local/mysql-standard-5.0.24a-osx10.4-powerpc/bin/mysql -u root
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (13)
    Server:~ admin$
    No.2
    Last login: Fri Sep 22 17:26:12 on ttyp1
    Welcome to Darwin!
    Server:~ admin$ sudo find /usr/local/mysql/data -type f -exec rm {} ';'
    Password:
    Server:~ admin$
    Server:~ admin$ sudo hostname 127.0.0.1
    Server:~ admin$ cd /usr/local/mysql
    Server:/usr/local/mysql admin$ sudo ./scripts/mysqlinstalldb
    Installing all prepared tables
    060922 17:35:30 [Warning] Setting lowercase_tablenames=2 because file system for /usr/local/mysql-standard-5.0.24a-osx10.4-powerpc/data/ is case insensitive
    060922 17:35:30 [Warning] No argument was provided to --log-bin, and --log-bin-index was not used; so replication may break when this MySQL server acts as a master and has his hostname changed!! Please use '--log-bin=127-bin' to avoid this problem.
    Fill help tables
    060922 17:35:31 [Warning] Setting lowercase_tablenames=2 because file system for /usr/local/mysql-standard-5.0.24a-osx10.4-powerpc/data/ is case insensitive
    060922 17:35:31 [Warning] No argument was provided to --log-bin, and --log-bin-index was not used; so replication may break when this MySQL server acts as a master and has his hostname changed!! Please use '--log-bin=127-bin' to avoid this problem.
    To start mysqld at boot time you have to copy support-files/mysql.server
    to the right place for your system
    PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
    To do so, start the server, then issue the following commands:
    ./bin/mysqladmin -u root password 'new-password'
    ./bin/mysqladmin -u root -h 127.0.0.1 password 'new-password'
    See the manual for more instructions.
    You can start the MySQL daemon with:
    cd . ; ./bin/mysqld_safe &
    You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
    cd sql-bench ; perl run-all-tests
    Please report any problems with the ./bin/mysqlbug script!
    The latest information about MySQL is available on the web at
    http://www.mysql.com
    Support MySQL by buying support/licenses at http://shop.mysql.com
    Server:/usr/local/mysql admin$ sudo chown -R mysql data/
    Server:/usr/local/mysql admin$ /usr/local/mysql/bin/mysqladmin -u root password operate
    /usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
    error: 'Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (13)'
    Check that mysqld is running and that the socket: '/var/mysql/mysql.sock' exists!
    Server:/usr/local/mysql admin$

  • 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....

  • SQL Root Password

    I am having a problem...
    The root password for the SQL service is correct but if I connect using SQL manager I get this error...
    I can connect to the MySQL instance but then get this error....
    Could not retrieve user list:
    Access denied for user 'root'@'127.0.0.1' to database 'mysql' (error 1044)
    What is going on ??
    all databases working but cannot seem to access the list of databases any longer...

    It is possible that your databases are corrupt; there is certainly evidence here that could indicate that.
    There's seldom an easy or consistent or single path toward resolution of a database problem; there's no single trigger for these.
    I've performed MySQL recoveries for various sites, and the triggers and the errors and the commands needed have tended to vary. The MySQL manuals and [Google|http://www.google.com/search?hl=en&q=Accessdenied+for+user+%27root%27%40%27127.0.0.1%27+to+database+%27mysql%27+%28error1044%29] can be good friends here, as can any of the available archives of these databases that might be available locally.
    But there's no single easy answer I'm aware of and no single trigger. If there was, the MySQL folks probably would have fixed the underlying bug by now. From the MySQL site, here are some of the [Causes of Access-Denied Errors|http://dev.mysql.com/doc/refman/5.1/en/access-denied.html].
    And it is often feasible to break into each database [using the provided directions|http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html], and have a look around.

  • Root password half lost :)

    Greetings,
    I do not understand something on my tiger.
    If I log in graphicallty as user root, I I can enter using the correct password.
    I log off, login using my account.
    Open a terminal and type su to "become"temporaly root.
    I then type the same password and I get denied.
    What's going on ?
    Many thanks for your input.
    Regards,

    Hi,
    Thank you for your answer but it does not work :
    If I enter my root password -> access denied
    If I enter my password -> cyrain is in the sudoeers file, the incideent bla bal.
    I understand this error, I should my user in the sudoers file,, i know this stuff ok.
    Bu this is not what I'm interested into.
    What I want to do is to be able to become temporaly root with a su command and ctrl+d when I'm finished.
    I used to be able to do that but since I renamed my /Users/cyrain account, everything works ok bu this.
    Thank you for any light shed on this topic....

  • Root password

    I may have erased my root password now I try to install but it does not work. after mounting /dev/dsk/c0d0t0s0 /mnt I do cd /mnt. then I type the terminal and do vi. but it said that the terminal is unknown and also I can access shadow to delete the password. what do i do wrong? If somoene know the step please let me know.
    Thanks

    Hi there,
    I do not know how you lost your root passwd but the following is are the steps to recover the root passwd if you have wrongfully
    change the shell for the root. I am sure you can use the same steps for your purpose.
    Question:
    Some root users like to manually change the shell of account root. The most possible mistake is to simply change the default shell "/sbin/sh" to "/sbin/ksh". Thereafter, you will fail to log on the root because of the error of "No shell".
    To fix the problem, the only way is to change root shell from /sbin/ksh to /usr/bin/ksh in /etc/passwd. Since the /etc/passwd is owned by root and you can not log on as root any more, so how to solve the problem ?
    The problem is caused because the user does not know there are no other shells but Bourne Shell in /sbin. Therefore the system can not find /sbin/ksh and you fail to log on the root because of "No shell".
    /sbin/sh is a hard copy under root (/) file system to make the system usable even before the file system /usr is mounted. It is very useful for system maintenance.
    Below is the solution for Solaris Sparc/Intel platform respectively.
    Caution: This solution can be also used to break into a system to alter security sensitive files, only authority persons can use it. Any damage caused is under your own responsibility.
    For Solaris Intel platform:
    1. Note down the root file system, e.g., /dev/dsk/c0t0d0s0
    2. Insert installation CD
    3. Reboot the system
    4. Press ESC at the Press ESCape to interrupt autoboot in 5 seconds prompt.
    5. Press the F2 key (F2_Continue) at the Solaris Device Configuration Assistant
    screen.
    6. Press the F2 key (F2_Continue) at the Identified Devices screen.
    7. Select the CD-ROM drive as the boot device from the Boot Solaris screen,then press the F2 key (F2_Continue).
    8. Type b -s at the Select the type of installation: prompt.
    9. Mount the root file system to /a. E.g.,
    # mount /dev/dsk/c0t0d0s0 /a
    10. Modify /etc/passwd to correct the mistake by
    vi /a/etc/passwd, then change /sbin/ksh to /usr/bin/ksh in root entity
    11. Unmount the /a directory and reboot the system.

Maybe you are looking for

  • How to Add Push Button On Selection Screen

    Hi Experts, How to add Push button on Selection Screen. Points will b rewarded for useful help. Bohra.

  • Year-To-Date Sales by month calculation in cube

    Hi everyone, I want to already calculate the 'YTD Sales'by month in my cube, so I increase performance when the user is running his report. YTDSALES = Actual Month Total Sales + Previous month YD Total Sales. Not sure how to implement it in the updat

  • Unknown error when inserting Flash text [was: Error]

    When I try to insert Flash text into a document, I keep getting an error message that says "Unknown error". What should I do? I'm taking a class online and we happen to be covering this feature.

  • So how do I post pictures in chat with Amazon Fire...

    So I can send a picture to my friends but how can i post it into a chat or group chat with Amazon Fire HD 6". I have no problem posting pictures with my Andriod smart phone or my Windows laptop so why can I not post pictures with my Fire HD?

  • Why BAPI when we have RFC?

    I just want to know why in file to rfc scenario (or) http to rfc scenario we import BAPI interface from the sap system (eg-BAPI_PO_CREATE) instead of going with importing relevant RFC interface from sap system? Thanks Suresh.