Priority field in /etc/passwd??

Jim Webb jrw at mtune.ATT.COM
Fri Sep 21 06:03:51 AEST 1990


In article <4670 at teal10.UUCP>, gulik at motcid.UUCP (Gregory Gulik) writes:
> 
> I've seen several mentions of an undocemented priority field
> in the /etc/passwd in System V.

It is documented SOMEWHERE, so I guess I can talk about it without
getting in trouble :-)  Anyway, if you start the 'gecos' comment
field with pri=foo, the nice value will be incremented by foo.

In this example:

	jrw:b1vf-tw-k+mse:198:69:pri=-20*Jim Webb:/f1/jrw:/bin/ksh

the nice priority of my login shell would be set to 0, which is quite,
er, nice.  Since niceness is inherited, all my commands would have this
niceness, too.  Anyway, I am not sure how far into the future or past
this is/was supported, but it is easily tested by using ps -l after
logging in.

Have fun,

-- 
Jim Webb                "Out of Phase -- Get Help"               att!mtune!jrw
                  "I'm bored with this....Let's Dance!"



More information about the Comp.unix.admin mailing list