-
passwd knoppix
I Was wondering if I was to put the following command into a script that I called at boot time, would it work?
passwd knoppix $'\n' 'NewPassword' $'\n' 'NewPassword' $'\n'
Trying to get the password automatically set upon boot to a default password of my choosing (Yes I know it's insecure, but it's not something I'm worried about the security on)
The $'n' is supposed to be a carriage return (Enter I'm hoping).
Will this this work or is there something else I need to do to do what I want this to do? I'm not at a machine I can test it on at the moment or else I wouldn't have posted that
-
Why do you need the password?
You want to start a sshd? Then start it from the hdd while customizing, create the keys, set the password and stop it. And create the compressed fs.
Bye
Similar Threads
-
By pureone in forum Tips and Tricks
Replies: 2
Last Post: 02-24-2006, 04:02 AM
-
By ERsKA in forum Networking
Replies: 5
Last Post: 09-17-2004, 10:53 AM
-
By Cerebrus in forum General Support
Replies: 4
Last Post: 06-21-2004, 01:49 PM
-
By mrmdls in forum Networking
Replies: 3
Last Post: 05-27-2003, 11:43 PM
-
By Phredd in forum Customising & Remastering
Replies: 4
Last Post: 03-07-2003, 07:48 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

DEC 3010A Vintage Ceramic chip - ALL LEGS INTACT (BO)
$100.00

Vintage DEC VT100 Series Terminal (Powers On)
$499.99

Vintage DEC Digital Starion 200 Desktop PC Powers On Boots To BIOS NO HDD - DW
$269.99

DEC T2053-DE MS65A-DA 128MB VAX 6000 Memory Board Gold Scrap Vintage
$69.99

DEC PDP 11/05 or 11/10 system complete, H900 box, vintage, Digital Equip Corp
$3509.00

Vintage DEC Digital M8048 5013995C PDP-11 LSI 11 ROM (B3)
$149.99

Vintage DEC LK201 Digital Equipment Corporation (DEC) LK201-AA Computer Keyboard
$149.99

VINTAGE DEC LA34/ LA100 SERIES KEYBOARD W/NUMERIC PAD 70-17864-01C
$140.00

Vintage DEC/Mostek memory systems MK 8015 AA-00 6805-08015 1100 REV C(B7)
$279.99

DEC DIGITAL VINTAGE M7477
$100.00