Webmaster Forum

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

Dedicated Servers Dedicated server help.


Reply
 
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 01-08-2004, 07:34 AM
QT_'s Avatar
QT_ QT_ is offline
v7n Mentor
Latest Blog:
None

 
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
__________________
Just a jeans & flip-flop's kind of girl.
 
Reply With Quote

Advertisement

Advertisement

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

Reply


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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


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 05:32 PM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2014 Escalate Media




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.