Adding and logging in as a user


Forum: HD Install
Topic: Adding and logging in as a user
started by: jhsu

Posted by jhsu on July 09 2007,02:42
How do I add a user and then log in as the user?

So far, these are the only steps I know:
1.  Go to "home/dsl/.filetool.lst" to access the list of directories to be saved.
2.  Add the following directories to the list: "/etc/password", "/etc/shadow", and "/home/<username>".
3.  Go to DSL Menu -> System -> Add Users

What else do I need to do?  I understand that I need to add in the "secure" cheat code to the menu.lst file, but going to "/KNOPPIX/boot/grub/menu.lst" results in the system refusing to let me edit the file.  The other location of the menu.lst file is in /cdrom/boot/grub/, and that's the part that gets replaced each time I upgrade.  (And I still need to upgrade to version 3.4.)

Posted by jhsu on July 09 2007,02:56
OK, I added the secure cheat code to the default DSL boot cheat codes in "/cdrom/boot/grub/menu.lst".  When I rebooted, I was asked to set passwords for the root and dsl users.  However, I was NOT asked to log in as <username>.  What do I need to do to get the prompt for logging in as another user?

Also, when I upgrade to DSL 3.4, will I lose the root password, dsl password, and the <username> files?  I edited the menu.lst file in the /cdrom/boot/grub directory.  Does the contents of this directory get replaced in frugal DSL upgrades?

Posted by roberts on July 09 2007,06:38
Frugal upgrades, i.e., answering 'n' to the format question, does not overwrite the grub files, only the boot files needed by dsl.

Actual login is not supported on a live CD or emulation thereof.

The secure option is for ssh or other users accessing the system after boot, and for protection against other users trying to access your system after boot.

For boot time login prompt use traditional hard drive installation.

Posted by jhsu on July 10 2007,01:47
Quote (roberts @ July 09 2007,02:38)

In other words, DSL Menu -> System -> AddUsers doesn't do anything in a frugal installation other than add a directory to "/ramdisk/home".  Correct?

In other words, the "secure" cheat code is useless in a frugal installation.  Correct?

In other words, only the root and dsl users apply in a frugal installation.  Correct?

Sorry to ask such basic questions, but the documentation is unclear.

Posted by roberts on July 10 2007,03:50
Perhaps you missed my prior post or don't understand, so I will quote again for you.

Quote
The secure option is for ssh or other users (addusers) accessing the system after boot, and for protection against other users trying to access your system after boot.

For boot time login prompt use traditional hard drive
installation.


Addusers works for both installation types, secure would natually only apply to live CD and frugal. Take some time to reflect on this rather than fire off your "useless" "doesn't do anything" post. There are better ways to ask a question than to be so rude.

Posted by mikshaw on July 10 2007,05:12
In other words, you can still log in as other users after booting DSL, for example by using the su command.

The frugal system is designed around the user dsl. This includes myDSL, backup/restore, persistent home, and (i think) some scripts that utilize the sudo command. It is possible to modify a frugal DSL, without remastering, to allow a login prompt rather than having user dsl automatically logged in. I have no experience doing this with additional users, though, so I'm not going to go into detail. I can't see any logical reason why one would want to bother logging in as another regular user in frugal, to be honest with you, apart from just wanting a [hearts]special[/hearts] user name. If you're thinking about a multiuser setup, you should probably consider a traditional install, or a different distro. Frugal DSL isn't the most secure thing available when it comes to multiple people accessing the same machine.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.