-
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

Juniper EX4100-48T-AFI Ethernet Switch
$8034.99

Juniper Networks EX2300-48P 48-Port PoE Gigabit Switch (Renewed)
$361.91

Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P
$149.99

🔀 Juniper Networks EX2300-C-12P 12× Gigabit PoE+ • 2× 10G SFP+ Compact Switch ⚡
$109.99

Juniper QFX5210-64C Ethernet Switch
$50014.99

Juniper EX4100-24P Ethernet Switch
$6983.99

Juniper EX2300-C Compact Ethernet Switch
$2673.99

Juniper SRX340 Router
$6392.99

Juniper QFX5100-48S-3AFI 48-Port SFP+ 6 QSFP+ 2x SFP/RJ-45 Management
$249.97

Juniper EX4300-32F 32-Port SFP Gigabit Switch EX 4300 w/ Rack Ears
$89.99