StuRa:Server/Ghost

Aus Wiki StuRa HTW Dresden
Version vom 4. August 2018, 16:05 Uhr von PaulRiegel (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „Host: srs100034 ; pauschale Aktualisierung (auf die Schnelle) <code>pkg update && pkg upgrade -y</code> ; Aktivierung zum Zugriff per SSH : <code>sysrc s…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

Host: srs100034

pauschale Aktualisierung (auf die Schnelle)

pkg update && pkg upgrade -y

Aktivierung zum Zugriff per SSH
sysrc sshd_enable=YES
service sshd start
Erstellung Account rj
adduser
Username: pv
Full name: PV
Uid (Leave empty for default): 
Login group [pv]: 
Login group is pv. Invite pv into other groups? []: wheel
Login class [default]: 
Shell (sh csh tcsh git-shell zsh rzsh nologin) [sh]: zsh
Home directory [/home/pv]: 
Home directory permissions (Leave empty for default): 
Use password-based authentication? [yes]: 
Use an empty password? (yes/no) [no]: 
Use a random password? (yes/no) [no]: 
Enter password: 
Enter password again: 
Lock out the account after creation? [no]: 
Username   : pv
Password   : *****
Full Name  : PV
Uid        : 1001
Class      : 
Groups     : pv wheel
Home       : /home/pv
Home Mode  : 
Shell      : /usr/local/bin/zsh
Locked     : no
OK? (yes/no): yes
adduser: INFO: Successfully added (pv) to the user database.
Add another user? (yes/no): no
Goodbye!
Erstellung Account rj
adduser
Username: rj
Full name: RJ
Uid (Leave empty for default): 
Login group [rj]: 
Login group is rj. Invite rj into other groups? []: wheel
Login class [default]: 
Shell (sh csh tcsh git-shell zsh rzsh nologin) [sh]: zsh
Home directory [/home/rj]: 
Home directory permissions (Leave empty for default): 
Use password-based authentication? [yes]: 
Use an empty password? (yes/no) [no]: 
Use a random password? (yes/no) [no]: 
Enter password: 
Enter password again: 
Lock out the account after creation? [no]: 
Username   : rj
Password   : *****
Full Name  : RJ
Uid        : 1002
Class      : 
Groups     : rj wheel
Home       : /home/rj
Home Mode  : 
Shell      : /usr/local/bin/zsh
Locked     : no
OK? (yes/no): yes
adduser: INFO: Successfully added (rj) to the user database.
Add another user? (yes/no): no
Goodbye!