Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jan 2009 10:25:28 -0500
From:      Jerry McAllister <jerrymc@msu.edu>
To:        Ivailo Tanusheff <i.tanusheff@procreditbank.bg>
Cc:        freebsd-questions@freebsd.org, Valdis Ziedi?? <valdis.ziedins@gmail.com>, owner-freebsd-questions@freebsd.org
Subject:   Re: change root pasword
Message-ID:  <20090122152528.GA66073@gizmo.acns.msu.edu>
In-Reply-To: <OF586A39A2.BE51F729-ONC2257546.00295748-C2257546.0029842A@procreditbank.bg>
References:  <ad035300901211135l51ea8d71n20b139eca7eb5444@mail.gmail.com> <OF586A39A2.BE51F729-ONC2257546.00295748-C2257546.0029842A@procreditbank.bg>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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@gmail.com> 
> Sent by: owner-freebsd-questions@freebsd.org
> 21.01.2009 22:01
> 
> To
> freebsd-questions@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20090122152528.GA66073>