Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

When I try to edit do crontab for a user with a long username on solaris 10 I get this error:

crontab: login name too long

Is this a known problem and is there a solution for it (without changing the username)?

The username is 27 characters long.

share|improve this question

2 Answers 2

I never saw that before.

But, while we don't discover how to fix this issue, try to edit the crontab file by vi command.

vi /var/spool/cron/crontabs/"username"

It will help you meanwhile.

share|improve this answer

After some quick googling it appears that many of Sun's unix tools follow the Unix convention of 8 or less character usernames. It seems that Solaris will allow you to use longer usernames, but it is not a certified or supported configuration.

share|improve this answer
True enough. But not really helpful, is it? –  innaM Sep 9 '09 at 17:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.