Re: chmod, or better solutions ?



John Hasler wrote:
Shams Fantar writes:

My purpose beeing that local users can't access/read any file which isn't
in their own home directory.


Then they would not be able to run any programs. What are you trying to
achieve? You can easily arrange for them not to be able to access each
other's files.


Just to complement, even if you give access to /bin, /usr/bin and other
places where there are programs, these programs may need other files to
work, sometimes even system files. The innocent 'ls', for example, needs
access to /etc/passwd in order to map numerical user ids to their names
in long listings.


--
Stellar rays prove fibbing never pays. Embezzlement is another matter.

Eduardo M KALINOWSKI
eduardo@xxxxxxxxxxxxxxxxx
http://move.to/hpkb


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Why there is no space left on root partition?
    ... Worms would then be able to call aptitude to install malware in the user's ... home directory. ... John Hasler ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: A-posteriori use of another HDD for the /home/username
    ... but my wallpaper is the Debian's one, menus are mere menus, without ... I have no idea what sdb is, but as long as one of its partitions isn't mounted on /home/merciadriluca, it can be ignored for now. ... You want its partition, sdc5, to be your home directory, /home/merciadriluca. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • securing desktop
    ... and I would like to secure the desktop. ... permissions on the home directory (ie, ... making booting into that user on the computer impossible ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: copying files from home directory on one machine to directory on another machine
    ... copy files from a home directory on one machine to a directory on ... subject of "unsubscribe". ... If you can ssh from One to Two ... If you don't have rsync, you can use scp -r to recursively copy almost identically - but the nice thing about ...
    (Debian-User)
  • Re: copying files from home directory on one machine to directory on another machine
    ... I'd appreciate somebody pointing me where to look for info on how to copy files from a home directory on one machine to a directory on another machine via network. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ... If you can ssh from One to Two ... If your 100GB is subject to change in mid transfer, rsync will copy only the files which have changed and catch up. ...
    (Debian-User)