Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #183424

Re: How to gain control over the system?

From Fungi4All <fungilife@protonmail.com>
Newsgroups linux.debian.user
Subject Re: How to gain control over the system?
Date 2017-07-09 01:00 +0200
Message-ID <u16RH-87c-5@gated-at.bofh.it> (permalink)
References <u165l-7NM-35@gated-at.bofh.it> <u16oF-7Ub-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

> From: oflameo2@gmail.com
> To: Kaj Persson <70147persson@telia.com>, debian-user@lists.debian.org
> Did you remember to reconfigure sudo? What Desktop Environment are you
> using?

He said Mate

> On Sat, 2017-07-08 at 23:57 +0200, Kaj Persson wrote:
>> But now I discovered an issue, I cannot manage my desktop. I have
>> always at the previous installations, and they are quite many now, been
>> advised to, for security reason, leave the root password unset, which causes
>> the root account go passive, and for all tasks where I need root
>> authority I go via su/sudo.

It is a bad idea despite of what security gurus may advise. You may lose your system
and never get it back.

>> But I cannot control the panels, I have two of them, one on
>> top
>>

A user should not need sudo rights to edit the conf files in the desktop.
It is all stored in the /home/*user* subdirectory, while as root your home
is /root. Chances are the access rights in your home directory have been
restricted, so you need to give yourself as a user the rights back.
As a su you should not be able to alter the /home/user directories.
What I suspect you've done is copy the /home from an old system
which transfered the rights of that system and from a different user.
Let's say in that system your username was mate99 and so it is in the
new system. But the user id in that system was user 1003 and now
you are user 1001. 1001 will not be able to adjust conf. files for user
1003. If you open the filemanager and your desktop folder is owned
by a user 1003 (or some number) then you need to switch the rights
of all your home/user stuff to be owned by mate99

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to gain control over the system? Kaj Persson <70147persson@telia.com> - 2017-07-09 00:10 +0200
  Re: How to gain control over the system? Oflameo <oflameo2@gmail.com> - 2017-07-09 00:30 +0200
    Re: How to gain control over the system? Fungi4All <fungilife@protonmail.com> - 2017-07-09 01:00 +0200
      Re: How to gain control over the system? Anders Andersson <pipatron@gmail.com> - 2017-07-09 11:30 +0200
        Re: How to gain control over the system? Dejan Jocic <jodejka@gmail.com> - 2017-07-09 12:00 +0200
  Re: How to gain control over the system? davidson@freevolt.org - 2017-07-09 01:30 +0200
    Re: How to gain control over the system? Fungi4All <fungilife@protonmail.com> - 2017-07-09 12:10 +0200
      Re: How to gain control over the system? Richard Owlett <rowlett@cloud85.net> - 2017-07-09 13:50 +0200
  Re: How to gain control over the system? Kaj Persson <70147persson@telia.com> - 2017-07-09 15:10 +0200
    Re: How to gain control over the system? [a security-side-note] Eike Lantzsch <zp6cge@gmx.net> - 2017-07-09 16:00 +0200
      Re: How to gain control over the system? [a security-side-note] Dejan Jocic <jodejka@gmail.com> - 2017-07-09 16:20 +0200
    Re: How to gain control over the system? Fungi4All <fungilife@protonmail.com> - 2017-07-09 19:00 +0200
      Re: How to gain control over the system? Kaj Persson <70147persson@telia.com> - 2017-07-09 19:10 +0200
        Re: How to gain control over the system? Kaj Persson <70147persson@telia.com> - 2017-07-09 23:40 +0200
    Re: How to gain control over the system? Felix Miata <mrmazda@earthlink.net> - 2017-07-10 01:40 +0200
      Re: How to gain control over the system? Kaj Persson <70147persson@telia.com> - 2017-07-11 22:40 +0200
        Re: How to gain control over the system? David Wright <deblis@lionunicorn.co.uk> - 2017-07-11 23:00 +0200
          Re: How to gain control over the system? Greg Wooledge <wooledg@eeg.ccf.org> - 2017-07-11 23:10 +0200
        Re: How to gain control over the system? Felix Miata <mrmazda@earthlink.net> - 2017-07-12 03:50 +0200
          Re: How to gain control over the system? Greg Wooledge <wooledg@eeg.ccf.org> - 2017-07-12 14:30 +0200
          Re: How to gain control over the system? Kaj Persson <kape_fin@algonet.se> - 2017-07-13 12:30 +0200
            Re: How to gain control over the system? <tomas@tuxteam.de> - 2017-07-13 13:20 +0200
              Re: How to gain control over the system? Fungi4All <fungilife@protonmail.com> - 2017-07-13 14:20 +0200
                Re: How to gain control over the system? <tomas@tuxteam.de> - 2017-07-13 15:20 +0200
              Re: How to gain control over the system? tomas@tuxteam.de - 2017-07-13 15:20 +0200
                Re: How to gain control over the system? David Wright <deblis@lionunicorn.co.uk> - 2017-07-13 16:30 +0200
  Re: How to gain control over the system? Jimmy Johnson <field.engineer@gmail.com> - 2017-07-09 22:30 +0200
    Re: How to gain control over the system? Kaj Persson <kape_fin@algonet.se> - 2017-07-10 00:40 +0200
      Re: How to gain control over the system? Jimmy Johnson <field.engineer@gmail.com> - 2017-07-10 00:50 +0200
      Re: How to gain control over the system? Joel Rees <joel.rees@gmail.com> - 2017-07-10 03:10 +0200
      Re: How to gain control over the system? Dejan Jocic <jodejka@gmail.com> - 2017-07-10 10:00 +0200
      Re: How to gain control over the system? RavenLX <ravenlx@sitesplace.net> - 2017-07-12 14:40 +0200
        Re: How to gain control over the system? <tomas@tuxteam.de> - 2017-07-12 15:30 +0200
          Re: How to gain control over the system? RavenLX <ravenlx@sitesplace.net> - 2017-07-16 15:50 +0200
            Re: How to gain control over the system? <tomas@tuxteam.de> - 2017-07-16 16:50 +0200

csiph-web