Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
User Privileges
User Privileges
Hello all. First time post. And, totally new to Debian. The last thing anyone wanted to hear, right? I downloaded the Debian complete ISO and the installation went well. I can log into the desktop but find that I am limited to what I can do. Intalling additional software for example. Can I add myself to the administrators group (if that is what it's called in Debian) so that I may have full privileges. Thank you in advance. Your time and assistance is greatly appreciated. Peter
Re: User Privileges
You may want to peruse this page https://www.linuxtechi.com/things-to-do ... debian-11/ , especially point #2
It helped me to set up 11 and other than spending an inordinate amount of time to get a Canon printer working, it's humming right along.
It helped me to set up 11 and other than spending an inordinate amount of time to get a Canon printer working, it's humming right along.
Re: User Privileges
Thank you for chiming in @colin.p I will refer to that link that you provided. I just tried doing something something as simple as uninstalling Solitaire. No can do! Of course I am getting the "you do not have permission to remove software" message. Wish me luck.
- Hallvor
- Global Moderator
- Posts: 2042
- Joined: 2009-04-16 18:35
- Location: Kristiansand, Norway
- Has thanked: 151 times
- Been thanked: 212 times
Re: User Privileges
GNU/Linux practices strict permissions and separation between user files and system files for security reasons.
Open the command line interface and type in
Enter your root password that you set during installation. (If you didn't set one, you have enabled sudo. You can then use sudo apt remove solitaire)
There should now be a # on the left side of the cursor.
Then
To search for an application named solitaire:
You can also use apt to install the game
Synaptic is a nice GUI of you don't want to work with the command line interface when installing or removing software.
Open the command line interface and type in
Code: Select all
su -
There should now be a # on the left side of the cursor.
Then
Code: Select all
apt remove solitaire
Code: Select all
apt search solitaire
Code: Select all
apt install solitaire
Code: Select all
apt install synaptic
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD
Re: User Privileges
Thank you @Hallvor The privileges issue that I was referring to occurs when I am logged into the Debian Gnome desktop. Forgive me for not mentioning that in my original post. Even when I go to the User gui in settings I cannot unlock to make changes to my own account.
- Hallvor
- Global Moderator
- Posts: 2042
- Joined: 2009-04-16 18:35
- Location: Kristiansand, Norway
- Has thanked: 151 times
- Been thanked: 212 times
Re: User Privileges
GUIs can be unreliable. The command line interface always works.
Is there anything wrong with the commands above?
Is there anything wrong with the commands above?
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD
Re: User Privileges
I have nothing against issuing commands from the command line. However, I do not seem to be getting very far as you can see from the test that I have pasted below:"
root@mail:~# apt remove solitaire
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package solitaire
root@mail:~#
That is about as far as I have been able to go
If I issue the apt search solitaire I am presented with this list:
root@mail:~# apt search solitaire
Sorting... Done
Full Text Search... Done
ace-of-penguins/stable 1.5~rc2-4 amd64
penguin-themed solitaire games
aisleriot/stable,now 1:3.22.9-1 amd64 [installed,automatic]
GNOME solitaire card game collection
freecell-solver-bin/stable 5.0.0-2+b1 amd64
Library for solving Freecell games
gnome-mahjongg/stable,now 1:3.38.3-1 amd64 [installed,automatic]
classic Eastern tile game for GNOME
jester/stable 1.0-14 amd64
board game similar to Othello
junior-games-card/stable 1.29 all
Debian Jr. Card Games
kajongg/stable 4:20.12.1-1 all
classical Mah Jongg game
kgames/stable 1.0-2.1 amd64
Venerable selection of Xaw-based games
kmahjongg/stable 4:20.12.1-1 amd64
mahjongg solitaire game
kpat/stable 4:20.12.1-1 amd64
solitaire card games
kshisen/stable 4:20.12.1-1 amd64
Shisen-Sho solitaire game
libfreecell-solver-dev/stable 5.0.0-2+b1 amd64
Library for solving Freecell games (Development files)
libfreecell-solver0/stable 5.0.0-2+b1 amd64
Library for solving Freecell games
mah-jong/stable 1.11-2+b2 amd64
Original Mah-Jong game
ncurses-examples/stable 6.2+20201114-2 amd64
test programs and examples for ncurses
peg-e/stable 1.2.8-1 amd64
peg elimination solitaire game
peg-solitaire/stable 2.2-2+b1 amd64
Board game for one player with pegs
pegsolitaire/stable 0.3-1 amd64
education game similar to Hi-Q
pysolfc/stable 2.6.4-3 all
collection of more than 1000 solitaire card games
pysolfc-cardsets/stable 2.0+dfsg2-2.1 all
additional card graphics for PysolFC
sgt-puzzles/stable 20191231.79a5378-3 amd64
Simon Tatham's Portable Puzzle Collection - 1-player puzzle games
xmahjongg/stable 3.7-5 amd64
tile-based solitaire game
xsol/stable 0.31-14+b1 amd64
Solitaire game for the X Window system
- Hallvor
- Global Moderator
- Posts: 2042
- Joined: 2009-04-16 18:35
- Location: Kristiansand, Norway
- Has thanked: 151 times
- Been thanked: 212 times
Re: User Privileges
It means the package solitaire isn't installed.
From apt search solitaire. This one?
Now, if it is part if the Gnome metapackage, it may want to remove your entire desktop...
From apt search solitaire. This one?
Code: Select all
aisleriot/stable 1:3.22.9-1 amd64
GNOME solitaire card game collection
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD
Re: User Privileges
Yes, that is the one that appears to be installed by default. Please see desktop screenshots below:Hallvor wrote: ↑2021-10-25 18:36 It means the package solitaire isn't installed.
From apt search solitaire. This one?Now, if it is part if the Gnome metapackage, it may want to remove your entire desktop...Code: Select all
aisleriot/stable 1:3.22.9-1 amd64 GNOME solitaire card game collection
https://i.postimg.cc/J4ZMQMPf/Solitaire ... Remove.jpg
https://i.postimg.cc/8zxdgdhJ/Solitaire ... -Error.jpg
And the error that you see is what I get whenever I attempt to install or uninstall an application
- Hallvor
- Global Moderator
- Posts: 2042
- Joined: 2009-04-16 18:35
- Location: Kristiansand, Norway
- Has thanked: 151 times
- Been thanked: 212 times
Re: User Privileges
1. Just remove it from the command line interface.
2. Gnome users: Does Gnome require sudo to remove software (from the GUI) now?
2. Gnome users: Does Gnome require sudo to remove software (from the GUI) now?
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD
- sunrat
- Administrator
- Posts: 6494
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 118 times
- Been thanked: 476 times
Re: User Privileges
I think you missed the point of the question. sudo is just one means of getting elevated privileges. When launching a GUI application such as Synaptic, pkexec should pop up a password request to elevate privileges, not sudo.
I don't know much about Gnome though, don't like it at all.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!