LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-07-2018, 10:42 PM   #16
KenJackson
Member
 
Registered: Jul 2006
Location: Maryland, USA
Distribution: Fedora and others
Posts: 720

Rep: Reputation: 141Reputation: 141

Quote:
Originally Posted by DrunkenTimelord View Post
Code:
sudo userdel --remove pi
Which SHOULD just remove the user named pi, the default user on rasbian, as well as his home directory. But instead I have this error pop up
Code:
userdel: user pi is currently used by process 615
after using this to determine the process
Code:
ps -p 615 -o comm=
it said it was named Bash and other occasions it has said (with different numbers) SystemD
Quote:
Originally Posted by michaelk View Post
It was not obvious from your OP that you were running the userdel command as the new user.
Did you exit and logout as user pi before trying to delete pi?

Alternately, instead of deleting pi, couldn't you just rename it?
Code:
usermod -l newname pi
 
Old 12-09-2018, 06:29 AM   #17
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 10,178
Blog Entries: 7

Rep: Reputation: 2518Reputation: 2518Reputation: 2518Reputation: 2518Reputation: 2518Reputation: 2518Reputation: 2518Reputation: 2518Reputation: 2518Reputation: 2518Reputation: 2518
Quote:
Originally Posted by DrunkenTimelord View Post
If I am understanding the Moderator correctly, I should be changing "--autologin pi" to " --autologin USERNAME", is that correct?
captain hindsight to the rescue:
i think you should've just removed that option completely.

please give us a link to the exact image you installed.
raspbian is just a common name for all sorts of distros tailored to specific (ARM) hardware.
mine used a graphical desktop, but no display manager; that might be part of the confusion you're experiencing.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create desktop links in Rasbian dtref Linux - Desktop 1 09-28-2018 04:17 PM
Persian character are shown reverse and disconnected by C# application running on rasbian jessie OS via MONO Cross Compiler sheelamanatec Linux - Software 6 02-02-2017 05:49 AM
Can't access full journalctl from script via systemd service even though user is in systemd-journal group iwtbf Linux - Newbie 0 02-19-2016 03:44 PM
RPi, Rasbian, how to start transmission on boot? bigwheel Linux - Embedded & Single-board computer 9 02-23-2015 10:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration