On 7 Mar 2013, at 11:18, g wrote:

> *please do not include my email address when you reply*

* please don't whine about details when you're receiving help*

> On 03/07/2013 07:49 AM, Sergio Ballestrero wrote:
>> On 7 Mar 2013, at 05:12, g wrote:
> <<>>
>>> so how do i go about setting passwords back?
>> 
>> 
>> try to replace it (use chroot and passwd) instead of just removing it.
> ---
> thank you for replying. but,
> 
> replace what?

the root password maybe? ;-)

>> also, you may not need the live CD, just boot with init=/bin/bash and
> 
> you lost me. pass "boot with init=/bin/bash" to 'how/what/where'.

kernel boot parameter from grub, where else ?

>> then mount -oremount,rw /
> 
> again, 'how/what/where' ?

remount already knows from where. root is already mounted but R/O, so you need 
to remount it R/W to change the /etc/shadow (using passwd)

Cheers,
  Sergio

-- 
 Sergio Ballestrero  - http://physics.uj.ac.za/psiwiki/Ballestrero
 University of Johannesburg, Physics Department
 ATLAS TDAQ sysadmin team - Office:75282 OnCall:164851






Reply via email to