Xref: utzoo comp.unix.questions:25682 comp.unix.admin:205 Path: utzoo!utgpu!watserv1!watmath!att!dptg!mtune!jrw From: jrw@mtune.ATT.COM (Jim Webb) Newsgroups: comp.unix.questions,comp.unix.admin Subject: Re: Priority field in /etc/passwd?? Message-ID: <793@mtune.ATT.COM> Date: 20 Sep 90 20:03:51 GMT References: <4670@teal10.UUCP> Organization: AT&T BL Middletown/Lincroft NJ USA Lines: 24 In article <4670@teal10.UUCP>, gulik@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!"