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

 

 

 

[SOLVED] Limited user permissions after fresh install

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
hockeytux
Posts: 5
Joined: 2014-04-13 20:04

[SOLVED] Limited user permissions after fresh install

#1 Post by hockeytux »

Hey all,

I just did a fresh install and created only one user account. I chose not to enter a root password during installation, thinking I could just sudo when needed.

This is however quite tedious, especially when doing simple things that do not require the terminal. How do I change this and become owner of everything with that account? For example I am not able to edit+save sources.list or the like with gedit as I am not the owner of that file according to the system.

How do I change my access permissions permanently? Many thanks in advance.
Last edited by hockeytux on 2014-04-24 01:46, edited 1 time in total.

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: Limited user permissions after fresh install

#2 Post by dilberts_left_nut »

hockeytux wrote:How do I change my access permissions permanently?
You don't.
It's working as designed.

I find sudo is a PITA, probably easier is to enable the root user and just become root for admin tasks.
AdrianTM wrote:There's no hacker in my grandma...

hockeytux
Posts: 5
Joined: 2014-04-13 20:04

Re: Limited user permissions after fresh install

#3 Post by hockeytux »

dilberts_left_nut wrote:
I find sudo is a PITA, probably easier is to enable the root user and just become root for admin tasks.

How do I enable the root user (other than running the root terminal...)?

confuseling
Posts: 2121
Joined: 2009-10-21 01:03

Re: Limited user permissions after fresh install

#4 Post by confuseling »

If you can change to root through 'su -', or log in as root at another virtual console, you've got root enabled.

That's "the right way" of doing it console wise. Graphical applications there are a few options...

http://forums.debian.net/viewtopic.php?f=16&t=53366
The Forum's search box is terrible. Use site specific search, e.g.
https://www.google.com/search?q=site%3A ... terms+here

Randicus
Posts: 2663
Joined: 2011-05-08 09:11
Been thanked: 1 time

Re: Limited user permissions after fresh install

#5 Post by Randicus »

confuseling wrote:If you can change to root through 'su -', or log in as root at another virtual console, you've got root enabled.
Possible problem.
hockeytux wrote:I just did a fresh install and created only one user account. I chose not to enter a root password during installation ...
May need to use a live disc? Just guessing. :)

peter_irich
Posts: 1405
Joined: 2009-09-10 20:15
Location: Saint-Petersburg, Russian Federation
Been thanked: 11 times

Re: Limited user permissions after fresh install

#6 Post by peter_irich »

If sudo works for user, you can enter command

Code: Select all

sudo passwd
and password which you will enter will be root's password.

Peter.

ew-linux
Posts: 46
Joined: 2014-01-13 21:22

Re: Limited user permissions after fresh install

#7 Post by ew-linux »

Code: Select all

sudo passwd root
Then enter your current sudo password for access,
and you get to set a password for root. Enter it twice. Which enables the root account.

hockeytux
Posts: 5
Joined: 2014-04-13 20:04

Re: Limited user permissions after fresh install

#8 Post by hockeytux »

Thanks all, good to see it works as designed. Also set a separate root password now :)

Post Reply