Webmaster Forum

Go Back   Webmaster Forum > Web Development > Web Hosting Forum > Dedicated Servers

Dedicated Servers Dedicated server help.

Thread Tools Display Modes
Share |
Old 01-08-2004, 07:34 AM
QT_'s Avatar
QT_ QT_ is offline
v7n Mentor
Join Date: 10-13-03
Location: San Antonio, Tx
Posts: 327
iTrader: 0 / 0%
[Linux/SSH] Create new accounts.

1. Log into your server with an SSH client, then "su -" to root (do not forget the "-" after su).

2. Add the user and set the password:

# adduser testuser
# passwd testuser
Changing password for user testuser.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.

3. By default, a user has shell access (SSH or telnet if enabled). Users should not have shell access unless they really need it. Web site users and e-mail only users do not need shell access.

# chsh -s /sbin/nologin testuser
Changing shell for testuser.
Shell changed.

4. If you have an FTP server running, the user will also have FTP access. If users will only be checking mail, you will want to disable FTP access as well as shell access. Adding their username to /etc/ftpusers will prevent them from logging into FTP.

# echo testuser >> /etc/ftpusers
Reply With Quote



Go Back   Webmaster Forum > Web Development > Web Hosting Forum > Dedicated Servers


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Script to Create pop3 email accounts and Subdomains. Stingray Coding Forum 2 12-16-2003 07:07 PM

V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory

All times are GMT -7. The time now is 02:12 PM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC