Anlegen eines neuen Users

Florian Lohoff flo at rfc822.org
Mon Aug 21 13:52:18 CEST 2000


On Mon, Aug 21, 2000 at 12:27:40PM +0200, jesch at foni.net wrote:
>      Hallo Leute.
> 
>   Mal wieder eine blöde Frage von mir. Wie kann ich unter Debian Linux einen 
> neuen User MIT zugehörigem eigenm Paßwort anlegen, so daß ich beim Einloggen 
> aufrufen kann. Mit adduser geht das scheinbar nicht - oder ich mach da was 
> falsch.

Als root - adduser


root at ping:~# adduser test
Adding user test...
Adding new user test (1004) with group users.
Creating home directory /home/test.
Copying files from /etc/skel
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully
Changing the user information for test
Enter the new value, or press return for the default
	Full Name []: Test User
	Room Number []: 
	Work Phone []: 
	Home Phone []: 
	Other []: 
Is the information correct? [y/n] y

Wenn man das automatisiert machen moechte ...

useradd mit einer menge optionen und dann chpasswd

echo test:PWord | chpasswd

Flo
-- 
Florian Lohoff		flo at rfc822.org		      	+49-5201-669912
      "Write only memory - Oops. Time for my medication again ..."


-
Hinweise zur Benutzung dieser (und anderer Mailing-Listen) bitte beachten:
--> http://lug-owl.de/mailinglist_hints.html <--



More information about the Linux mailing list