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
  •  


IBM System X3250 M3 Server 8GB RAM Intel Xeon x3440 2.53ghz (NO HDD) picture

IBM System X3250 M3 Server 8GB RAM Intel Xeon x3440 2.53ghz (NO HDD)

$41.99



IBM System x3250 M4 Server Intel Xeon E31220/3.10Ghz RAM 16GB HDD 2TB picture

IBM System x3250 M4 Server Intel Xeon E31220/3.10Ghz RAM 16GB HDD 2TB

$79.00



IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6Core 64GB RAM No HDD Server System picture

IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6Core 64GB RAM No HDD Server System

$314.99



IBM System x3250 M4 Server Intel Xeon E31220/3.10Ghz RAM 16GB HDD 1TB picture

IBM System x3250 M4 Server Intel Xeon E31220/3.10Ghz RAM 16GB HDD 1TB

$79.00



IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6Core 512GB RAM No HDD Server picture

IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6Core 512GB RAM No HDD Server

$999.00



IBM Server Rack Cabinet Machine Type 9308 Model 42P w/ Mounting Accessories picture

IBM Server Rack Cabinet Machine Type 9308 Model 42P w/ Mounting Accessories

$379.99



IBM System x3550 M3 Dual Intel Xeon X5650 @2.67GHz 32GB RAM No HDD picture

IBM System x3550 M3 Dual Intel Xeon X5650 @2.67GHz 32GB RAM No HDD

$68.50



IBM System X3650 M4 7915AC1 Server 2*Intel Xeon E5-2640 2.5GHz 32GB SEE NOTES  picture

IBM System X3650 M4 7915AC1 Server 2*Intel Xeon E5-2640 2.5GHz 32GB SEE NOTES

$59.00



IBM EServer Xseries 220 Desktop Computer Intel Pentium 3 1GHz 512MB Ram No HDD picture

IBM EServer Xseries 220 Desktop Computer Intel Pentium 3 1GHz 512MB Ram No HDD

$224.99



IBM x3650 M4 2x Xeon E5-2670 2.6ghz 16-Core / 64GB / M5110e / 2x PSU picture

IBM x3650 M4 2x Xeon E5-2670 2.6ghz 16-Core / 64GB / M5110e / 2x PSU

$229.99