2 Replies Latest reply: Dec 20, 2011 5:36 PM by alan.pae RSS

    Getting admin role in solaris 11

    906349
      Hi,
      As shown below, I am unable to execute certain commands on our Solaris 11 machine.
      I think that it is an issue with my privileges. I know the root password.
      Could someone tell me what are the privileges I should assign to my user and how?

      For example:
      -bash-4.1$ usermod
      -bash: usermod: command not found

      bash-4.1$ roles
      root
      -bash-4.1$ id
      uid=102(user) gid=10(staff)

      Edited by: 903346 on Dec 19, 2011 8:37 PM
        • 1. Re: Getting admin role in solaris 11
          bigdelboy
          903346 wrote:
          Hi,
          As shown below, I am unable to execute certain commands on our Solaris 11 machine.
          I think that it is an issue with my privileges. I know the root password.
          Could someone tell me what are the privileges I should assign to my user and how?

          For example:
          -bash-4.1$ usermod
          -bash: usermod: command not found

          bash-4.1$ roles
          root
          -bash-4.1$ id
          uid=102(user) gid=10(staff)

          Edited by: 903346 on Dec 19, 2011 8:37 PM
          Try /usr/sbin/usermod or /sbin/usermod. Though i worry about you having the power if you do not do know this. Please be aware this is a guess my me.
          • 2. Re: Getting admin role in solaris 11
            alan.pae
            As was already indicated this is probably a path error more than it is a permissions problem.

            You might want to invest in some beginners type book for either Solaris or Linux.

            alan