Solved

User Account Setup

Posted on 2000-03-03
3
202 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

Industry Leaders: 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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

688 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