Results 1 to 3 of 3

Thread: adduser problem

  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
  •  


Samsung Galaxy Tab A8 10.5

Samsung Galaxy Tab A8 10.5" SM-X200 128GB Wifi Only Tablet Open Box

$149.99



Samsung USB 3.1 Flash Drive Bar Plus 256gb TITAN Gray picture

Samsung USB 3.1 Flash Drive Bar Plus 256gb TITAN Gray

$24.10



Samsung Galaxy Chromebook Go, 14-inch, 32GB, Unlocked All Carriers - Silver picture

Samsung Galaxy Chromebook Go, 14-inch, 32GB, Unlocked All Carriers - Silver

$99.95



Samsung Galaxy Tab A9 (X110) 64GB 4GB RAM International Version (New) picture

Samsung Galaxy Tab A9 (X110) 64GB 4GB RAM International Version (New)

$129.99



Samsung Galaxy Tab A T387V 8

Samsung Galaxy Tab A T387V 8" 32GB Black Android WiFi + Verizon - Acceptable

$25.99



Samsung Galaxy Tab E 8

Samsung Galaxy Tab E 8" 16GB Black SM-T377V (Verizon) Android Tablet IG1000

$30.35



Samsung - S Pen Creator Edition - White picture

Samsung - S Pen Creator Edition - White

$40.00



Samsung Galaxy 12.4 Inch Slim Keyboard For S7+ | S7 FE | S8+ | S8+ 5G EF-DT730 picture

Samsung Galaxy 12.4 Inch Slim Keyboard For S7+ | S7 FE | S8+ | S8+ 5G EF-DT730

$49.99



Samsung 16GB 2Rx4 PC3-12800R M393B2G70BH0-CK0 DDR3 RDIMM - SERVER RAM picture

Samsung 16GB 2Rx4 PC3-12800R M393B2G70BH0-CK0 DDR3 RDIMM - SERVER RAM

$8.90



Samsung 22 In LED-backlit LCD monitor, S22E450D picture

Samsung 22 In LED-backlit LCD monitor, S22E450D

$45.00