Results 1 to 2 of 2

Thread: adduser HOWTO?

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

    adduser HOWTO?

    OK, I set up a fileserver/printserver in my school LAN for my students to save/print their work. They 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
    Join Date
    Nov 2003
    Posts
    1,323
    In /etc/adduser.conf there's a line at the end that says: DIR_MODE=0755
    Try changing this to 0700 (or whatever you want) and make a test user and see what happens.

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 problem
    By A. Jorge Garcia in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 03-26-2004, 06:15 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
  •  


HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5

HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD

$74.99



Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5

Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive

$157.99



WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN picture

WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN

$174.99



WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN picture

WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN

$49.99



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$89.99



Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5

Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

$29.99



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$27.25



TOSHIBA MD04ABA400V 4TB 128MB Cache SATA 6. 0Gb/s 3. 5

TOSHIBA MD04ABA400V 4TB 128MB Cache SATA 6. 0Gb/s 3. 5"

$18.00



Seagate ST12000NM0538 Exos X14 12TB 3.5

Seagate ST12000NM0538 Exos X14 12TB 3.5" SATA 6Gbps 3.5" Enterprise Hard Drive

$45.96



Seagate Barracuda ST3000DM001 3TB 7200 RPM 64MB 6.0Gbs SATA 3.5

Seagate Barracuda ST3000DM001 3TB 7200 RPM 64MB 6.0Gbs SATA 3.5" Internal HDD

$25.89