View Full Version : adduser problem

A. Jorge Garcia
03-24-2004, 12:33 AM
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------?


03-25-2004, 08:58 PM
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?

03-26-2004, 06:15 PM
There should be a useradd file in
there you can make several choices.
take a look at man useradd. It has several other choices of interest