-
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
-
Senior Member
registered user
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
-
By Mustang64 in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 06-15-2004, 01:42 PM
-
By A. Jorge Garcia in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 03-26-2004, 06:15 PM
-
By A. Jorge Garcia in forum General Support
Replies: 1
Last Post: 03-24-2004, 06:37 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
![IBM System X3250 M3 Server 8GB RAM Intel Xeon x3440 2.53ghz (NO HDD) picture](/store/img/M~sAAOSwFVlkVr-r/s-l225//IBM-System-X3250-M3-Server-8GB-RAM-Intel-Xeon-x344.jpg)
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](/store/img/faAAAOSwNpBmmurh/s-l225//IBM-System-x3250-M4-Server-Intel-Xeon-E31220-3-10G.jpg)
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](/store/img/xiEAAOSwwGtmRmN6/s-l225//IBM-Power-S822-8284-22A-12SFF-Power8-3-89GHz-6Core.jpg)
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](/store/img/faAAAOSwNpBmmurh/s-l225//IBM-System-x3250-M4-Server-Intel-Xeon-E31220-3-10G.jpg)
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](/store/img/gB8AAOSwbdlmoAB0/s-l225//IBM-Power-S822-8284-22A-12SFF-Power8-3-89GHz-6Core.jpg)
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](/store/img/9r4AAOSw0lNmkTwe/s-l225//IBM-Server-Rack-Cabinet-Machine-Type-9308-Model-42.jpg)
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](/store/img/oRsAAOSw~pRmQitC/s-l225//IBM-System-x3550-M3-Dual-Intel-Xeon-X5650-2-67GHz-.jpg)
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](/store/img/GXwAAOSwPUBmlreB/s-l225//IBM-System-X3650-M4-7915AC1-Server-2-Intel-Xeon-E5.jpg)
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](/store/img/u88AAOSw9sxmltD4/s-l225//IBM-EServer-Xseries-220-Desktop-Computer-Intel-Pen.jpg)
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](/store/img/YXgAAOSwzGNjh6tH/s-l225//IBM-x3650-M4-2x-Xeon-E5-2670-2-6ghz-16-Core-64GB-M.jpg)
IBM x3650 M4 2x Xeon E5-2670 2.6ghz 16-Core / 64GB / M5110e / 2x PSU
$229.99