Defcon-1-Logo

           [Home]    [FBSD Articles]    [Scripts Corner]    [Contribute]    [Search]    [FBSD Links]    [Files]

About Us

FreeBSD Articles
  *Hardware
  *Networking
  *Security
  *Software
  *X Windows


Files / Scripts
Newbies Corner
Tech. Talk
Tips and Tricks


FreeBSD Links

Articles in other
Languages :
  *French Articles
  *Spanish Articles

Want to Help ?
 
   Click Here

Email Users 5

Search:
 

 


FreeBSD Search:


 

 

Powered-By-Apache-Logo
Defcon1 Logo

  Ajout d`un nouvel utilisateur (Adding a new user)

 

Pour ceux qui ne peuvent trouver comment

ajouter un utilisateur à leur machine

UNIX, cet article va vous donner des

informations pour remplir cette tâche

efficacement. Nous allons ajouter un

nouvel utilisateur avec la commande

"adduser" (ajout d'utilisateur).

L'utilisateur va s'appeler Jean Simard.

Le nom d'utilisateur sera jean.

À noter: le nom d'utilisateur ne peut

     contenir de lettres majuscules.

 

sr-71# adduser

Use option ``-silent'' if you don't

want see all warnings & questions.

 

Check /etc/shells

Check /etc/master.passwd

Check /etc/group

Enter your default shell: csh date no

sh [csh]:

Your default shell is: csh -> /bin/csh

Enter your default HOME partition:

[/usr/home]:

Copy dotfiles from: /usr/share/skel no

[/usr/share/skel]:

Send message from file:

/etc/adduser.message no [no]:

Do not send message

Use passwords (y/n) [y]:

 

Ok, let's go.

Don't worry about mistakes. I will give

you the chance later to correct any

input.

Enter username [a-z0-9_-]: jean

Enter full name []: Jean Simard

Enter shell csh date no sh [csh]:

Enter home directory (full path)

[/usr/home/jean]:

Uid [1009]:

Enter login class: default []:

Login group john [jean]:

Login group is ``jean''. Invite jean

into other groups: guest no

[no]:

Enter password []:

Enter password again []:

 

Name:   jean

Password: ****

Fullname: Jean Simard

Uid:   1009

Gid:   1009 (jean)

Class:

Groups:  jean

HOME:   /usr/home/jean

Shell:  /bin/csh

OK? (y/n) [y]:

Added user ``jean''

Copy files from /usr/share/skel to

/usr/home/jean

Add another user? (y/n) [y]:

 

Mis-à-jour le 30 mars 2001

Écrit par: GhostRdr (ghostrdr@defcon1.org )

Traduction: reel   (reel@sympatico.ca )

Email Us

ghostrdr@defcon1.org

This site cannot be duplicated without permission

© 1998 - 2010 Defcon1, www.defcon1.org. Copyrights for all materials on this web site are held by the individual authors, artists, photographers or creators. Materials may not be reproduced or otherwise distributed without permission of www.defcon1.org and the content's original author.