Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.