Questions tagged [user]

User accounts allow multiple users to work at one multi-user system. They are identified by a username. Multiple accounts allow for adjustment of access to system files, e.g. a the special account of the superuser for system administration can make unrestricted system-wide changes. An account with reduced privileges is therefore recommended for the day-to-day use of system to prevent unintentional changes (see also su and sudo).

Filter by
Sorted by
Tagged with
2 votes
2 answers
3k views

How to create a user with "userconf.txt" but disable auto-login

Scenario I'm trying to bootstrap Raspberry Pi's by just putting configuration to the "boot"-volume. My workflow looks like this: Flash SD-card with Raspberry Pi OS Lite copy these files to &...
ppuschmann's user avatar
1 vote
1 answer
63 views

How to give Ownership to Pi from root to Mount_Folder

Here is my workflow and the issues I want to fix. First I mount the windows shared folder on Raspberry Pi. But in order to use that, I have to mount using sudo. sudo mount.cifs //<hostname or IP ...
MyatKaung's user avatar
0 votes
1 answer
236 views

Trying to kill all processes, but new processes keep spawning

I'm trying to rename the default pi username after getting a new raspberry pi 4. I am completely new to Linux, so my knowledge of the matter is small. From what I've discovered, one way to rename pi ...
Gabe Morris's user avatar
0 votes
2 answers
241 views

Is it possible to have separate SSH keys for separate users

So let's say I have 2 accounts, pi and cloud. I want to be able to let people access the cloud account(which doesn't have sudo permissions) but I don't want them to access the pi account(which has ...
StandingPad Animations's user avatar
2 votes
1 answer
472 views

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

I try create preinstalled user for Ubuntu 20.04. For this i add some entries in accordance with official docs, to /etc/cloud/cloud.cfg (config for cloud-init ) Old: users: - default My: users: ...
Feuermann's user avatar
  • 123
0 votes
2 answers
402 views

renaming default user in Raspbian PC - cannot kill 'pi' user related processes

I am trying to rename default user 'pi' to something else, and I am failing miserably. Raspbian is based on Debian, so I assumed that it behaves as Debian, am I wrong? What I tried? I did normal route,...
rd.break's user avatar
0 votes
2 answers
759 views

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

I'm trying to wrap my head around connecting my Pi2B to a NAS using NFS. In this answer, @Ingo wrote. As customary then you mount to nfs shares with entries in /etc/fstab. This line in your /etc/...
serialhobbyist's user avatar
4 votes
2 answers
552 views

No HDMI audio when logged in as a new user

Sound over HDMI works fine when I login as the default user pi. I created a new user named for example user1 If I login as this user, no sound plays through hdmi. I then added this user to most groups ...
jfoucher's user avatar
0 votes
2 answers
891 views

nobody user running demon

My raspberry pi has been hacked and as result my samba files have been encrypted by the user nobody. There is a thy demon that keep running in my pi by the user nobody. I have been searching ...
Zindik's user avatar
  • 1
1 vote
0 answers
51 views

Raspberry pi locking mechanism is insecure by default

I've followed a tutorial that lets me lock my Raspberry pi. Though I do not know which one it was I assume it was this one. However when I lock it I could just press Crtl+Alt+F7 to get right back into ...
Prolight's user avatar
  • 121
0 votes
2 answers
2k views

adduser command does not create home directories [closed]

