Solaris recovery and home: what I miss?
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I need to recovery solaris11,the incorrect permission of user( some bad thing with uid..) cannot allow ssh!
So I did
reboot
boot from cd-installation select language and then shell
I import my rpool OK
zpool import -f rpool
I mount my BE
beadm mount -b mybe /mnt
I chroot on /mnt
chroot /mnt /bin/bash
Then I correct the permission and..OK
usermod -u 109 myuser
Now I want to apply on homedir..
chown -R myuser /export/home/myuser
But export/home is empty!
zpool list
zpool status
Report no error.
What I miss?
solaris
add a comment |Â
up vote
1
down vote
favorite
I need to recovery solaris11,the incorrect permission of user( some bad thing with uid..) cannot allow ssh!
So I did
reboot
boot from cd-installation select language and then shell
I import my rpool OK
zpool import -f rpool
I mount my BE
beadm mount -b mybe /mnt
I chroot on /mnt
chroot /mnt /bin/bash
Then I correct the permission and..OK
usermod -u 109 myuser
Now I want to apply on homedir..
chown -R myuser /export/home/myuser
But export/home is empty!
zpool list
zpool status
Report no error.
What I miss?
solaris
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I need to recovery solaris11,the incorrect permission of user( some bad thing with uid..) cannot allow ssh!
So I did
reboot
boot from cd-installation select language and then shell
I import my rpool OK
zpool import -f rpool
I mount my BE
beadm mount -b mybe /mnt
I chroot on /mnt
chroot /mnt /bin/bash
Then I correct the permission and..OK
usermod -u 109 myuser
Now I want to apply on homedir..
chown -R myuser /export/home/myuser
But export/home is empty!
zpool list
zpool status
Report no error.
What I miss?
solaris
I need to recovery solaris11,the incorrect permission of user( some bad thing with uid..) cannot allow ssh!
So I did
reboot
boot from cd-installation select language and then shell
I import my rpool OK
zpool import -f rpool
I mount my BE
beadm mount -b mybe /mnt
I chroot on /mnt
chroot /mnt /bin/bash
Then I correct the permission and..OK
usermod -u 109 myuser
Now I want to apply on homedir..
chown -R myuser /export/home/myuser
But export/home is empty!
zpool list
zpool status
Report no error.
What I miss?
solaris
asked Feb 25 at 18:12
elbarna
3,80393477
3,80393477
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
Solution found
zfs set mountpoint=/mnt/export/home export/home
mount /mnt/export/home
I made my changes
chroot /mnt
chown myuser /export/home/myuser
then exit,and reset mountpoint
zfs set mountpoint=/export/home export/home
beadm umount mybe
Reboot and works
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
Solution found
zfs set mountpoint=/mnt/export/home export/home
mount /mnt/export/home
I made my changes
chroot /mnt
chown myuser /export/home/myuser
then exit,and reset mountpoint
zfs set mountpoint=/export/home export/home
beadm umount mybe
Reboot and works
add a comment |Â
up vote
1
down vote
accepted
Solution found
zfs set mountpoint=/mnt/export/home export/home
mount /mnt/export/home
I made my changes
chroot /mnt
chown myuser /export/home/myuser
then exit,and reset mountpoint
zfs set mountpoint=/export/home export/home
beadm umount mybe
Reboot and works
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
Solution found
zfs set mountpoint=/mnt/export/home export/home
mount /mnt/export/home
I made my changes
chroot /mnt
chown myuser /export/home/myuser
then exit,and reset mountpoint
zfs set mountpoint=/export/home export/home
beadm umount mybe
Reboot and works
Solution found
zfs set mountpoint=/mnt/export/home export/home
mount /mnt/export/home
I made my changes
chroot /mnt
chown myuser /export/home/myuser
then exit,and reset mountpoint
zfs set mountpoint=/export/home export/home
beadm umount mybe
Reboot and works
answered Feb 25 at 18:25
elbarna
3,80393477
3,80393477
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f426508%2fsolaris-recovery-and-home-what-i-miss%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password