-
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

Vintage Intel Mainframe Server MCM CPU Substrate Lot Prototyping PGA Validation
$500.00

HP 13210-60001 Disc Drive Interface PCB HP 7900A 7901A Vintage
$225.61

HP 5060-8359 8K Semiconductor Memory Module 5080-9747 Vintage HP Computer
$224.72

Vintage Telex 952003-112 Mechanical Terminal Keyboard IBM 3270 Mainframe DB25
$799.00

Vintage Mainframe Computer Disk Drive Pack Dyson SMD 5 Level Disks
$79.00

Commodore 64 PC with Model 1541 Diskette Drive and Flight Simulator II *READ*
$199.99

Vtg IBM Mainframe Prototype Chip Module Lot 146 pc 1988-1993 ES/9000 Lab Arcive
$649.00

Rare Vintage Mainframe Burroughs Discrete-Transistor Cordwood Module B2500/B5000
$99.95

Vintage UNIVAC 3620670-01 Mainframe Logic Board 15MHz Sperry Computer PCB
$98.95

IBM 3274-51C Controller 3270 mainframe 8" floppy tested to power on
$500.00