Solved

User Account Setup

Posted on 2000-03-03
3
201 Views
Last Modified: 2013-12-16
I'm trying to setup a user account to receive email on a UNIX server. I have never touched UNIX before and I'm a little lost.  There are existing mail accounts and I do know how to change a password. I'm wondering if I can somehow copy one of the other user directories, and then rename it and change the password.

If you decide to help me there's 50 easy points in it for you but you would need to take it really easy on me, because I'm so new.

I think the version of the software I am using is FreeBSD 2.2.7-RELEASE (sb) #0 1998.
0
Comment
Question by:UnixNewbie
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 2582489
Most unixen have an "adduser" command. I can't say for certain that FreeBSD does or doesn't, but "man adduser" would be a good place to start a search.
0
 
LVL 21

Accepted Solution

by:
tfewster earned 50 total points
ID: 2583021
All users can receive mail by default, so it's just a matter of creating a new user plus a home directory for them.

Take a look at www.freebsd.org - There's a FAQ there on system administration, covering adding a user - as jlevie says, the command is adduser.

http://www.freebsd.org/tutorials/new-users/x55.html walks you thru the process.

The command line syntax of adduser is a bit weird, but just typing "adduser" will prompt you through creating a new user. It uses a "defaults" file, /etc/adduser.conf to help you standardise your user setups.

I would suggest you check the setup of an existing user, with "grep username /etc/passwd". This will return something like:
tfewster:Xy3GzY1K:201:20:login_class:password_change_time:account:expiration_time:Tim Fewster:/home/tfewster:/usr/bin/ksh

"man passwd" explains all these fields. I suggest you use them as a model for your new user if you're not happy with the defaults adduser offers you.

adduser should then create the user entry and their home directory and force you to set a password for the user.

www.ugu.com has links to other FreeBSD resources and guides - Have a look around.

Have fun :)
Tim
0
 

Author Comment

by:UnixNewbie
ID: 2583362
Fantastic.

Thank you Tim.
Your answer was very clear despite the fact that my general UNIX understanding is far frm that. I was looking around at FreeBSD for a while but I couldn't find what I was looking for...

I'm eternally grateful.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

697 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question