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
3
votes
2answers
877 views

Touch Screen Interactive setup

Just starting out as a pi developer and I was looking for any advice anyone might have for getting an touchscreen to work with Raspbian? I need to be really restrictive on what a user can do on this ...
0
votes
1answer
198 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
2answers
59 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, ...
0
votes
2answers
42 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
34 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 ...
6
votes
2answers
11k 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
1answer
689 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
2answers
241 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 ...
2
votes
3answers
1k 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
1answer
17 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 ...
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 ...
1
vote
0answers
22 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,...
2
votes
2answers
2k 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
576 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: ...
0
votes
0answers
20 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
122 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
57 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
136 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 ...
2
votes
3answers
1k 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 ...
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 ...
8
votes
2answers
36k views

Default username/password for CentOS 7 on Raspberry Pi

What is the default username and password for CentOS 7 for Raspberry Pi?
7
votes
7answers
29k views

Boot into the GUI after changing default user

I changed the default username using usermod from pi, but since raspi-config assumes the user is "pi", I am now unable to have it automatically boot into the GUI. Is there another way to do this other ...
1
vote
0answers
66 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! ...
0
votes
2answers
592 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 ...
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......
7
votes
5answers
43k 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?
0
votes
1answer
2k 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
2answers
2k 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 ...
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?
1
vote
1answer
56 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 ...
1
vote
0answers
43 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
736 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 ...
4
votes
3answers
3k 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 ...
2
votes
1answer
4k 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 ...
0
votes
1answer
223 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 ...
6
votes
1answer
651 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
190 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
923 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 ...
5
votes
1answer
384 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 ...
1
vote
0answers
998 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
201 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
421 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
553 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 ...
1
vote
1answer
44 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
vote
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 ...
1
vote
1answer
746 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> ...
8
votes
2answers
40k views

how to create new user in Raspberry PI who has equal privileges as default user: pi? [closed]

I am new to Raspberry PI. I need to create new user in Raspberry PI in Raspbian distro, but I would like to have different username but with equal or same level of privileges? How could I do it?
1
vote
2answers
4k views

How many simultaneous users can a Raspberry Pi handle?

Is there a limitation by hardware or software for Pi to be used by a number of different users? For example when I ssh into Pi from my computer with my user, I can keep working on Pi also in root ...
1
vote
1answer
2k views

Samba shows an extra shared folder

After a fresh install of Samba I added these lines to the /etc/samba/smb.conf file: [Media] comment = Media Folder path = /media valid users = @users force group = users create mask = 0660 directory ...