View previous topic :: View next topic |
Author |
Message |
smyqlek n00b


Joined: 15 Jul 2004 Posts: 44
|
Posted: Sat Feb 19, 2005 3:27 pm Post subject: [OT]Permissions |
|
|
Mam taki problem :
Jesli na swoim kompie loguje sie jako root to [ prawie ] wszystko dziala ja nalezy
Ale jak sie loguje na konto usera to po podaniu loginu i hasla wyskakuje taki blad :
Code: | -bash: /usr/bin/whoami: Permission denied
-bash: [: =: unary operator expected
|
jesli wpisze polecenie $ls albo inne, ktore powinno normalnie dzialac
Code: |
ls: error while loading shared libraries: libgpm.so.1: cannot open shared object file: Permission denied |
ale np. jak wpisze $whoami to pokazuje mi nazwe uzytkownika tak jak powinno.
Jak zmienilem w /etc/passwd domyslny shell dla tego usera [z /bin/bash na /bin/sh ] to ten pierwszy error pojawiajacy sie zaraz po logowaniu takze sie pojawial, tylko ze na poczatku bylo zmiast "-bash" wypisane "-sh"
Jako user nie moge nic robic :/
Co jest grane ??
Jak moge to naprawic ??
z gory dziekuje za pomoc i pozdrawiam
smyq |
|
Back to top |
|
 |
Strus l33t

Joined: 19 Apr 2004 Posts: 780 Location: Poland - Bochnia
|
Posted: Sun Feb 20, 2005 12:47 am Post subject: |
|
|
Jakie masz prawa do /usr/bin/ i w jakich grupach jest ten user? |
|
Back to top |
|
 |
smyqlek n00b


Joined: 15 Jul 2004 Posts: 44
|
Posted: Sun Feb 20, 2005 9:35 am Post subject: |
|
|
/usr/bin
drwx------
zalogowany jako user :
$id -nG
users wheel audio |
|
Back to top |
|
 |
Yarecki n00b

Joined: 26 Dec 2003 Posts: 58 Location: Poland - 3City
|
Posted: Sun Feb 20, 2005 3:15 pm Post subject: |
|
|
drwxr-xr-x 2 root root 20K lut 20 00:31 /usr/bin - Domyślne po instalacji _________________ Nigdy nie kloc sie z glupim, ludzie moga nie dostrzec roznicy. |
|
Back to top |
|
 |
smyqlek n00b


Joined: 15 Jul 2004 Posts: 44
|
Posted: Sun Feb 20, 2005 8:12 pm Post subject: |
|
|
nie pomoglo :/
dalej to samo ...  |
|
Back to top |
|
 |
Strus l33t

Joined: 19 Apr 2004 Posts: 780 Location: Poland - Bochnia
|
Posted: Sun Feb 20, 2005 10:46 pm Post subject: |
|
|
Jak utworzysz nowego użytkownika to są takie same problemy ? |
|
Back to top |
|
 |
smyqlek n00b


Joined: 15 Jul 2004 Posts: 44
|
Posted: Tue Feb 22, 2005 5:02 pm Post subject: |
|
|
tak,
napiszcie mi prosze z czym to moze byc zwiazane,
to bede mogl cos pokombinowac,
bo jak narazie nie wiem za co sie zabrac,
a na necie niewiele osob mialo podobny problem jak ja [ 2 ]
thx4help |
|
Back to top |
|
 |
tswiercz Tux's lil' helper

Joined: 05 Dec 2004 Posts: 106
|
Posted: Fri Feb 25, 2005 8:50 pm Post subject: |
|
|
a katalogi /usr i /usr/bin też mają prawo drwxr-xr-x?? |
|
Back to top |
|
 |
milu Bodhisattva


Joined: 03 May 2004 Posts: 1122 Location: Poland, Konstancin-Jeziorna
|
Posted: Sat Feb 26, 2005 9:21 am Post subject: |
|
|
Czy prawa do wszystkich katalogów masz ustawione tak jak podałeś??
z Twojego błędu w pierwszym poście wynika, że albo nie masz gpm'a skompilowanego albo masz złe uprawnienia do katalogu, w którym on się znajduje.
Sprawdź sobie uprawnienia do wszystkich katalogów na głównej ścieżce i wklej tu. Coś ostro się chyba pobawiłeś chmod'em  _________________ Pozdrawiam,
Milu
------------------------------------
Registered Linux User: #246079
Zanim zadasz pytanie przeczytaj to dokładnie!! |
|
Back to top |
|
 |
|