Root Password Problem
Hi ,
I am new to solaris . I installed the solaris 10 (beta 7) on P-111 machine. I start installation with Intractive installation but after 1 cd complition , OS reboots but no GUI. I tried 2-3 times.
After that i choose the option Jump start and installation completes. During the installation root password was not asked.
After installation ,when i login it just ask user not for password.
I can login in CDE session but not able in Java Desktop Environment.
Now I want to add user with the help of "Solaris management console" utility. But it ask for Root password.
Now please guide me how i can choose the Root password and how i can login in the Java desktop environment.
Regards
Gorayen
You can set your password with the passwd command
Similar Messages
-
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 HaussI 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. -
when using sudo command i can't remember my password how do i reset it ? what i would like to do is install apache on my desktop mac to enable me to use wordpress offline.
no this did not help.
I am the only user on my desktop so at loging i hit enter. but when in terminal using the sudo command it asks for root password which i cant remember. -
Root password problem in Solaris 10
Hi All,
Have anyone noticed this problem before?
I've set the password on Solaris for the root user as "rootroot123". However, I'm able to login with any password that starts with rootroot (i.e. rootroot*)...
My solaris version is:
SunOS mynode01 5.10 Generic_138888-03 sun4u sparc SUNW,Netra-240
Is there a bug report in Solaris regarding this or any way to solve it?
Thanx,
MahmoodI 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. -
Login as Root password problem (the changed password isn't working!)
I have enabled root user. I've changed my password for root user a couple of time and I am still not cable to login as root!! (username: root).
Any thoughts and help? thanks a lot! Alon.Hello Stephen,
Change of password is not done via configtool. Configtool secure store just stores the current password which is taken by SDM during the deployment.
To change the password of the administrator user, you will need to enable SAP*. Please follow note Note 669848.
1. open the configtool: C:\usr\sap\<InstenceID>\JC<xx>\j2ee\configtool --> configtool.bat
ex: C:\usr\sap\J9E\JC09\j2ee\configtool ---> configtool
2. Activate the "super admin" and enter password(this is your choice) in configtool properties:
In Config tool: cluster-data>Global Server configuration>services--> com.sap.security.core.ume.service
find below ume properties and change values as i mentioned
ume.superadmin.activated=TRUE
ume.superadmin.password= < enter password>
3. Save the changes in configtool. click on Save button.
4. Stop the j2ee engine.
5. Start the j2ee engine.
6. Now you login to UME with username "SAP*" and password "what you entered in configtool"
7. After logging into UME Search for user "administrator" then unlock this user; or if you want to change password you can change it.
8. Goto config tool follow step 1:
9. Follow step2: and change ume property values as below:
ume.superadmin.activated=FALSE
ume.superadmin.password= (note: seta as default or blank)
10. Save the change setting in configtool.
11. Restart the j2ee engine ( Stop and Start).
12. Now login to user as "Administrator"; you will succussfully loging into ume;
Hope this helps.
Regards,
Snehal -
Root password problem by passwd root
The password whas changed by typing :
%>passwd root
After this the system worked fine 3 days...
On first reboot i can NOT login like root...
Please help me...Can you boot from the floopy disk,then mount the system,and change the file passwd...
-
Sun 7120 - problems with resetting root password?
We have just taken delivery of a Sun 7120 system, did the initial config today no problems, then came to log in to tweak it and it refused my root password. Logged on the serial console with the same password fine, logged out and now it won't let me back in, just says "login incorrect". Have reset the CLR PW jumper on the mainboard, and rebooted and it then comes up in the preboot system, but reports errors about the ILOM. After powering down and removing the jumper, the root password is still there!
Output on bootup attached below, can anyone help?
Cheers
Primary Bootstrap.
U-Boot 1.1.4
Custom AST2100 U-Boot 3.0 (Aug 17 2010 - 01:30:05) r58107
DRAM: 119 MB
Flash bank 0 at 10000000 has 32MB in 256 sectors (chipSize 1<<25, ratio 1, bufSz
1024).
Flash: 32 MB
VUART1 at port 0x03f8, SerIRQ[4] disabled
VUART2 at port 0x02f8, SerIRQ[3] disabled
Protecting U-Boot flash sectors; monitor_base=10040000.
board_findGpioNum(): ERROR, 'BIOS_TOP_BLOCK_LOCK' does not match any pin.
board_findGpioNum(): ERROR, 'SP_PECI_ENABLE' does not match any pin.
H/W: Lynxplus Service Processor; SOC: AST2100 Rev. 02 ('A3')
PWC_SP_Broken_OD = 0; ARM restart caused by: power-on
The host is OFF(S5) (hostWantsPwr=0, powerGood=0,
allowPwrOn=0|0, outOfReset=0, fatalError=0).
Reset straps=0x8c819180, def. H-PLL=264 MHz, CPU/AHB=2:1, boot CS0# normal spe
ed
PCI w/VGA noVBIOS; NOR 38ns/byte; DRAM clock is M-PLL: 264 MHz (DDR2-528)
DRAM: 128MB data - 8MB VGA, 32-bit noECC, 2 BA 10 CA, CL=4 BL=4 ap=1, 61440 us
refr
Board Revision - 8d
Date: 2011-01-19 (Wednesday) Time: 7:04:21
Reading FRUID...Valid CRC.
ethaddr=00:21:28:3D:BD:9A
eth1addr=00:21:28:3D:BD:9B
Net: MAC1 PHY not ready faradaynic#0, faradaynic#1
Enter Diagnostics Mode ['q'uick/'n'ormal(default)/e'x'tended(manufacturing mode)
] ..... 0
Diagnostics Mode - NORMAL
<DIAGS> Memory Data Bus Test ... PASSED
<DIAGS> Memory Address Bus Test ... PASSED
I2C Probe Test - Motherboard
Bus Device Address Result
=== ============================ ======= ======
2 Sys FRUID (U3003) 0xA0 PASSED
2 Power CPLD (U3301) 0x4E PASSED
2 CPU0 Fault LED's (U3001) 0x40 PASSED
2 CPU1 Fault LED's (U3002) 0x42 PASSED
2 PCA9555 (Misc) (U3005) 0x44 PASSED
2 DIMM IMAX (U3102) 0x12 PASSED
6 Bank Panel Led's (U2701) 0xC6 PASSED
6 DS1338(RTC) ( U803) 0xD0 PASSED
6 Temp Sensor1(LM75) (U3011) 0x90 PASSED
6 Temp Sensor2(LM75) (U3012) 0x92 PASSED
6 Temp Sensor3(LM75) (U3010) 0x94 PASSED
I2C Probe Test - Chassis(2U HYDE24)
PDB Board
Bus Device Address Result
=== ============================ ======= ======
1 PCA9548 Mux (U0202) 0xE0 PASSED
1 PDB FRUID (U0203) 0xAA PASSED
1 MAX7313 (U0201) 0x40 PASSED
1 MAX7315 (U1001) 0x46 PASSED
Power Supply 0
BUS Port DEVICE Address Result
=== ==== ==================== ======= ======
1 0 PS 0 FRUID ( - ) 0xAC PASSED
1 0 PS 0 CTRL ( - ) 0x7C PASSED
Power Supply 1
BUS Port DEVICE Address Result
=== ==== ==================== ======= ======
1 1 PS 1 FRUID ( - ) 0xAC PASSED
1 1 PS 1 CTRL ( - ) 0x7C PASSED
Unified Fan Module
BUS Port DEVICE Address Result
=== ==== ==================== ======= ======
1 2 FT 0 FRUID (U0203) 0xAC PASSED
1 2 FT 0 MAX7313 (U0201) 0x42 PASSED
1 2 FT 0 ADT7462 (U0202) 0xB8 PASSED
1 3 FT 1 MAX7313 (U0501) 0x42 PASSED
1 3 FT 1 ADT7462 (U0502) 0xB8 PASSED
24 Disk Backplane
BUS Port DEVICE Address Result
=== ==== ==================== ======= ======
1 4 BP MAX7313 ( U8) 0x44 PASSED
1 4 BP FRUID ( U6) 0xAC PASSED
LSI Daughter Card
BUS Port DEVICE Address Result
=== ==== ==================== ======= ======
1 4 EXP FRUID ( U07) 0xA0 PASSED
1 4 EXP Tmp Sens ( U04) 0x98 PASSED
1 4 EXP PCA9538 ( U10) 0xE6 PASSED
1 4 EXP EMP570 ( U05) 0x50 PASSED
Connector Board
BUS Port DEVICE Address Result
=== ==== ==================== ======= ======
1 4 CONN FRUID ( U05) 0xA2 PASSED
<DIAGS> PHY #0 R/W Test ... PASSED
<DIAGS> PHY #0 Link Status ... FAILED
MAC1 PHY not ready <DIAGS> ETHERNET PHY #0, Internal Loopback Test ... RX error
status = 0xB00905C0
FAILED
No data received
<DIAGS> USB 1.1 Test ... PASSED
<DIAGS>Access to BIOS Flash ... PASSED
<DIAGS> Testing PowerCPLD version ... PASSED
checking for abnormal reboots: 0:0.
abnormal reboot found -- too long, ignore
Booting linux in 3 seconds...
Un-Protect Flash Bank # 1
flctrl: Recovery U-Boot (r58107) at 0x10040000 is valid (min. r51654).
flctrl: Current U-Boot is not the main one.
bootpkg: Not safe to boot ILOM (stat=1). Check Preboot "vers" command,
then reload ILOM ("net flash") as needed.
ILOM Pre-boot Menu
Type "h" and [Enter] for a list of commands, or "?" [Enter] for
command-line key bindings. Type "h cmd" for summary of 'cmd' command.
Idle time-out is disabled. Set 'bootretry' to enable it.
This is Recovery U-Boot. Use "vers all" to check flash images.
Preboot> vers all
Main ILOM image at 0x100a0000:
Service Processor Firmware
Version = 3.0.9.27, for SP type 52
Date ='Tue Aug 17 01:54:07 EDT 2010', Build ='r58107'
Name ='sysbios'
uboot @0a0000 OK, kernel @102000 OK, root @20d684 OK,
sysbios @c9b6c4 OK, pwrseq @d51aa2 OK, pbsw @d6096c OK
coredump @1500000 8192 KiB, persist @1d00000 2048 KiB, params @1f00000 1024
KiB
Recovery firmware and data:
Normal U-Boot at 0x100a0000:
Date ='Aug 17 2010', Build ='r58107'
uboot @0a0000 OK
Recovery U-Boot at 0x10040000:
Date ='Aug 17 2010', Build ='r58107'
uboot @040000 OK
Primary Bootstrap build: r52205
Permanent environment: not foundI don't think it is. The jumper you saw is likely the ILOM jumper. The ILOM is different than the BUI(OS) password so they can be reset/changed independently.
-
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? -
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 thanksHi,
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,
Emmadf -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,
BrianOne 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. -
I have a password problem. After importing data and settings from one MacBook Pro to a new one, I have to put my iCloud password in when re-starting the new computer, but the password from the old computer in when waking the computer from sleep. I want to use my iCloud password on both computers consistently. How can I fix this?
The only other place to change a password for the computer login is in Users & Groups preferences. But I don't really know enough here to fix your problem. You can try fixing the keychain:
iCloud- Frequently asked questions about iCloud Keychain
Tutorial: Resolving Keychain Issues
If you can't access your keychain, or forget your password If you can't get into your keychain file because you've forgotten your password or the keychain file appears to be corrupt, there are a couple of options.
First, if you've forgotten your password, you can use the "Keychain First Aid" utility to make the keychain password the same as the login password. This can be accomplished via the following process:
1. Open Keychain Access (located in Applications/Utilities)
2. Go to the "Keychain Access" menu and select "Preferences"
3. Click the "First Aid" tab
4. Make sure the "Synchronize login keychain password" box is checked
5. Close the Preferences window
6. Go to the "Keychain Access" menu and select "Keychain First Aid"
7. Enter your username and password
8. Click the "Repair" button
The second option is to completely delete your keychain then recreate it. This routine is useful if your keychain appears to be corrupt or otherwise inaccessible. This can be accomplished as follows:
1. Launch Keychain Access (located in Applications/Utilities)
2. Click "Show Keychains" in the lower-left corner of the window.
3. Select the problematic keychain from the left-hand pane.
4. Navigate to the "File" menu and select "Delete Keychain '(name of keychain)'"
5. Check all options for deletion and press "OK"
6. Create a new keychain by going to the "File" menu, then "New" and selecting
"New Keychain"
7. You can now make this keychain your default if you desire by selecting it, then
going to the "File" menu and selecting "Make '(name of keychain)' Default"
Login as root and perform repair In some cases, problems with keychains can only be resolved when logged in as the root user.
First, you want to enable the root user:
1. OS X Mountain Lion: Enable and disable the root user
2. OS X Lion: Enable and disable the root user
3. Mac OS X 10.6: Enabling the root user
4. Enabling and using the "root" user in Mac OS X
After enabling the root user, and logging in under this account, again open Keychain Access. First attempt repairs using Keychain First Aid, and failing that, delete then recreate the keychain as described above while logged in as root.
Persistently asked for stored passwords If you are persistently asked for passwords in various applications that you have specified should be remembered in a keychain, your "login" keychain may not be active for one reason or another.
Navigate to ~/Library/Keychains/ (this is the Library folder inside your user's home folder). Find the file named "login.keychain" and double-click it.
Failing that, select the "login" keychain within the Keychain Access application and make sure it is the default keychain by going to the "File" menu and selecting "Make 'Login' Default"
Turn off Keychain synchronization in applications having problems If specific applications are experiencing issues when accessing password-protected material, the Keychain may be to blame.
The above comes from an article published on MacFixit.com. -
% 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 -
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
Maybe you are looking for
-
I am in Saudi and trying to download navigon middle east. Every time I try to buy the app it will show up, says waiting and disappears. How can I get around it and not get lost on these crazy roads?
-
Replacing a SQL Server 2005 Express Database with a SQL CE 3.5 database
I am just googling for the past few days to find out the answer to this problem.. I have an app developed over few man-years of effort - with vb.net and SQL 2005 Express Db. Now we use VS 2010 sp1 with .net 3.5 sp1. We have used plain T-SQL commands
-
Trigger event for badi ac_document
Hello, I want to use BADI AC_DOCUMENT for text substitution following the note 386896. I create a new implementation but when I create a new FI Document the BADI is not triggered correctly. How can I know where the BADI is called in ABAP program ? Th
-
Ip http authentication aaa login-authentication doesnt work
I have "ip tacacs source-interface Vlan1 " in my config because without it enabled I cant ssh in with tacacs. However, with that line in the config, I cant access via https unless I have the line "ip http authentication local"
-
Create does not show up on any song when I play it in my music
It will say at the bottom repeat and shuffle but not create to make a radio station. Please help.