[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: einloggen



Am Sonntag 16 Januar 2005 21:37 schrieb Alexander Schmehl:
> Also, du hast sowas wie das hier gemacht, ja?
> esgaroth:~# useradd -u 1010 -g users -s /bin/bsh -d /home/test test
>
> > > was gibt  der Befehl `ls /home` in der bash aus?
> >
> > su <user> geht, Dann kann ich auch die homes anzeigen lassen
>
> Bist du da sicher?  Weil nachdem ich obigen Befehl ausgeführt habe,
> existiert zwar der User, nicht aber sein Home-Directory.

useradd != adduser

@Simon Du willst adduser benutzen, die debian Art neue Benutzer und 
Gruppen anzulegen.

aus man adduser:

DESCRIPTION
       adduser  and  addgroup add users and groups to the system         
       according to command line options and configuration information  
       in /etc/adduser.conf.   They  are  friendlier front  ends to the 
       useradd and groupadd programs, choosing Debian policy conformant
       UID and GID values, creating a home directory with skeletal     
       configuration,  running a  custom  script,  and  other features.


HTH

ciao

Gerhard



Reply to: