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


Groups > linux.debian.user > #183646

Re: How to gain control over the system?

From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: How to gain control over the system?
Date 2017-07-13 15:20 +0200
Message-ID <u2Mca-664-31@gated-at.bofh.it> (permalink)
References (3 earlier) <u2a6S-6ZW-29@gated-at.bofh.it> <u2eWS-1xs-7@gated-at.bofh.it> <u2JxD-4oH-3@gated-at.bofh.it> <u2Kk1-4UU-9@gated-at.bofh.it> <u2Lg6-5xB-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Jul 13, 2017 at 08:12:46AM -0400, Fungi4All wrote:
> > UTC Time: July 13, 2017 11:13 AM
> > From: tomas@tuxteam.de
> > To: debian-user@lists.debian.org
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > On Thu, Jul 13, 2017 at 12:08:27PM +0200, Kaj Persson wrote:
> > [...]
> >> As always only root can mount a file system. In the case vfat, which
> >> does not have an access system by its own, the owner of the mounted
> >> system will be root.
> > As a hint (I"m not a purist, mind you): I always mount vfat (well,
> > at least when I plan to access them as regular user):
> > sudo mount -ouid=tomas,gid=tomas /dev/sdb1 /mnt
> > This makes my life easier (yes, you can put the user name in there,
> > and separating uid=foo,gid=bar with a comma (no space!) should
> > work for you.
> > As to your original problem... sorry.
> > Cheers
> 
> Minor note and question:
> If he or anyone else is using other than MSwin more than one linux/unix
> system with a common /home partition and wants access to the
> same /home/user if "user" corresponds to 1001 in Debian and 1003 in
> LinuxX then the name user will not allow access to the other system as
> on is user 1001 and the other 1003, two different users with the same
> label. The other way around seems to work with my experience, if
> 1002 is Deb on one system and 1002 is Ian on another then it shows
> as the same user. The true owner is described by the id not the label,
> I think!

I couldn't really follow your thoughts. It is simple: the command
"mount" translates the user and group names to some IDs according
to whatever mapping is defined in the current /etc/passwd.

Windows... is another story completely.

Cheers
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAllncpkACgkQBcgs9XrR2kZDsgCfX5QhwauiGu4Hk1hw5cKDzl+6
jZcAn1lo3C8WaUrRoJCDxp0ZOavAVudQ
=S/Z9
-----END PGP SIGNATURE-----

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