On Mon, Apr 28, 2008 at 03:17:34PM +0200, Torsten wrote:
>> Are you serious? You break things by removing an essential, documented
>> file and then complain? 
>
> It's obvious that I must be dumb. I wasn't smart enough to find out that 
> running a program by schedule (which cron does) _must_ have something to do 
> with the _login_ process, which login.conf is obviously related to!!! As if 
> that wasn't obvious!!! ;-)

Yes, it is *totally* obvious if you actually know what you're doing.

All users have a login class. This login class is configured in
/etc/master.passwd (which you knew about). Details about the login
classes are stored in login.conf or its related databases. This is
basic unix sysadmin stuff. 

You don't have to know about it, but if you start deleting stuff where
you don't know what it does, you may end up shooting yourself in the
foot. Another unix thing, you can very easily shoot yourself in your
feet.

If you don't know what you're doing, don't do it. Before deleting a
file you don't know its use of, read up on its manpage - that's what
it's there for. It just may be very important.

> Stupid as I am I thought that documentation of cron would point to the 
> files that cron relies upon. Or at least, if it finds a file missing, it 
> would tell me which one it is. Stupid me! ;-)

Cron relies on users being properly configured. Users being properly
configured require passwd and login databases. Maybe you knew this :
cron also relies on the dynamic linker and its related files. You
didn't delete those, did you ? But the cron docs did not tell you
about /var/run/ld.so.hints and the config that sets it up, right ? You
managed to not delete the runtine link editor directory cache or the
stuff that sets it up (probably) because you knew how important it is.
What should we do with the next guy that deletes this stuff thinking
he doesn't need it and neglects to tell us when he comes here asking
for help ? 

You didn't know the importance of login.conf and you burn your fingers
deleting it. Don't blame others for it, and don't play the "hey, I got
mistreated"-card either. It just makes you look lame.

You broke the thing, you got told off, you even got help. Learn and
move on, don't come crying about how stupid you are.

Cheers,

Paul 'WEiRD' de Weerd

-- 
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/                 

Reply via email to