home Sonstiges Linux OpenBSD Links

Benutzereinrichtung unter OpenBSD

Unter OpenBSD sollte man nicht als root seine alltäglichen Arbeiten verrichten (wie im allgemeinen unter allen anderen Unixen auch...). Deshalb sollte man sich einen normalen User anlegen:

--- als User root einloggen ---
marty44tp# adduser
-Anfang---------------------------------nur beim ersten Aufruf von adduser-------
Couldn't find /etc/adduser.conf: creating a new adduser configuration file
Reading /etc/shells
Enter your default shell: csh ksh nologin sh [sh]: Enter
Your default shell is: sh -> /bin/sh
Enter your default HOME partition: [/home]: Enter
Copy dotfilees from: /etc/skel no [/etc/skel]: Enter
Send message from file: /etc/adduser.message no [no]: Enter
Do not send message
Prompt for passwords by default (y/n) [y]: Enter
Default encyption method for passwords blowfish des md5 old
[blowfish]: Enter
-Ende-----------------------------------nur beim ersten Aufruf von adduser-------
Use option ''--silent'' if you don't want to see all warnings and questions.

Reading /etc/shells
Check /etc/master.passwd
Check /etc/group

Ok, let's go.
Don't worry about mistakes. I will give you the chance later to correct any inpu
t.
Enter username [a-z0-9_-]: marty
Enter full name []: Martin Boehme
Enter shell csh ksh nologin sh [sh]: Enter
Uid [1000]: Enter
Login group marty [marty]: Enter
Login group is ''marty''. Invite marty into other groups: guest no
[no]: Enter
Enter password []: irgendwashalt
Enter password again []: irgendwashalt

Name:     marty
Password: *************
Fullname: Martin Boehme
Uid:      1000
Gid:      1000 (marty)
Groups:   marty
HOME:     /home/marty
Shell:    /bin/sh
OK? (y/n) [y]: Enter
Added user ''marty''
Copy files from /etc/skel to /home/marty
Add another user? (y/n) [y]: n
Goodbye!
marty44tp#

Der neue User kann sich nun einloggen.


zurück zur OpenBSD-Übersicht
Letzte Aktualisierung dieser Seite: 18. April 2001