Damn Small Linux (DSL) Forums
Welcome, Guest. Please login or register.
December 07, 2023, 10:59:04 PM

Login with username, password and session length
News
The new DSL forums are now open.
Stats
11609 Posts in 311 Topics by 291 Members
Latest Member: mik3ca
Search:     Advanced search
* Home Help Search Login Register
Get The Official Damn Small Linux Book. Great VPS hosting provided by Tektonic

+  Damn Small Linux (DSL) Forums
|-+  Damn Small Linux
| |-+  Other Help Topics
| | |-+  Change user name at boot
« previous next »
Pages: [1] Print
Author Topic: Change user name at boot  (Read 11517 times)
jcdq
Newbie
*
Posts: 41


View Profile
« on: August 09, 2016, 07:28:19 AM »

Hello, friends!
How can I change user name (and passwd) at boot?
Logged
CNK
Sr. Member
****
Posts: 269


View Profile
« Reply #1 on: August 11, 2016, 10:52:11 PM »

I'm not sure how you would change the default User Name "DSL" which is started at boot to something else (though you can of course change the password associated with it using the passwd command). There will be a way, but I'm not sure of it.

However if you are happy for the system to change from user DSL to user jcdq during the boot process, you can put an "su jcdq" command at the end of /opt/bootlocal.sh. In theory it will then pause the boot process and ask you for a password, then resume as normal. If it doesn't resume as normal, you will have to look at where in the OS configuration files X is started.

If, as is usual, your home directory as user jcdq is different to /home/dsl, you will need to copy equivalent configuration files to you jcdq home directory, eg. .xinitrc, .jwmrc ...
Logged
jcdq
Newbie
*
Posts: 41


View Profile
« Reply #2 on: August 12, 2016, 04:42:32 AM »

Thank you, CNK. This information is useful for me!  Grin
Logged
Lizavials
Newbie
*
Posts: 9

117323747 rkoliv@yandex.com Lizavials Lizavials
View Profile
« Reply #3 on: January 22, 2017, 10:33:29 PM »

OK, that explains it.  I thought I was "not" seeing things.  I approved your post, assuming that you knew whereof you spake.  And, I do now see the option to change user name.
Logged

Я генерирую добро. (http://www.vixino.autoprichal.ru/)
Pages: [1] Print 
« previous next »
Jump to:  

Powered by SMF 1.1.20 | SMF © 2013, Simple Machines
Mercury design by Bloc