Getting DSL to ask for a login and password


Forum: HD Install
Topic: Getting DSL to ask for a login and password
started by: jhsu

Posted by jhsu on July 02 2007,23:52
How do I get DSL to ask for a login and password when I start up?
Posted by ^thehatsrule^ on July 03 2007,00:43
see wiki, cheatcodes: < http://damnsmalllinux.org/wiki/index.php/Cheat_Codes >
Posted by jhsu on July 03 2007,03:43
I got into /KNOPPIX/boot/grub/menu.lst, but the system refuses to let me add the "secure" cheat code to the DSL line.

So now what do I do?

Posted by jpeters on July 03 2007,04:54
Edit from root  (e.g., sudo vi ./menu.lst)

note: you edit the copy in the boot directory (mine is in hda1).

Posted by ^thehatsrule^ on July 03 2007,05:30
If your boot directory is also the one that your DSL frugal is installed on, you could edit it with root privileges in /cdrom as many other forum threads have suggested.
Posted by mikshaw on July 03 2007,13:53
...and any time you are anywhere within the /KNOPPIX directory, you can safely assume that no changes are possible to any files. The /KNOPPIX directory is literally the cdrom filesystem, which serves as the read-only portions of DSL. Anything needing to be written in DSL either has been copied from the mounted KNOPPIX filesystem to a disk during installation (the bootloader), or needs to be copied into /ramdisk at boot time or later.
Posted by jhsu on July 16 2007,01:10
OK, I added the "secure" cheatcode to /cdrom/boot/grub/menu.lst file, but all this seemed to do was prompt the system to ask me to reset the dsl and root passwords every time I booted up.

What do I need to do to get the system to remember and screen for the passwords?  I don't see the point of prompting for a password if it's going to be forgotten by the next boot.  Thus, I removed the "secure" cheatcode.  Is there something else I neglected to do, or am I using the wrong cheatcode?

Posted by jhsu on July 16 2007,01:17
My current cheatcodes:

title DSL
kernel /boot/linux24 root=/dev/hda1 quiet vga=normal noacpi noapm nodma noscsi frugal home=hda3 opt=hda3 restore=hda3 root=hda3
initrd /boot/minirt24.gz

Posted by roberts on July 16 2007,02:09
If you want a multiuser system do a traditional hard drive installation and be sure to answer y when prompted for such.
Posted by dougp on Aug. 04 2007,18:45
I have a frugal install and have enabled the BIOS 'user' password - without it you don't even get to see the splashscreen! :-)
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.