Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is it possible to change the default username in Haiku from user to something else?

When setting-up pre-shared keys between my Haiku workstation and remote devices, it would be nice to be able to type ssh host.tld rather than ssh remoteuser@host.tld.

The default username in Haiku is user (which makes sense since it's designed to be a single-user OS), but altering that when starting remote sessions would be nice.

share|improve this question

3 Answers 3

up vote 1 down vote accepted

AFAIK the only way to do this at this point is to manually edit /etc/passwd.

share|improve this answer

Ssh has a config file located at ~/.ssh/config

Host computer host.tld
Hostname host.tld¬
User remote
Compression yes¬
Port 22
IdentityFile ~/.ssh/pkey¬

With this kind of config you can do

ssh computer

And it will connect to host.tld with username remote on port 22 with compression and the given identity file.

See ssh man for more information.

share|improve this answer

When you build your own images, you can also specify the user name in your UserBuildConfig file (see build/jam/UserBuildConfig.sample/.ReadMe):

HAIKU_ROOT_USER_NAME = notuser ;
HAIKU_ROOT_USER_REAL_NAME = "Your Name" ;
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.