ClusterMania
06-19-2002, 12:55 AM
How do you add domain names and give them ftp access in command line?
![]() | View Full Version : Add accounts through Command Line ClusterMania 06-19-2002, 12:55 AM How do you add domain names and give them ftp access in command line? The Prohacker 06-19-2002, 01:02 AM Note: There isn't a cpanel commands line for this :) But on regular old linux: useradd username passwd username That makes the account /home/username You get to add all the fun stuff by hand :D ClusterMania 06-19-2002, 01:51 AM I am running freebsd. I get command not found davidb 06-19-2002, 01:54 AM Im pretty sure it uses useradd, but might as well try adduser also try searching, or man pages ClusterMania 06-19-2002, 03:01 AM I was able to do it with add user then I kept pressing enter. Now what? I want to add virtual accounts with ftp access. Do I just log in with the username and passwords I made? Cobalt and other GUI are good training wheels but I want to learn this too. davidb 06-19-2002, 03:15 AM What do you mean by virtual accounts. They will have an ftp account, if your ftp deamon works off of the password file. ClusterMania 06-19-2002, 04:36 AM Which password file do you edit and how? davidb 06-19-2002, 04:46 AM Again, it depends on the ftpd running. Some ftpd's use the password file, that would be /etc/passwd but others have the option, like ncftpd, of using its own database. most by default use /etc/passwd allera 06-19-2002, 07:48 AM In FreeBSD, useradd, groupadd, usermod, and similar Linux commands are done using the pw command. There are no useradd (and such) commands. There is an adduser *script*, but it's interactive and annoying. man pw erapid 06-19-2002, 11:29 AM Hi RTFM :) http://www.linuxdoc.org/ Good luck MotleyFool 06-19-2002, 11:59 AM erapid, with due respect, RTFP ..he is talking of FreeBSD ClusterMania 06-19-2002, 06:32 PM How about configuring dns? I am using stargateinc and they offer dns servers. Don't I have to add them somewhere on my server? Don't I have to point to the name servers somewhere? I edited DNS Panel Host Name Record Type Address www (A) 66.28.252.XX @ (A) 66.28.252.XX @ (MX) 66.28.252.XX Name Servers: dns1.stargateinc.net 65.118.240.9 dns2.stargateinc.net 65.118.240.12 |