Results 1 to 2 of 2

Thread: adduser + ln

  1. #1
    Junior Member
    Join Date
    Feb 2003
    Location
    Berlin
    Posts
    6

    adduser + ln

    hi all,

    i would like to create a sym.link in each home-dir if i create a new user (ln -s /export/files /pub_files).
    i thought if i creat this link in the /etc/skel it would fit but then all files out of /export/files are copied in in the dir /home/user/pub_files which then is a real dir and not a sym.link.
    i did not found any FAQ on how to do it within the adduser.conf.
    can anyone give me some help?

    cheers,
    jens

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Auckland, New Zealand
    Posts
    818
    I have a feeling there is a way to make adduser automatically run a script when a user is added, but I'm not sure.

    This is probally not the best solution, but it is a solution : adduser is a perl script, you could find the bits where it copies stuff from skel, and do the linking.

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


HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS picture

HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS

$199.00



Supermicro 505-2   Server picture

Supermicro 505-2 Server

$280.00



Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset picture

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset

$129.99



Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On picture

Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On

$450.00



HP PROLIANT  TPS-W003 MICRO- SERVER TOWER Gen 8, 16G RAM picture

HP PROLIANT TPS-W003 MICRO- SERVER TOWER Gen 8, 16G RAM

$195.00



Supermicro 1027GR-TSF 1U Rackmount Server 2x Xeon 2.3GHz 128GB DDR3 picture

Supermicro 1027GR-TSF 1U Rackmount Server 2x Xeon 2.3GHz 128GB DDR3

$219.99



Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram  240gb SSD 2x GPU *READ* picture

Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram 240gb SSD 2x GPU *READ*

$369.99



SUPERMICRO CSE-836 XEON E5-1620 v3 @ 3.50GHz, 32GB RAM, NO HDD/OS picture

SUPERMICRO CSE-836 XEON E5-1620 v3 @ 3.50GHz, 32GB RAM, NO HDD/OS

$299.99



Supermicro CSE-216 No CPU No Ram No HDD Tested & Reset picture

Supermicro CSE-216 No CPU No Ram No HDD Tested & Reset

$149.99



Supermicro CSE-216 No CPU No Ram No HDD Tested & Reset picture

Supermicro CSE-216 No CPU No Ram No HDD Tested & Reset

$149.99