Skip to main content
19 votes

User and password

The username is "pi" and the password is "raspberry", you have misspelled the word "raspberry" by missing the p. If you still have issues, I would try re-downloading, re-formatting, and doing it ...
Shaulinator's user avatar
8 votes
Accepted

I have just returned to my Raspberry Pi after a year and can't remember my login

As it turns out, you don't have to flash your RPi to recover from this. In fact, you don't need another Linux system at all, all you need is another SD card flashed with your RPi OS flavor of choice ...
Sandor Dosa's user avatar
7 votes
Accepted

Can't delete pi user on Raspbian

I think I tracked it down for you... You removed the lightdm autologin for user pi ... but, if you are using noobs, there is another autologin here: /etc/systemd/system/[email protected] line 28: ...
RubberStamp's user avatar
  • 1,419
6 votes
Accepted

What is the purpose of group "staff"?

According to the Debian Wiki: staff: Allows users to add local modifications to the system (/usr/local) without needing root privileges (note that executables in /usr/local/bin are in the PATH ...
Darth Vader's user avatar
  • 4,196
5 votes

Can't delete pi user on Raspbian

I did what rubberstamp did, but it still did noy work. So I went to preferences, raspberry pi configuration and removed the check from auto login. Then it worked for me.
Burd's user avatar
  • 51
5 votes
Accepted

Enable VNC and SSH for user other than `pi`?

SSH SSH is achieved just by creating a new user (useradd) and making a small edit to sshd_config. First lets create the user: useradd UserName passwd UserName Once the user is created, if you want ...
bradleyduncan's user avatar
5 votes

Boot into the GUI after changing default user

As of Raspberry Stretch you can simple login to youruser and call sudo -s raspi-config and in the Boot Options Menu "B" under "B1/B2" you'll find .. automatically logged in as 'youruser' user will ...
Wolfgang Fahl's user avatar
5 votes

What is the purpose of group "staff"?

This isn't peculiar to Raspbian or even GNU/Linux; evidently it's used on OSX too, although perhaps not the same way. Both operating systems are a form of unix -- I found that OSX question by ...
goldilocks's user avatar
  • 59.3k
5 votes

New user, Pi keeps asking for password

You can manually add the user to sudoers, but this is only part of the story. If you want the user to have the same privileges you should set the groups. The pi user is normally a member of pi adm ...
Milliways's user avatar
  • 60.5k
5 votes

Allow non-root user to set system time

I suggest you allow the command to be issued with sudo. This would remind the user that they are using a privileged command. sudo visudo then add the following line to the end of the file ...
joan's user avatar
  • 71.2k
4 votes
Accepted

How to configure RealVNC server to allow connection to other users than pi

Login as the pi user, right click the vnc system tray icon and select options, go to the users and permissions page and add your new user there. By default it should allow users that are members of ...
Andrew Wedgbury's user avatar
3 votes

User and password

just faced the same problem. everything written before is right, BUT : my installation had an english keyboard layout, which means, to input my "raspberry" pw i had to press "raspberrz"
Lars Hercher's user avatar
3 votes
Accepted

Why do I have 3 different pi users?

When you type sudo passwd you are running the passwd command as the root user, and you are therefore changing the password of the root user, not of the user pi. Only the third time, when you changed ...
Phil B.'s user avatar
  • 5,043
3 votes

restricted shell (rsh) on raspbian

You may want to have a read over the invocation section here, and note that sh on Raspbian is actually a link to bash, which will conform to sh type behavior when invoked that way. However, because ...
goldilocks's user avatar
  • 59.3k
3 votes

New user, Pi keeps asking for password

On Raspbian you have two common options: Option 1: Add the already created user (i.e. with the name "john") to the group "sudo": pi@raspberry:~ $ sudo usermod -aG sudo john Option 2: Edit the ...
Fabian's user avatar
  • 1,278
3 votes
Accepted

Wrong password creating on first boot (cloud-init) (Ubuntu 20.04 server, RPI 4)

Yes this one got me as well its because of the following parameter and its default settings;- lock_passwd: Optional. Disable password login. Default: true So the fix is to set lock_passwd: false in ...
Simon Banks's user avatar
2 votes

Default username/password for CentOS 7 on Raspberry Pi

and had to spam passwords in until I got it right the user name and password is mentioned in the official website root password : centos https://wiki.centos.org/SpecialInterestGroup/AltArch/...
DeyaEldeen's user avatar
2 votes

Change username using a script

If I wanted to do this (and I still think it is futile - pi is just a text label for user 1000, and the number can be used in many contexts), I wouldn't do it on a working system. AFAIK the string pi ...
Milliways's user avatar
  • 60.5k
2 votes

Chown files of mounted raspbian image to a user that isn't on host system

The directory does not need to be owned by user pi. Indeed the filesystem has no inherent knowledge of users. pi is user 1000, and your system probably has a user 1000. You should be able to use ...
Milliways's user avatar
  • 60.5k
2 votes

New user cannot login

First, delete the user created. Next, I type $ groups pi to check the group's user pi belong. Then I create a new user with the command $ useradd -m -G [groups from user pi except for pi and sudo] ...
Diego Olvera's user avatar
2 votes

GPIO.add_event_detect requires root

I'm not sure what is going wrong. My Python knowledge is sketchy. I'd dump the lambda and try the following (which works for me). #!/usr/bin/env python import RPi.GPIO as GPIO import time def ...
joan's user avatar
  • 71.2k
2 votes

Change UID and GID of default user pi

This is what I do. Warning: Use at your own risk as making a mistake may require a reinstall. log in as the pi user and add two more users with sudo adduser name1 and sudo adduser name2. The name2 ...
joan's user avatar
  • 71.2k
2 votes
Accepted

SFTP Match multiple Users

After a lot of search I believe I have found a solution. The issue was probably related to SFTP chroot jail. These might be the keywords for this problem. I changed the chroot folder permission. $ ...
markfree's user avatar
  • 181
2 votes
Accepted

Allow non-root user to set system time

It looks like pam_cap.so can be installed with the libpam-cap package, which seems obvious in retrospect... After that everything worked as expected. The reason I am marking this as the correct ...
Pathead's user avatar
  • 283
2 votes

adduser command does not create home directories

Your answer is here. You may have gotten the commands (adduser & useradd) confused, or you may not have missed a package in your Debian installation, or ... maybe you simply failed to read man ...
Seamus's user avatar
  • 22.4k
2 votes

adduser command does not create home directories

The adduser command only do the essential to create an account to be able to login on the command line. There is a skeleton (or template) of an user account in /etc/skel. When creating a new account ...
Ingo's user avatar
  • 42.2k
2 votes

nobody user running demon

I have the same process. nobody 264 0.0 0.4 4304 2052 ? Ss 09:25 0:01 /usr/sbin/thd --triggers /etc/triggerhappy/triggers.d/ --socket /run/thd.socket --user nobody --deviceglob /dev/...
joan's user avatar
  • 71.2k
2 votes

nobody user running demon

nobody is a generic system user for unprivileged system processes. This is probably normal or a misconfiguration. I am suspicious that this demon supposed be run by root. Running samba root is ...
goldilocks's user avatar
  • 59.3k
2 votes

Which user is used to authenticate with the NFS server when mounting in fstab?

The root user mounts the drive. After it is mounted, the permissions on the NFS server will apply on a per-user basis. With respect to the related question, How Do I Setup User Permissions On My NFS ...
Seamus's user avatar
  • 22.4k

Only top scored, non community-wiki answers of a minimum length are eligible