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
  •  


Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA picture

Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA

$19.99



Knoppix NSM 1.2 picture

Knoppix NSM 1.2

$8.50



Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive picture

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive

$9.99



Hamshack Live DVD-ROM picture

Hamshack Live DVD-ROM

$12.00



Linux Knoppix 4.0.2 Installation Disc picture

Linux Knoppix 4.0.2 Installation Disc

$39.99



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick

$19.95



KNOPPIX 9.1 LINUX INSTALL & LIVE DVD picture

KNOPPIX 9.1 LINUX INSTALL & LIVE DVD

$9.99



Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA picture

Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA

$79.99



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick

$20.30