Chris Blessing wrote:

> Is there anyway to link to another file (in /etc/passwd)?

No.

> This is in
> reference to my previous question as I plan to have a script automate
> the addition of users but I don't want it to spoil the /etc/passwd file
> if it gets to be corrupted by "non-essential" users...thanks!

As long as you append to the file, any entries which are already
present will remain unaffected.

However, it is important that any code which modifies /etc/passwd is
robust. The simplest solution is probably to use `vipw', with EDITOR
set to a suitable program.

-- 
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to