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
0
votes
2answers
62 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,...
0
votes
2answers
45 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/...
4
votes
2answers
169 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 ...
0
votes
2answers
107 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 ...
1
vote
0answers
32 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 ...
0
votes
2answers
491 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, ...
1
vote
2answers
96 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 ...
1
vote
1answer
96 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 ...
1
vote
2answers
1k 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 ...
1
vote
1answer
25 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 ...
1
vote
0answers
54 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,...
0
votes
0answers
21 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 ...
0
votes
0answers
256 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 ...
0
votes
1answer
67 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. ...
1
vote
0answers
179 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 ...
1
vote
1answer
22 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 ...
1
vote
0answers
70 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! ...
1
vote
2answers
2k 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?
0
votes
3answers
1k 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 ...
3
votes
2answers
3k 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, ...
0
votes
1answer
692 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: ...
2
votes
3answers
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 ...
1
vote
2answers
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 ...
0
votes
1answer
23 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......
1
vote
1answer
77 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 ...
8
votes
2answers
13k 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 ...
0
votes
2answers
242 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 ...
0
votes
1answer
3k 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:...
1
vote
0answers
52 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 ...
0
votes
1answer
843 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 ...
2
votes
3answers
2k 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 ...
2
votes
1answer
5k 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 ...
5
votes
3answers
4k 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 ...
0
votes
1answer
246 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 ...
0
votes
2answers
753 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 ...
8
votes
5answers
45k 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?
6
votes
1answer
831 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 ...
0
votes
0answers
210 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 ...
0
votes
1answer
967 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 ...
2
votes
0answers
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 ...
0
votes
1answer
2k 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 ...
0
votes
0answers
211 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/...
1
vote
1answer
456 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 ...
1
vote
1answer
45 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 (...
-1
votes
1answer
716 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 ...
1
vote
1answer
614 views

How to properly use suid on bash scripts?

I intend to use bash scripts to control some GPIO pins. I wrote a script, which works properly if I run it when I su to root. The script contains nothing more than a bunch of echo commands, for ...
2
votes
0answers
2k views

Can't start Transmission as user Pi

Goal I have a Raspberry Pi 3 with Raspbian and I want to make it a torrent seedbox by using Transmission. I followed all kinds of guides on the internet to solve problems I had on set-up and now ...
9
votes
2answers
42k views

Default username/password for CentOS 7 on Raspberry Pi

What is the default username and password for CentOS 7 for Raspberry Pi?
1
vote
1answer
777 views

allow other user to run wiringPiSetupSys()

I hava e program called outlet in which I communicate out on wiring pin 2 corresponding to BCM-PIN 27 on my Pi: #include "NewRemoteTransmitter.h" #include <stdlib.h> #include <stdio.h> ...
5
votes
1answer
405 views

Black screen after deleting 'pi' user

I'm using BerryBoot as my bootloader and newest Raspbian as my OS. In order to make things more secure, I've created new root user using this tutorial: LINK and then I changed my auto login username ...