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
1answer
45 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
25 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
19 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
56 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
1k 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
2answers
761 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
1answer
939 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
402 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: ...
1
vote
2answers
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
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 ...
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
38 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 ...
5
votes
1answer
7k 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
163 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
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
0answers
36 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
605 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
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 ...
2
votes
1answer
3k 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 ...
4
votes
3answers
2k 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
205 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
320 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 ...
6
votes
5answers
40k 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
502 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
164 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
844 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 ...
1
vote
0answers
795 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
1k 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
181 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
367 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
42 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 (...
0
votes
1answer
630 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
507 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
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 ...
6
votes
2answers
29k 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
715 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
368 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 ...
8
votes
2answers
36k 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
3k 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 ...
5
votes
3answers
2k views

Make VNC login as User Pi rather than ROOT

How can I make VNC on Raspbian run as User Pi rather than Root? I have tried to follow a few "simple" instructions on the internet but none of them give me any working results, and I eventually ended ...
0
votes
1answer
1k views

Set location of Java user.dir on startup in init.d to path where .jar is located

When executing this script #!/bin/sh CLIENT=/home/pi/epaper2/HttpClient.jar USER=pi OUT=/home/pi/client.log case "$1" in start) echo "starting node: $CLIENT $OUT" java -jar -Djava.awt....
2
votes
1answer
224 views

wheezy raspbian install - login prompt at the command line

Problem I'm just a Pi noobie and so I have some remedial questions. I finished imaging my SD card with wheezy. When I booted up with the SD card, it took me through a setup process and without ...
3
votes
1answer
1k views

Why does LXDE log-out take me to a slightly different desktop?

I have a headless Raspbian installation, configured to boot directly to the graphical desktop. If I VNC into it, I have an option to "log out," presumably of LXDE. When I click this button and confirm ...
7
votes
7answers
28k 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 ...
2
votes
2answers
3k views

Error 500 for access to webserver page

I have two files stored in /var/www/ pi@babaloo /var/www/test $ ls -l total 8 -rwxrwxrwx 1 pi pi 123 Nov 8 00:23 refresh.php -rwxrwxrwx 1 pi pi 989 Nov 5 17:41 share.php when i try to open refresh....
3
votes
2answers
848 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 ...
1
vote
1answer
3k views

I can't use the permissions with my raspberry pi

I got a Raspberry PI and, even with the root user, I got some "permission denied" using commands like when I want to access the gpio. I tried with and without sudo. sample : # cd /sys/class/gpio/ # ...
2
votes
1answer
469 views

How to create user without SSH access on Raspbian?

I want to create a user to auto-login without a password. However, I don't want someone to be able to SSH as that user since the user will not have a password. How can I create a user without a ...
0
votes
1answer
1k views

Python errors reading / writing files from Python executable

I'm writing a Python application that is executable. It reads and writes to a file. The application uses wx for a GUI and has been given the following permissions: chmod +x app.py When I load the ...