Super User is a question and answer site for computer enthusiasts and power users. 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

I have created a user called manager and set the /etc/user_attr file to allow net_privaddr privileges. But when I log into a shell as that user I'm not seeing those privileges granted. This is causing a "FTP Server start Error java.net.BindException: Permission denied." when I try to start an FTP server on port 21. Is there anything else I can check?

# grep manager /etc/user_attr
manager::::type=normal;defaultpriv=basic,net_privaddr
#
# su - manager
$ ppriv $$
24180:  -sh
flags = <none>
        E: basic
        I: basic
        P: basic
        L: all
$ exit
#
#
# su manager 
$ ppriv $$
24193:  sh
flags = <none>
        E: basic
        I: basic
        P: basic
        L: all
share|improve this question
    
You need to provide more information about your setup. As I already replied, I do not reproduce this issue. – jlliagre Jun 23 '12 at 7:02

Your setup works just fine here:

# grep manager /etc/user_attr
manager::::type=normal;defaultpriv=basic,net_privaddr
# 
# su - manager
Oracle Corporation      SunOS 5.10      Generic Patch   January 2005
$ ppriv $$
1271:   -sh
flags = <none>
        E: basic,net_privaddr
        I: basic,net_privaddr
        P: basic,net_privaddr
        L: all
$ cat /etc/release
                    Oracle Solaris 10 9/10 s10x_u9wos_14a X86
     Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
                            Assembled 11 August 2010

You need to provide more clues about your configuration, the release you are running.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .