| ErroneousBee  
 
 
 
 
 Group: Members
 Posts: 2
 Joined: June 2006
 | 
|  | Posted: June 05 2006,15:01 |  |  
 | Quote (mikshaw @ June 01 2006,18:36) |  | I haven't tried it, but if I had to I'd do something like this.... 
 echo 's3cr3t' | passwd --stdin username
 | 
 There is no --stdin option on the DSl passwd command
   
 Its a lounge PC thats going to be running though my TV when I get things running, but currently I am carrying a monitor downstrair to try and do an install of gentoo.
 
 I just want a rescue disk at the ready in case things go wrong and I need to repair a partition or something. Then I can slip the DSL CD in, and run upstairs to ssh into the box, chroot to wherever and start fixing stuff. At the moment I have to hang around, guess when DSL has booted, and type "passwd" "s3cr3t" "s3cr3t" before running upstairs.
 
 I'm now thinking a passwd -d root could work.
 |