Results 1 to 3 of 3

Thread: adduser problem

Hybrid View

  1. #1
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256

    adduser problem

    OK, I set up a fileserver/printserver in my school LAN for my students to save/print their work. The typically login via ssh or an X client.

    My problem is that when I intalled KNOPPIX as DEBIAN (20031119) on the hdd I added users with adduser. However, every one can see everyone else's home dirs and read the contents of their files. Is there a way to prevent this when I create a user? I mean all files created by my students are rw-r--r-- (ie: chmod 644) and their executables are rwxr-xr-x (ie: chmod 755). Can I make everyone their own group so they can read only their own files or have the files saved rw------- or rwx------?

    TIA,
    AJG

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    have you set in the sshconfig so that they are suid root when logged in? if so turn it of and restart sshd.
    does not chown ing and chmoding work?

  3. #3
    Junior Member
    Join Date
    Sep 2003
    Posts
    5
    There should be a useradd file in
    /etc/default
    there you can make several choices.
    take a look at man useradd. It has several other choices of interest

Similar Threads

  1. adduser in HD install
    By Mustang64 in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 06-15-2004, 01:42 PM
  2. adduser HOWTO?
    By A. Jorge Garcia in forum General Support
    Replies: 1
    Last Post: 03-24-2004, 06:37 PM
  3. adduser + ln
    By derjens in forum General Support
    Replies: 1
    Last Post: 05-23-2003, 12:11 PM
  4. adduser and KDE
    By WillsterV in forum General Support
    Replies: 3
    Last Post: 02-02-2003, 01:54 AM
  5. Replies: 6
    Last Post: 01-27-2003, 05:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Intel Core i7-3770K 3.5 GHz Processor picture

Intel Core i7-3770K 3.5 GHz Processor

$39.00



Intel Core i7-9700 3.0 GHz Octo-Core (SRG13) Processor picture

Intel Core i7-9700 3.0 GHz Octo-Core (SRG13) Processor

$79.00



Intel Core i5-4590T 2 GHz 5 GT/s LGA 1150 Desktop CPU Processor SR1S6 picture

Intel Core i5-4590T 2 GHz 5 GT/s LGA 1150 Desktop CPU Processor SR1S6

$10.99



PS5 Over Heating Problem Solver 1.5 Grams Liquid metal thermal paste CPU, GPU picture

PS5 Over Heating Problem Solver 1.5 Grams Liquid metal thermal paste CPU, GPU

$15.99



Intel Core i7-9700 SRG13  3.0 GHz  Desktop CPU picture

Intel Core i7-9700 SRG13 3.0 GHz Desktop CPU

$80.00



Intel SRG17 Core i7-9700T Desktop Processor CPU picture

Intel SRG17 Core i7-9700T Desktop Processor CPU

$79.99



Intel Core i7-6700 Processor (3.40 GHz, 4 Cores, LGA 1151) - SR2L2 picture

Intel Core i7-6700 Processor (3.40 GHz, 4 Cores, LGA 1151) - SR2L2

$34.99



Intel Core i7-4790 3.6 GHz 4th Gen 4 Cores 8 Threads Desktop CPU SR1QF picture

Intel Core i7-4790 3.6 GHz 4th Gen 4 Cores 8 Threads Desktop CPU SR1QF

$39.95



Intel 6th Gen Core i7-6700K 4.0GHz (Turbo 4.2GHz) 4-Core LGA1151 CPU SR2L0 picture

Intel 6th Gen Core i7-6700K 4.0GHz (Turbo 4.2GHz) 4-Core LGA1151 CPU SR2L0

$38.00



Intel Core i9-9900 SRG18 3.10GHz 16MB 8-Core LGA1151 CPU Processor picture

Intel Core i9-9900 SRG18 3.10GHz 16MB 8-Core LGA1151 CPU Processor

$177.21