Re: a sub shell implementation



On 2009-06-15, zix <zixenus@xxxxxxxxx> wrote:


Hi,
I need to implement a sub shell. lets call this priviledge mode,
where an user will be allowed to enter a set of commands which he can
only enter in priviledged mode. The priviledged mode can be entered
via conventional login/password promt from bash shell. lets for
example say like if I wanted df command to be executed from
priviledged mode. Any idea will be appreciated how to approach here.
Are there any open source project like this developed somewhere? Any
idea wil be of great help.

Thanks n Regards,
zix

It sounds like you are trying to reinvent su or sudo.

.



Relevant Pages

  • a sub shell implementation
    ... I need to implement a sub shell. ... where an user will be allowed to enter a set of commands which he can ... The priviledged mode can be entered ... idea wil be of great help. ...
    (comp.os.linux.development.apps)
  • Re: a sub shell implementation
    ... I need to implement a sub shell. ... where an user will be allowed to enter a set of commands which he can ... The priviledged mode can be entered ... It sounds like you are trying to reinvent su or sudo. ...
    (comp.os.linux.development.apps)
  • Re: a sub shell implementation
    ... I need to implement a sub shell. ... where an user will be allowed to enter a set of commands which he can ... The priviledged mode can be entered ... It sounds like you are trying to reinvent su or sudo. ...
    (comp.os.linux.development.apps)