Bug #3072
openGUI of TimeSlider will not start until password change
0%
Description
As reported by openindiana@redharvey.com :
boot from openindiana 151a5 desktop dvd
default keyboard, language
launch "Install Openindiana"
Select a disk, use whole disk.
New York. English.
Set root password, including a "," character. (Is the "," actually necessary? Not sure.)
Create a user account with the same pass.
Unfortunately, the installer doesn't give you any option to eject CD. Just do it when you can, or sudo eject later.
After it boots for the first time, login as jsmith (while still at physical console).
(if needed) sudo eject
##############################
- Probably can skip everything below this, between these two markers.
##############################
Set yourself a static IP as follows:
adapted from http://wiki.openindiana.org/oi/Static+IP
ifconfig -a
(Make a note of the interface name, you're going to need it.
in this case, I have bge0)
sudo svcadm disable svc:/network/physical:nwam
sudo ipadm create-addr -T static -a 192.168.1.50/24 bge0/v4static
sudo route -p add default 192.168.1.1
sudo vi /etc/hosts /etc/resolv.conf
sudo cp /etc/nsswitch.dns /etc/nsswitch.conf
sudo svcadm enable svc:/network/physical:default
Now you should be able to ssh in.
Install your ssh keys, if you're going to.
Make it so jsmith doesn't need password for sudo (you're going to need this for cron to set time, at least.)
sudo visudo
Go to the end, find the "jsmith" line, and change it:
(before) jsmith ALL=(ALL) ALL
(after) jsmith ALL=(ALL) NOPASSWD: ALL
Enable compression and disable ZIL
for fs in rpool/ROOT/openindiana rpool/export rpool/export/home rpool/export/home/jsmith ; do sudo zfs set compression=on $fs ; sudo zfs set sync=disabled $fs ; done
Apply updates
sudo pkg update
(At the time of this writing, No updates available.)
- Probably can skip everything above this, between these two markers. ##############################
Enable snapshots
In the GUI, go to System / Administration / Time Slider
Note: For some reason this wouldn't start. No matter how many times I try to launch it, type in password, it just disappears.
It says "Starting Time Slider" in the task bar, for a few seconds, and disappears.
Launch a Terminal. Become root. (sudo su -)
passwd jsmith (make up something temporary)
passwd root (make up something temporary)
passwd jsmith (put it back to the original value)
passwd root (put it back to the original value)
Now try launching Time Slider again. Magically it works. That is a bug, my friends.
Updated by Gary Mills about 11 years ago
Is this not just the problem of the root password being expired initially? In that case, changing the root password also unexpires it.