Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
sub shell implementation
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
zix  
View profile  
 More options Jul 1 2009, 12:10 pm
Newsgroups: comp.os.linux.development.apps
From: zix <zixe...@gmail.com>
Date: Wed, 1 Jul 2009 09:10:52 -0700 (PDT)
Local: Wed, Jul 1 2009 12:10 pm
Subject: sub shell implementation
Hi Everybody,
this is in related to this thread: somehow i decided it has grown
enough, so thought of starting a new one...
http://groups.google.co.in/group/comp.os.linux.development.apps/brows...

Anyways, the point is that I have to implement a shell(same as
newgrp). But just wondering, how is that feasble.

as for example, I have command df which has to be executed from new
group. if I have the new group ready, how do i set the df command to
be executed by users of that group? I mean imagine if my group id is
140, what do i set in df so that only users after entering the group
(gid 140) will be able to execute?

I have to have all these automated, as all these are supposed to be in
rootfilesystem and not in PC's. I am planning to write all scripts to
automate when my target boots up and runs.

Thanks for all the help,
zix


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joe Beanfish  
View profile  
 More options Jul 1 2009, 12:53 pm
Newsgroups: comp.os.linux.development.apps
From: Joe Beanfish <j...@nospam.duh>
Date: Wed, 01 Jul 2009 12:53:38 -0400
Local: Wed, Jul 1 2009 12:53 pm
Subject: Re: sub shell implementation

zix wrote:
> Hi Everybody,
> this is in related to this thread: somehow i decided it has grown
> enough, so thought of starting a new one...
> http://groups.google.co.in/group/comp.os.linux.development.apps/brows...

> Anyways, the point is that I have to implement a shell(same as
> newgrp). But just wondering, how is that feasble.

newgrp doesn't implement a shell. It just changes group then
runs a standard shell.

> as for example, I have command df which has to be executed from new
> group. if I have the new group ready, how do i set the df command to
> be executed by users of that group? I mean imagine if my group id is
> 140, what do i set in df so that only users after entering the group
> (gid 140) will be able to execute?

chgrp 140 /bin/df
chmod 750 /bin/df

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
zix  
View profile  
 More options Jul 2 2009, 12:30 am
Newsgroups: comp.os.linux.development.apps
From: zix <zixe...@gmail.com>
Date: Wed, 1 Jul 2009 21:30:56 -0700 (PDT)
Local: Thurs, Jul 2 2009 12:30 am
Subject: Re: sub shell implementation

> chgrp 140 /bin/df
> chmod 750 /bin/df

thank u, thats perfect :-)

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google