Debian This forum is for the discussion of Debian Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-09-2003, 07:54 PM
|
#1
|
LQ Newbie
Registered: Jul 2003
Location: Ottawa, ON CANADA
Posts: 17
Rep:
|
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
|
|
|
11-10-2003, 06:23 AM
|
#2
|
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032
Rep:
|
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
|
|
|
11-11-2003, 01:41 AM
|
#3
|
Member
Registered: Jul 2003
Location: Valencia (Spain)
Distribution: slackware 11, FEDORA CORE 4, RHEL3, Gentoo...
Posts: 361
Rep:
|
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
|
|
|
11-11-2003, 12:10 PM
|
#4
|
LQ Newbie
Registered: Jul 2003
Location: Ottawa, ON CANADA
Posts: 17
Original Poster
Rep:
|
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
|
|
|
11-14-2003, 04:39 AM
|
#5
|
Member
Registered: Jul 2003
Location: Valencia (Spain)
Distribution: slackware 11, FEDORA CORE 4, RHEL3, Gentoo...
Posts: 361
Rep:
|
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
that should work.
Regards
|
|
|
11-15-2003, 09:23 AM
|
#6
|
LQ Newbie
Registered: Jul 2003
Location: Ottawa, ON CANADA
Posts: 17
Original Poster
Rep:
|
I thought the -p parameter was to specify the password.
Thanks Y0jiMb0 and Håkan!
|
|
|
All times are GMT -5. The time now is 03:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|