Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (define childhurd-os
- ;; Definition of my GNU/Hurd system, derived from the default one.
- (operating-system
- (inherit %hurd-vm-operating-system)
- ;; Add a user account.
- (users (cons (user-account
- (name "nathan")
- ;; (comment "This is me!")
- (group "users")
- ;;(password #f)
- (password (crypt "password" "$6$abc"))
- (supplementary-groups '("wheel"))) ;for 'sudo'
- %base-user-accounts))
- (services
- ;; Modify the SSH configuration to allow login as "root"
- ;; and as "charlie" using public key authentication.
- (modify-services (operating-system-user-services
- %hurd-vm-operating-system)
- (openssh-service-type
- config => (openssh-configuration
- (inherit config)
- (permit-root-login #t)
- (password-authentication? #t)
- ))))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement