List Users,
During the setup of the Linux server, I was testing a lot, to make sure the server worked well for all windows clients. The school needed a server. I choose Samba. In the process I forgot the pswd. How to retrieve pswd?
tnx
On Sun, Sep 11, 2011 at 5:43 AM, Zadikim Yisrael zchryah237@yahoo.comwrote:
List Users,
During the setup of the Linux server, I was testing a lot, to make sure the server worked well for all windows clients. The school needed a server. I choose Samba. In the process I forgot the pswd. How to retrieve pswd?
tnx
--
Reboot into single mode
Am 11.09.2011 14:43, schrieb Zadikim Yisrael:
Hello Zadkim,
The school needed a server. I choose Samba. In the process I forgot the pswd. How to retrieve pswd?
Do you mean the root password? You cannot "recover" it, you will have to set a new one.
Boot into the sigle user mode, type "passwd" and set a new password. If GRUB is protected by a password, you will need it, too. If you do not know it, you will have to boot from an extern medium (CD, USB, ...), mount the hard drive with the root file system and edit /etc/shadow. There you can replace the crypted password for root with nothing, effectivly allowing the root to login without password.
If you can boot from a fedora rescue disk, you can mount the system in rescue mode, chroot into /mnt/sysimage and use passwd to change root's password.
I do apologize for not responding quickly. Fedora Core user pswd is the problem. They (school) needed to pass large files between admin and instructor. When my testing was complete, and everything was working, including NX (remote desktop), I wast called to another job.
I will perform the suggestions below.
Thank you,
Z
From: Adalbert Prokop adalbert.prokop@gmx.de To: Community support for Fedora users users@lists.fedoraproject.org Sent: Sunday, September 11, 2011 10:17 AM Subject: Re: Lost PSWD - How to recover
Am 11.09.2011 14:43, schrieb Zadikim Yisrael:
Hello Zadkim,
The school needed a server. I choose Samba. In the process I forgot the pswd. How to retrieve pswd?
Do you mean the root password? You cannot "recover" it, you will have to set a new one.
Boot into the sigle user mode, type "passwd" and set a new password. If GRUB is protected by a password, you will need it, too. If you do not know it, you will have to boot from an extern medium (CD, USB, ...), mount the hard drive with the root file system and edit /etc/shadow. There you can replace the crypted password for root with nothing, effectivly allowing the root to login without password.
If you can boot from a fedora rescue disk, you can mount the system in rescue mode, chroot into /mnt/sysimage and use passwd to change root's password.
-- best wishes Adalbert
She won' go Warp 7, Cap'n! The batteries are dead!
users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
On 09/25/2011 02:13 PM, Zadikim Yisrael wrote:
I do apologize for not responding quickly. Fedora Core user pswd is the problem. They (school) needed to pass large files between admin and instructor. When my testing was complete, and everything was working, including NX (remote desktop), I wast called to another job.
I will perform the suggestions below.
<snip>
strange that school would ask someone to set up a server and said person doing so, is not familiar with basic commands, especially "man", "info", "sudo", "su", and "passwd".
much less, that said person is not familiar with using 'single user mode', 'recover disk', etc.
you sound more like a security and system risk.
over looking such, you first need to run these commands;
man passwd or info passwd
man su or info su
man sudo or info sudo
either will show you that, when run as 'root user', command;
passwd username newpassword
will change password for username.