Damn Small Linux (DSL) Forums
Welcome,
Guest
. Please
login
or
register
.
December 07, 2023, 10:59:04 PM
1 Hour
1 Day
1 Week
1 Month
Forever
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
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
]
Author
Topic: Change user name at boot (Read 11517 times)
jcdq
Newbie
Posts: 41
Change user name at boot
«
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
Re: Change user name at boot
«
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
Change user name at boot
«
Reply #2 on:
August 12, 2016, 04:42:32 AM »
Thank you, CNK. This information is useful for me!
Logged
Lizavials
Newbie
Posts: 9
Change user name at boot
«
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
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Damn Small Linux
-----------------------------
=> Site News
=> Release Candidates
=> User Feedback
=> DSL Tips and Tricks
=> USB booting
=> DSL Ideas and Suggestions
=> DSL Embedded
=> HD Install
=> Laptops
=> Other Help Topics
-----------------------------
MyDSL Extensions
-----------------------------
=> The Testing Area
=> Apps
=> Games
=> Gtk2
=> Multimedia
=> Net
=> System
=> Themes
=> Window Managers
=> Extension Development
-----------------------------
DSL Not
-----------------------------
=> DSL-N
-----------------------------
Non-DSL Topics
-----------------------------
=> water cooler