Page 1 of 1

cd command is "restricted"

PostPosted: Mar 12th, '12, 16:41
by foray
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??

Re: cd command is "restricted"

PostPosted: Mar 12th, '12, 22:10
by doktor5000
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?

Re: cd command is "restricted"

PostPosted: Mar 13th, '12, 13:58
by foray
ok, solved, only xguest user is restricted
with normal user i get no restriction....

thanks

Re: cd command is "restricted"

PostPosted: Mar 17th, '12, 19:53
by isadora
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.