You need to get on the system one way or another as superuser (root). Then edit /etc/shadow exactly as MadeInGermany says to remove the hashed password field for user root.
Usually superuser access is achieved by booting from DVD (installation media) into single user:
which will not take you into the installation routine but allow you a shell to make changes.
This is easier if you are running simple UFS filesystems.
If your filesystems are ZFS then post back here and we'll tell you how to do it.
Dear Forum savants,
I have a problem that I am not sure how to overcome. Two years ago I had
a friend build me computer with a linux os (red hat) for learning purposes. It happens to have an oracle server on it as well... Anyway , because of personal reasons, I lost complete interest in... (5 Replies)
i forgot my password on a HP-UX 9.xx machine. is there a possible way of changing it without knowing the root passwd?
I would do it with a boot disk and chroot but I dont have a boot disk available....
any ideas?
thanks!!
Paul Tittel (1 Reply)
Hello,
Is there a way to reset the "root" unix password, pretty much like you would do in linux by going into single user mode? :confused: :confused:
Thank you in advance. (5 Replies)
Bit of a strange problem I have never come across before..
I can log into the workstation going through the server as it is a trusted host but when I try and connect to the workstation through SSH or RSH directly it will not take the password, I changed the password when I logged in the machine... (5 Replies)
hi
i have a RHEL 4 and have forgot root passwd
tried to boot in by singel user and then changing the passwd but it's not letting me do that ......throwing some weird error as .......manipulation
i also tried to make a new user from CLI but even though it's not letting me in from that user as... (12 Replies)
hello friends,
I am currently using solaris 10.
I have lost the root password.
Can you please give me a step by step procedure on how to set the password again. (11 Replies)
Hello All,
I have several solaris boxes running Solaris 8. When changing root passwords on them, all will simply ask for the new root password to change and of course to re-type the new password. One of the systems however asks for the existing root password before it will display the new password... (8 Replies)
I have VPS openSUSE 12.2
I forgot MYSQL password root
when i run in CMD:
> mysql
Error Message Show :
>> ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) (6 Replies)
i do not have root on a solairs 10 server , however i do have the root role, i was wondering if I can change the root password as a a role with the passwd command? I have not tried yet.
and do i have to use the # chgkey -p afterwards?
i need to patch is why i am asking.
thanks (1 Reply)
Discussion started by: goya
1 Replies
LEARN ABOUT FREEBSD
zfsloader
ZFSLOADER(8) BSD System Manager's Manual ZFSLOADER(8)NAME
zfsloader -- kernel bootstrapping final stage
DESCRIPTION
zfsloader is an extended variant of loader(8) with added support for booting from ZFS. This document describes only differences from
loader(8).
ZFS FEATURES
zfsloader supports the following format for specifying ZFS filesystems which can be used wherever loader(8) refers to a device specification:
zfs:pool/filesystem:
where pool/filesystem is a ZFS filesystem name as described in zfs(8).
If /etc/fstab does not have an entry for the root filesystem and vfs.root.mountfrom is not set, but currdev refers to a ZFS filesystem, then
zfsloader will instruct kernel to use that filesystem as the root filesystem.
ZFS COMMAND EXTENSIONS
lsdev [-v]
Lists ZFS pools in addition to disks and partitions. Adding -v shows more ZFS pool details in a format that resembles zpool status
output.
lszfs filesystem
A ZFS extended command that can be used to explore the ZFS filesystem hierarchy in a pool. Lists the immediate children of the
filesystem. The filesystem hierarchy is rooted at a filesystem with the same name as the pool.
FILES
/boot/zfsloader zfsloader itself.
EXAMPLES
Set the default device used for loading a kernel from a ZFS filesystem:
set currdev=zfs:tank/ROOT/knowngood:
SEE ALSO gptzfsboot(8), loader(8), zfs(8), zfsboot(8), zfsloader(8), zpool(8)HISTORY
The zfsloader first appeared in FreeBSD 7.3.
AUTHORS
This manual page was written by Andriy Gapon <avg@FreeBSD.org>.
BSD September 15, 2014 BSD