Linked by Thom Holwerda on Sun 29th Jan 2006 16:04 UTC, submitted by Falko Timme
Permalink for comment 90742
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.
News
Linked by Thom Holwerda on 05/23/13 23:22 UTC
Linked by Thom Holwerda on 05/23/13 22:04 UTC
Linked by Thom Holwerda on 05/23/13 22:01 UTC
Linked by Thom Holwerda on 05/23/13 17:52 UTC
Linked by Thom Holwerda on 05/22/13 22:23 UTC
Linked by Thom Holwerda on 05/22/13 13:38 UTC
Linked by Thom Holwerda on 05/22/13 13:30 UTC, submitted by JRepin
Linked by Thom Holwerda on 05/21/13 22:06 UTC
Linked by Thom Holwerda on 05/21/13 21:45 UTC
Linked by Thom Holwerda on 05/21/13 15:53 UTC
More News »
Sponsored Links



Member since:
2006-01-07
The presented solution works, but sure seems overly complicated. I've long wondered why somebody doesn't modify the rbash (restricted bash) shell to solve this problem. For those not aware of it, rbash prevents users from changing directories with the cd command. Unfortunately, that's too restrictive - you want users to be able to cd within their own home directory, you just don't want the cding into other people's home directories. Couldn't rbash be modified to do this? I wish I were a good enough programmer to hack this myself.
See "man rbash"