Results 1 to 3 of 3

Thread: adduser problem

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

    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

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    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?

  3. #3
    Junior Member
    Join Date
    Sep 2003
    Posts
    5
    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

  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 HOWTO?
    By A. Jorge Garcia in forum General Support
    Replies: 1
    Last Post: 03-24-2004, 06:37 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
  •  


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



WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F picture

WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F

$25.00



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

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

$49.99



WD Green SATA HDD - 3TB picture

WD Green SATA HDD - 3TB

$59.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



HGST HUS724040ALS640 4TB 7200RPM 64MB Cache 6Gbps SAS 3.5

HGST HUS724040ALS640 4TB 7200RPM 64MB Cache 6Gbps SAS 3.5" Hard Drive HDD SERVER

$19.99



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

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

$69.99



SEAGATE 2TB 5400RPM SATA III 2.5

SEAGATE 2TB 5400RPM SATA III 2.5" Hard Drive | ST2000LM003

$35.00



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

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

$209.99



8TB Seagate Archive SATA 3.5

8TB Seagate Archive SATA 3.5" HDD Hard Drive 100% Healthy 200MB/s ST8000AS0002

$36.21