i ran sudo adduser dummyuser and followed the prompts to create the password etc. After logging in to the dummyuser account, it does not create any of the home sub-directories (such as Documents, ...
CLopes1987's user avatar
2 votes
2 answers
651 views

Allow non-root user to set system time

I am using Raspbian Buster on an Raspberry Pi 4. I would like to give permissions to a non-root user to be able to set the time with /bin/date -s. The user is going to be used to run a python script ...
Pathead's user avatar
  • 283
1 vote
1 answer
2k views

SFTP Match multiple Users

I was trying to configure SFTP to a list of users, so I thought of creating a few blocks of "Match User" at "/etc/ssh/sshd_config" file. Something like this: # User A, B Match User usera,userb ...
markfree's user avatar
1 vote
2 answers
5k views

Change UID and GID of default user pi

In my network environment I already have a user with the same UID (user id) and GID (group id) than the default user pi on Raspbian. This conflicts with user rights on my network, so I have to change ...
Ingo's user avatar
  • 41.7k
2 votes
1 answer
54 views

How can you share an individual flow in node-red?

I have a Raspberry Pi with a lot of Node-Red flows running. I would like another person (with a separate account) to be able to log in and have access to a specific flow, but I would not like them to ...
user306690's user avatar
1 vote
0 answers
132 views

Different user login (same 'pi' username) depending on method

I'm just using putty and SSH'ing into a Raspberry Pi If I log in using the hostname "pi@raspberrypi" + password then I get one filesystem/folders. If I determine the Pi IP address using ifconfig,...
SMan's user avatar
  • 11
0 votes
0 answers
32 views

Need different default keyboard settings for different users

I set up Raspberry Pi 4 workstations with Raspbian Buster for a school library and want to use a different keyboard setting for the root account. Now it seems to me that I can only change the ...
waxxez's user avatar
  • 1
0 votes
0 answers
701 views

Failed to start permit user sessions

When my RP boots, I get several errors about some services failing. Most notably 'permit user sessions'. Which means I can not log in to the device, and I can not make changes to it. I can of course ...
Joris Schellekens's user avatar
0 votes
1 answer
174 views

Create new users and put them in a group with low privilege

I try to create new users and put them in a group with low privilege. I want them to only have access to their home (not to other folders). I tried useradd but the new user has access to all folders. ...
Peter Estiven's user avatar
2 votes
0 answers
444 views

How to access bluetooth controller on `/dev/input/js0` as user/group?

I'm working on an application that is reading an XBox controller connected via bluetooth. After configuring it (see https://pimylifeup.com/xbox-controllers-raspberry-pi/), I noticed that only root has ...
jhill515's user avatar
  • 121
1 vote
1 answer
25 views

Changing username without affecting SSH certificate login

I have secured my SSH logins with certificate authorisation and I want to change my username, so I did. When I did this, I was denied access. Is there a way to change username without affecting the ...
LtMuffin's user avatar
  • 211
1 vote
0 answers
78 views

Is there any default user login, other than usr: pi, pwd: raspberry?

The reason I am asking is because I have setup my Raspberry Pi 3 b+ to run a specific script on boot, the only issue is this is an infinite loop and prints every time - so I cannot enter any commands! ...
EcSync's user avatar
  • 151
1 vote
2 answers
3k views

New user, Pi keeps asking for password

I made a new user on my Raspberry Pi for myself and it keeps asking for my password when I do things like sudo apt-get install. How do I make it an administrator?
John Clark's user avatar
0 votes
3 answers
2k views

GPIO.add_event_detect requires root

I am trying to run a program using GPIO from a normal user. I checked that /dev/gpiomem has the correct permission (root:gpio 0660) and that my user is member of group gpio. The following works ...
Claudio's user avatar
  • 101
3 votes
2 answers
6k views

Where is Raspberry Pi "Logout after inactivity" configuration

I recently downloaded and installed a standard Raspbian OS environment on my Pi. On my Ubuntu Laptop, "Logout after inactivity" is a standard setting, which I like a lot. This is not active on my Pi, ...
Iam Pyre's user avatar
  • 161
0 votes
1 answer
1k views

How to allow non-root access to /dev/tty7

I have problems running fbi without sudo. As user pi running fbi -noverbose -nocomments -T 7 -1 -t 10 test.jpg or fbi -noverbose -nocomments -T 1 -1 -t 10 test.jpg I get an error /dev/tty7: ...
JPX's user avatar
  • 553
2 votes
3 answers
2k views

Changing pi user password - reverts to default following reboot

I have a Raspberry Pi running Jessie that I'm using as a notification gateway. If I SSH to it and change the user pi password, it appears to take and when I open a separate SSH session to it it ...
David Skilton's user avatar
1 vote
2 answers
3k views

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

New to Pi and I am trying to configure my Pi3. I would like to keep the user pi intact with the factory password, but still be able to use VNC and SSH without getting the security error message. I ...
Mark Carpenter Jr's user avatar
0 votes
1 answer
39 views

User and location line disappeared at new user

When you log in with the standard pi user in commandline, you see like pi@hostname and after that the location path you're in. But when I create a new user and log in into that, that line disappears......
Robin's user avatar
  • 1
1 vote
1 answer
166 views

I deleted the user pi but it still appears in the boot screen

Following the suggestions to secure my raspberrypi from this article I: created a new user changed its password disabled the default pi user with sudo passwd --lock pi deleted the user pi with sudo ...
Fede9390's user avatar
  • 111
9 votes
3 answers
16k views

Can't delete pi user on Raspbian

I have made a new Raspbian installation. All good. I wanted to delete pi user and make another user with same privileges (lets say gordon). So first I enabled direct ssh access to user root by doing ...
FedeKrum's user avatar
  • 193
0 votes
2 answers
659 views

Installed Ubuntu 16.04 LTS 'classic', no .config directory for users

I've installed Ubuntu 16.04 LTS 'classic' on my Pi 3, and am using the CLI which is a struggle but bearable. I've created a user, and subsequent instructions involve configuring a startup daemon in ...
stefanc's user avatar
0 votes
1 answer
4k views

How do I grant sudo privileges to an existing user?

I am using vnc viewer on Windows 10. user: pi I am lost, please help. What I Have Tried: *sudo chmod 777 ** also .. sudo nano /etc/sudoers adding the following line just like "root ALL=(ALL:...
Mohd Salman's user avatar
1 vote
0 answers
68 views

new directories are owned by non existent user 10001

I am currently trying to setup my raspberry pi as a webserver that serves files from a cifs share. The problem I run into is that my while using ssh, my pi creates all new files/folder with a non ...
Pyro's user avatar
  • 11
0 votes
1 answer
1k views

Cannot run my script from rc.local file as a different user

I have a script which runs my program and I would like to run it automatically when my pi has booted. The script is rather simple as: #!/bin/sh -e sleep 2 cd /home/pi/ /home/pi/monitor I have added ...
Luca's user avatar
  • 111
2 votes
3 answers
3k views

New user cannot login

I created a new user. Added all the groups that the "pi" user belonged to. When I try to login with that user, it just keeps recycling back to the login. If I login with the user "pi", I can su to ...
Guy Morazain's user avatar
2 votes
1 answer
6k views

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

I have a Raspberry 2 Model B with raspbian jessie and I have realvnc-server installed. I've created a new user in raspbian and when I try to connect remotely via VNC viewer with the new user, I get an ...
rodrunner's user avatar
  • 123
5 votes
3 answers
8k views

What is the purpose of group "staff"?

What is the purpose of group "staff"? Interestingly, note that the set user or group ID on execution (s) bit is set. michael@greenbeanDev:~ $ ls -l /usr total 72 drwxr-xr-x 2 root root 28672 May ...
user1032531's user avatar
0 votes
1 answer
345 views

Change username using a script [closed]

I'm working on an industrial application for the Pi, and for that we need to, of course, change the username. I don't want to do this manually everytime, so I want to use a script. So far I have ...
F. Pareto's user avatar
  • 191
1 vote
2 answers
1k views

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

I have an init script that mkdir -p raspi-os-image/home/pi/.ssh and adds a SSH key to authorized_keys inside. The problem is, when doing this it needs to be done as root and then once the system is ...
Steven Lu's user avatar
  • 291
8 votes
5 answers
46k views

User and password

I just installed Raspian Jessie lite date 4-10-17. All articles state the username and password are "pi" and "rasberry". These do not work. What is the correct user and password?
Michael Mancuso's user avatar
6 votes
1 answer
3k views

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

After sitting in the depths of my project desk for a year or so, a Raspberry Pi model B turned up that has data I want to save. It boots up but I deleted the pi user for security reasons and can't ...
Sandor Dosa's user avatar
0 votes
0 answers
294 views

Autologin & VNCSERVER issues

Sorry for the poor title but I couldn't find a better one for my issue as I don't know what's going on. Recently I write (for purpose that are not relevant now) a fresh Raspbian image from November ...
FabioEnne's user avatar
  • 113
0 votes
1 answer
1k views

Adding new user to sudoers file breaks sudo completely / how to add a new user with the same privileges as pi

I switched from the arch Linux image to the latest Debian Jessie lite 2017-01-11 image and added a new user as root. # adduser sampletext Then I added on the sudoers-file a new line with: sampletext ...
Patently Paul's user avatar
3 votes
0 answers
1k views

Set permissions and group for /dev/gpiomem permanently [duplicate]

I need to allow my user access to the GPIO pins and found following solution. Access GPIO pins without root. No access to /dev/mem. Try running as root! This works perfectly. All I need to do is ...
wewa's user avatar
  • 273
0 votes
1 answer
3k views

Why do I have 3 different pi users?

raspberry pi 3 with raspbian, ssh via macOS Hi, I just noticed something awkward. When I tried to login via ssh on my pi, I noticed that I couldn't log in with the password I recently changed with ...
Picard's user avatar
  • 143
0 votes
0 answers
216 views

launching deluge with different user creditential

i want to launch deluge from a different user which has ther permission to write to specific folder where deluge will download. so i su to that username media then run this from terminal /usr/share/...
Ciasto piekarz's user avatar
1 vote
1 answer
568 views

restricted shell (rsh) on raspbian

I want to run the restricted shell (rsh) on the raspberry pi as the default shell for a user, but I can't seem to find it. my code is: sudo su adduser restricteduser cd ~restricteduser chmod ...
jay jayjay's user avatar
1 vote
1 answer
50 views

Avoid user change without public key

I set public key authentication on my rpi and disabled password login in the sshd_config file. There are two users: userA and userB, while userA is my main user. In addition there are two computers (...
timdelawe's user avatar
-1 votes
1 answer
869 views

auto-mount USBDrives (vfat) for users other than pi

When a USB drive (vfat) is connected, the system automatically mounts it on /media/pi/DriveName with permissions set for user pi. Thus each time I need to change something in the drive, I need sudo ...
Suhail Gulzar's user avatar