dbaspot
Tags Register FAQ Calendar Search Today's Posts Mark Forums Read

sudo ??- groups and users - hp-hpux

This is a discussion on sudo ??- groups and users - hp-hpux ; Well I wrote an application that I wanted members of a group to execute. This is how it's setup login 'miket' is in users and 'smappusers' groups and has sudo su permissions four users are also in 'users' and 'smappusers' ...


Home > Database Forum > Operating Systems > hp-hpux > sudo ??- groups and users

Reply

 

LinkBack Thread Tools Display Modes
  #1  
Old 11-03-2008, 06:56 PM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default sudo ??- groups and users

Well I wrote an application that I wanted members of a group to
execute. This is how it's setup

login 'miket' is in users and 'smappusers' groups and has sudo su
permissions
four users are also in 'users' and 'smappusers' groups.

Because I didn't want the 'smappusers' to have access to all my
scripts, I had a login and directory created for ' appuser'. In this
directory I have a local application that calls on files and a sql
located in 'miket' directory.

I want the 'smappusers' group to run certain scripts located in
'miket' directory called from the application sitting in 'appuser'
directory . I believe that allowing them sudo rights would allow
this.

Does this sound correct?

Thanks

Mike

Reply With Quote
  #2  
Old 11-03-2008, 08:27 PM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: sudo ??- groups and users

mmccaws2 wrote:

>Well I wrote an application that I wanted members of a group to
>execute. This is how it's setup
>
>login 'miket' is in users and 'smappusers' groups and has sudo su
>permissions
>four users are also in 'users' and 'smappusers' groups.
>
>Because I didn't want the 'smappusers' to have access to all my
>scripts, I had a login and directory created for ' appuser'. In this
>directory I have a local application that calls on files and a sql
>located in 'miket' directory.
>
>I want the 'smappusers' group to run certain scripts located in
>'miket' directory called from the application sitting in 'appuser'
>directory . I believe that allowing them sudo rights would allow
>this.
>
>Does this sound correct?
>
>Thanks
>
>Mike


Mike,

With sudo you can give users or groups root access to run what ever
commands/programs/scripts you want.

So you should be able to give members of the smappusers group
premission to run these scripts as root and only these scripts.

Regards,

Ted.
================================================== ============
| Ted Linnell |
| |
| Nunawading, Victoria , Australia |
================================================== ============
Reply With Quote
  #3  
Old 11-03-2008, 08:32 PM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: sudo ??- groups and users

On Nov 3, 4:27*pm, Ted Linnell wrote:
> mmccaws2 wrote:
> >Well I wrote an application that I wanted members of a group to
> >execute. *This is how it's setup

>
> >login 'miket' is in users and 'smappusers' groups and has sudo su
> >permissions
> >four users are also in 'users' and 'smappusers' *groups.

>
> >Because I didn't want the 'smappusers' to have access to all my
> >scripts, I had a login and directory created for ' appuser'. *In this
> >directory I have a local application that calls on files and a sql
> >located in 'miket' directory.

>
> >I want the 'smappusers' group to run certain scripts located in
> >'miket' directory called from the application sitting in 'appuser'
> >directory . *I believe that allowing them sudo rights would allow
> >this.

>
> >Does this sound correct?

>
> >Thanks

>
> >Mike

>
> Mike,
>
> With sudo you can give users or groups root access to run what ever
> commands/programs/scripts you want.
>
> So you should be able to give members of the smappusers group
> premission to run these scripts as root and only these scripts.
>
> Regards,
>
> Ted.
> ================================================== ============
> | Ted Linnell * * * * * * * * * * |
> | * * * * * * * * * * * * * * * * *|
> | Nunawading, Victoria , Australia * * * * * * * * * * * * * |
> ================================================== ============


Thanks

Can only a user with root access setup sudo permissions.

Mike
Reply With Quote
  #4  
Old 11-03-2008, 11:10 PM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: sudo ??- groups and users

mmccaws2 wrote:
> Can only a user with root access setup sudo permissions.



Yes, unless you have allowed with sudo, others.
Reply With Quote
Reply

Thread Tools
Display Modes



All times are GMT -4. The time now is 07:34 PM.