Damn Small Linux - Not!
The forum for DSL-N
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How do I specify which username to log in?

 
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> HD Install
View previous topic :: View next topic  
Author Message
fishtoprecords



Joined: 31 Jul 2006
Posts: 10
Location: Northern VA,

PostPosted: Mon Jul 31, 2006 12:43 am    Post subject: How do I specify which username to log in? Reply with quote

I've just installed DSL-N on an ancient laptop. It seems to be working fairly well. I mostly want it to be a X-terminal to my other systems.

I've setup the hostname per the help files, but it want to use the 'dsl' username, and I'd rather use the same userid that I use on all my other systems (Mostly Mandriva, some SuSE, an old pre-commercial RedHat, etc.

Where is the default userid kept?
How do I change it?

Thanks
Back to top
View user's profile Send private message Visit poster's website
roberts



Joined: 17 Apr 2006
Posts: 320
Location: OC CA USA

PostPosted: Fri Aug 04, 2006 6:21 pm    Post subject: Reply with quote

What type of install?
Does Setup->Add Users help?
Back to top
View user's profile Send private message Visit poster's website
fishtoprecords



Joined: 31 Jul 2006
Posts: 10
Location: Northern VA,

PostPosted: Sat Aug 05, 2006 4:29 am    Post subject: Reply with quote

Good question, I'm not sure I remember, I did the usual right-click -> install to hard disk and put it all on hda2

Is the installation type logged anywhere?

I did an add user, but when I reboot, it starts up in graphics mode (init level 5) with the user 'dsl' without showing any login screen.

I also tried to userdel dsl, which worked, but then on subsequent reboot things got moody since the scripts rely upon dsl.

I grep'd arround, and didn't see any obvious place to put my prefered login id.

Thanks
Back to top
View user's profile Send private message Visit poster's website
roberts



Joined: 17 Apr 2006
Posts: 320
Location: OC CA USA

PostPosted: Sat Aug 05, 2006 4:38 am    Post subject: Reply with quote

When you install to hard drive, one of the questions that you are prompted for is...

Multi user logins (y/..) ?

Apparently you chose no, i.e., to keep the installation as a single user (dsl) which bypasses the login and goes directly to X.

Had you select multiple user logins, you would have a login prompt.
Back to top
View user's profile Send private message Visit poster's website
fishtoprecords



Joined: 31 Jul 2006
Posts: 10
Location: Northern VA,

PostPosted: Sat Aug 05, 2006 4:49 am    Post subject: Reply with quote

I am sure that I entered y to the multi-user logins, at least the second time I installed DSL-N to my disk. (or maybe it was the third).

Is there a chance that the answer was lost in the script? or is there a way to tell now?
It wouldn't kill me to re-re install, but this is a pretty slow computer (p2-233) so I only want to reinstall to greatly improve things Smile

Thanks
Back to top
View user's profile Send private message Visit poster's website
sankarv



Joined: 05 Aug 2006
Posts: 8

PostPosted: Thu Aug 10, 2006 6:25 am    Post subject: Reply with quote

This might help you.
In the terminal window just give

[i]sudo su[/i]

and then

[i]adduser[/i]

enter the user details again.
Now check after restart.
Back to top
View user's profile Send private message
fishtoprecords



Joined: 31 Jul 2006
Posts: 10
Location: Northern VA,

PostPosted: Sun Aug 20, 2006 10:42 pm    Post subject: Reply with quote

checked /etc/passwd, and the userid was there. so got su,
did a userdel and then a adduser.
Got prompted for all the usual userid, real name, etc.
rebooted. It just loged me in as 'dsl' and did not prompt
for any userid/password.

It is acting as if it doesn't know that there are additional users/userids in the /etc/passwd file,
so I never get a chance to enter anything. I don't want to be user "dsl'
even if I am using it.
Back to top
View user's profile Send private message Visit poster's website
roberts



Joined: 17 Apr 2006
Posts: 320
Location: OC CA USA

PostPosted: Tue Aug 22, 2006 9:00 pm    Post subject: Reply with quote

Found the problem. It is/will be fixed in RC4.
Back to top
View user's profile Send private message Visit poster's website
fishtoprecords



Joined: 31 Jul 2006
Posts: 10
Location: Northern VA,

PostPosted: Sun Sep 24, 2006 12:35 am    Post subject: Reply with quote

Just installed RC4. Got it installed to hard disk, did a setup-> add user, added my self.
Rebooted.

Boots directly into X-windows as user 'dsl' without ever asking for a username.

Inittab is set to 5, so I expect the Xwindows.

I'd be happy if it could be hardcoded to something other than 'dsl' but I don't see which magic config file contains that. But I'd really rather have the usual login/password dialog box when X first starts up.

thanks
Pat
Back to top
View user's profile Send private message Visit poster's website
roberts



Joined: 17 Apr 2006
Posts: 320
Location: OC CA USA

PostPosted: Wed Sep 27, 2006 8:31 pm    Post subject: Reply with quote

During a traditional hard drive install you are prompted to install with multi users (y/n). If so chosen then it will not boot to X but to a traditional login prompt.
Back to top
View user's profile Send private message Visit poster's website
lsd



Joined: 05 Dec 2006
Posts: 4

PostPosted: Thu Dec 07, 2006 1:33 am    Post subject: Reply with quote

[quote="roberts"]During a traditional hard drive install you are prompted to install with multi users (y/n). If so chosen then it will not boot to X but to a traditional login prompt.[/quote]

I just installed rc4 to a vmware HD and that is indeed how it works.

(nice job all round btw!)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> HD Install All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group