change root pasword

Jerry McAllister jerrymc at msu.edu
Thu Jan 22 07:26:25 PST 2009


On Thu, Jan 22, 2009 at 09:33:26AM +0200, Ivailo Tanusheff wrote:

> Hi,
> 
> If you have a physical access to the server - reboot in single user mode 
> and change the password.
> Other option is to login on the console with user toor and no password and 
> change it then.

????   If you have made user toor able to be logged in to without a password, 
then I would be surprised if your system isn't riddled with rootkits and other
trash and if it isn't, it deserves to be.   You should no more make toor or 
any other id accessible without password or some authentication/authorization
required control than you should do it for root.

Good grief!!

Otherwise, the first item, single user boot and set the root password
is the correct answer.   Note, you will have to remount / for writes.

  mount -u /
 
////jerry


 
> 
> You can change the password by passwd command, which syntax you may find 
> in internet or just type man passwd.
> 
> Regards,
> 
> Ivailo Tanusheff
> Deputy Head of IT Department
> ProCredit Bank (Bulgaria) AD
> 
> Valdis Ziedi?? <valdis.ziedins at gmail.com> 
> Sent by: owner-freebsd-questions at freebsd.org
> 21.01.2009 22:01
> 
> To
> freebsd-questions at FreeBSD.org
> cc
> 
> Subject
> change root pasword
> 
> hi,
> i'm new your product user! my first admin leave new server with freebsd!
> someone change root pasword can you help me step by step change this
> pasword! i'll be thankfull!
> 
> i'm now studing your product but if you can help me it would be nice!
> 
> best regart valdis
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list