-
Senior Member
registered user
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
-
Senior Member
registered user
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?
-
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
-
By Mustang64 in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 06-15-2004, 01:42 PM
-
By A. Jorge Garcia in forum General Support
Replies: 1
Last Post: 03-24-2004, 06:37 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

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN
$145.00

OPNsense Firewall 8-Core Atom C3758 4GB DDR4 RAM 64GB SSD 8x 1Gbe QAT AES-NI VPN
$95.00

VMware SD-WAN Edge 640N VeloCloud Dell E42W EnterpriseFirewall 32GB
$127.50

Barracuda NextGen CloudGen Cloud Based Firewall F280 BNGF280a w/ 8.3.1 Firmware
$89.99

HP 2x 10GB OPNsense Quad Core i5-8500 8GB RAM 3Port Gigabit Firewall AES-NI SSD
$199.95

Fortinet FortiGate 60F FG-60F UTM UTP License Until 2027 Network Security FW VPN
$219.99

OPNsense pfSense 16-Core Atom C3958 16GB ECC RAM 512GB SSD 8-Port QAT AES-NI VPN
$298.00

Palo Alto PA-220 Next-Gen Firewall 520-000309-00J
$40.00

SonicWall TZ280 Firewall 03-SSC-6933 Advanced Edition 3YR NEW SEALED
$999.99

Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet
$147.00