cd command is "restricted"

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

cd command is "restricted"

Postby foray » Mar 12th, '12, 16:41

hi all

i completed an installation of mageia and all seems to work fine
however when i start Konsole ot lxterminal i cannot use the change directory command cd
the following is what i get:

Code: Select all
rbash: cd: restricted


this happens only with normal user, no problem with root

i searched around on the net and it appears that bash is started in "restricted mode"......

how can i use a command line console in mageia without be restricted??
foray
 
Posts: 2
Joined: Mar 12th, '12, 16:24

Re: cd command is "restricted"

Postby doktor5000 » Mar 12th, '12, 22:10

Uhmm, rbash (short for restricted bash, see man rbash for more information on it) is normally only used for the xguest user,
because there we actually want a restriced shell. Please login as a normal user, and show the output of
Code: Select all
id
and the output of
Code: Select all
grep $(whoami) /etc/passwd

as normal user.

BTW which installation medium did you use, and which Mageia version did you install, 1 or cauldron?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: cd command is "restricted"

Postby foray » Mar 13th, '12, 13:58

ok, solved, only xguest user is restricted
with normal user i get no restriction....

thanks
foray
 
Posts: 2
Joined: Mar 12th, '12, 16:24

Re: cd command is "restricted"

Postby isadora » Mar 17th, '12, 19:53

foray wrote:ok, solved, only xguest user is restricted
with normal user i get no restriction....

thanks

Please mark topic as solved by prefixing the title of the initial message with [SOLVED].
Thanks in advance.
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2766
Joined: Mar 25th, '11, 16:03
Location: Netherlands


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron