LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-09-2003, 07:54 PM   #1
q_re_us
LQ Newbie
 
Registered: Jul 2003
Location: Ottawa, ON CANADA
Posts: 17

Rep: Reputation: 0
can only login as root


I installed Debian 2.1 on a 486 w/ 8 MB of ram. I have 2 newbie questions actually:

1. For some reason I can only login as root.
I created a user with "useradd" (with the "-p" , and other parameters). Checked the /etc/passwd file, the user was there and checked my password in the etc/shadow file to make sure I was using the correct one.
Still can't login.

2. I removed X in all startup scripts as I dont plan to use it. How do I find and delete all the files associated with it (I was using xdm) to reclaim the space on my humongous 695 MB HD?

Thanks
 
Old 11-10-2003, 06:23 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
I have no great advice on question 1, but for your second question I suggest you start by doing a dpkg -l | grep xfree86, and do an apt-get remove packagename for each of the packages that you want to have removed. Then use dselect to browse through the installed packages and hit the minus key on your keyboard for each X application that is installed and that you want to remove.

Håkan
 
Old 11-11-2003, 01:41 AM   #3
Y0jiMb0
Member
 
Registered: Jul 2003
Location: Valencia (Spain)
Distribution: slackware 11, FEDORA CORE 4, RHEL3, Gentoo...
Posts: 361

Rep: Reputation: 30
hi!
concerning question 1), I can only think you did something wrong creting the user
What is the EXACT command you wrote to create the user? (if you don't remember, try it again, and we will see )
Btw, didn't you create an user along the installation?
Regards
 
Old 11-11-2003, 12:10 PM   #4
q_re_us
LQ Newbie
 
Registered: Jul 2003
Location: Ottawa, ON CANADA
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks for your replies!

Re: question#1

I used "useradd -m -g users -p blahblah -s /bin/bash ed" The user "ed" is in the passwd file so it was created, as far as I know.

hw-tph: I will try your suggestions this weekend

Regards
 
Old 11-14-2003, 04:39 AM   #5
Y0jiMb0
Member
 
Registered: Jul 2003
Location: Valencia (Spain)
Distribution: slackware 11, FEDORA CORE 4, RHEL3, Gentoo...
Posts: 361

Rep: Reputation: 30
Quote:
I used "useradd -m -g users -p blahblah -s /bin/bash ed" The user "ed" is in the passwd file so it was created, as far as I know.
note that the argument of '-p' es the output of the crypt function (see 'man useradd')
you should try
Code:
useradd -m -g users -s /bin/bash ed
now you have a disabled user; to enable it
Code:
passwd ed
that should work.
Regards
 
Old 11-15-2003, 09:23 AM   #6
q_re_us
LQ Newbie
 
Registered: Jul 2003
Location: Ottawa, ON CANADA
Posts: 17

Original Poster
Rep: Reputation: 0
I thought the -p parameter was to specify the password.

Thanks Y0jiMb0 and Håkan!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to login as user; can login as root. rksanders Debian 24 02-09-2011 09:01 AM
wrong login shell prevent root login cefs99 Linux - Security 4 05-31-2006 09:28 AM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 12:39 PM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-06-2004 12:40 AM
root login incorrect ,then passwd root,but error sunnycn Linux - Security 6 05-20-2002 11:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration