Changing default user shell and adding without domain?? URGENT.

Alex

Verified User
Joined
Nov 11, 2004
Messages
12
I have two urgent questions I need answer to. I'm running FreeBSD 4.10.

1) How do i change DA to use /usr/local/bin/bash for shell instead of /bin/sh? (Yes i edited /etc/adduser.conf with no luck)

2) How do i add users without domain so they can only use ip/~user?

Thank you!
 
Guys please help we are migrating from C(Bloat)Panel and stuck on this one :(
 
2) How do i add users without domain so they can only use ip/~user?
Can't help with the first questions but number 2 is easy.

Simply create the user name (eg "joebloggs") and then create a dummy domain for them eg "joebloggs.com" whatever it is doesnt really matter. Make sure this dummy domain is their main domain, and you are good to go. Upload files to the dummy domain public_html directory and their website can now be accessed as ip/~user
eg http://11.22.33.44/~joebloggs
 
For your first question...

What OS are you using?

On Linux, /bin/sh is a symbolic link to bash.

Jeff
 
Alex said:
2) How do i add users without domain so they can only use ip/~user?

I don't think this can be done, DirectAdmin requires a domain. You can set it up with a subdomain or something and then access the account with server_ip/~username or dedicated IP address.
 
Jon,

I believe mmerlin is correct.

There's no reason why a domain must resolve.

If the domain is not real, then the way to reach it would be via ip.nu.mb.er/~username.

For example, see:

http://65.58.240.230/~nobalone

Jeff
 
Back
Top