-
Senior Member
registered user
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
-
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
-
By Mustang64 in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 06-15-2004, 01:42 PM
-
By A. Jorge Garcia in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 03-26-2004, 06:15 PM
-
By derjens in forum General Support
Replies: 1
Last Post: 05-23-2003, 12:11 PM
-
By WillsterV in forum General Support
Replies: 3
Last Post: 02-02-2003, 01:54 AM
-
By in forum General Support
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
-
Forum Rules

Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD
$1259.99

Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro
$316.61

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$90.00

External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac
$19.99

SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM
$159.99

Acer Predator Helios Neo 16S AI 16" i9 275HX 2S RTX 5070 Ti 32GB 1TB SSD Refurb
$1671.47

Netac 2TB 1TB 500GB Internal SSD M.2 NVMe PCIe3.0 Solid State Drive lot
$129.99

Acer Aspire 14" AI Copilot+PC Laptop Core Ultra 5 226V Gen 4 ARC 16GB 1TB Refurb
$462.74

Toshiba DT01ACA100 1 TB 3.5" SATA III 3.5 in Desktop Hard Drive
$24.99

Western Digital 1TB 3.5" SATA III 7200RPM Desktop Hard Drive
$34.99