Click to See Complete Forum and Search --> : ftp and add users not working in slackware 7.1
nakedandfree
11-12-2000, 02:09 PM
i thought this was an isolated problem on my desktop but when i installed slackware 7.1, i do "add user" and it'll go through the process of adding a user, but when i try to set a password it'll say the user doesn't exist, so i'll do "useradd" and it'll give me the user but when i try to log in as the new user, it will say "/home/username doesn't exist" because it won't create it.
i've also had problems turning on the ftp so i can ftp into the machine over the network... does anyone have any ideas on what I can do about these? reinstall?
------------------
http://www.nakedandfree.com
CRT_Monkey
11-12-2000, 02:40 PM
Can't really help ya man, cuz I can't get Slack to install right.
I get an error when Lilo try's to start: Li
Or a "kernel panic" error at bootup.
My partition scheme: hda1 320MB Linux swap
hda2 rest of disk Linux native. " / "
I made the / partition bootable during fdisk which it said to do if I wanted to install Lilo to the superblock of my root partition. Still no dice. errors out every time.
That's my problem , sorry I couldn't help ya with yours. http://www.linuxnewbie.org/ubb/smile.gif
nakedandfree
11-12-2000, 02:44 PM
i might be off here, but if slackware is the only thing on your hard drive (or your main / partition is the bootable one) shouldn't you install LILO to the master boot record? If you just install it to the root of the partition you're still gonna need something to boot LILO.
------------------
http://www.nakedandfree.com
CRT_Monkey
11-12-2000, 02:51 PM
Hey there's an idea, guess I goofed a bit at that point in the install. I'll give that a shot. I'm assuming you have Slackware up n running ok , so, what kind of partition scheme do you have setup?
Or does it matter at all how I devide up my /dev/hda?
Im using Stormix now and it's easy as hell to setup, still dont have a handle on apt-get yet though. But I've read all this hype about Slack that I just have to give it a try. IF I can get it up on its feet and moving. http://www.linuxnewbie.org/ubb/biggrin.gif
nakedandfree
11-12-2000, 03:04 PM
on my laptop i have a 10 gig drive i've partitioned like this:
C:\ 6 gigs (/dev/hda1 6 gigs fat 32)
/dev/hda2 127M (linux swap)
/dev/hda3 - 4 gigs (everything else - linux native)
then i set the /dev/hda3 equal to my / drive, and installed LILO to the root superblock of that drive.
You can break up your / into smaller drives but for the most part I haven't had a problem with having it all as the / partition.
I also installed bootmagic and I use bootmagic to choose between windows and linux, and when i choose to boot linux it'll boot LILO where i can just type "linux" and the machine will boot into Linux.
On my desktop I have a 30 gig hard drive with pretty much the same partition scheme, except a 10 gig C: partition, a 10 gig D: partition, and the last 10 gigs are split for Linux swap and the / partition.
------------------
http://www.nakedandfree.com
Originally posted by nakedandfree:
i thought this was an isolated problem on my desktop but when i installed slackware 7.1, i do "add user" and it'll go through the process of adding a user, but when i try to set a password it'll say the user doesn't exist, so i'll do "useradd" and it'll give me the user but when i try to log in as the new user, it will say "/home/username doesn't exist" because it won't create it.
Ok...have you been running 'useradd' and 'adduser' as root? Can you do a normal 'vipw' and 'vigr' to edit the /etc/password and /etc/groups, respectively? Can you just do a normal 'mkdir /home/username'? Perhaps you've got a full-up /home dir....
i've also had problems turning on the ftp so i can ftp into the machine over the network... does anyone have any ideas on what I can do about these? reinstall?
wu.ftpd is one of those apps listed under /etc/inetd.conf. Do you have it 'commented-out'? If so you need to change that so your hosts_access can allow ftp to run. Other things to check: your /etc/hosts.allow and /etc/hosts.deny files, make sure you do a ALL: ALL for hosts.deny and then add any hosts/services you want to run under hosts.allow.
Do a 'man 5 hosts_access' for more details.