View previous topic :: View next topic |
Author |
Message |
Prompty Apprentice


Joined: 08 Feb 2004 Posts: 292
|
Posted: Tue Feb 10, 2004 1:48 pm Post subject: haslo root'a zmienone po "emerge --update world" ? |
|
|
zrobilem emerge --update world po czym sporbowalem sie za pomoca "su" zalaogowac na root'a ... wypisuje mi ciagle ze zle haslo wpisalem
na szczescie na drugiej konsli zachowalem zalogowanego root'a , zmienilem mu haslo ale ciagle wyskakuje przy "su -" ze jest zle haslo podane .
Ktos spotkal sie wczesniej z czyms takim ? ewentulanie wie co moglo to spowodowac ? chce wiedziec na przyszlosc zeby nie zrobic tego samego ... _________________ <input stupid message here>
Last edited by Prompty on Wed Feb 11, 2004 9:38 pm; edited 1 time in total |
|
Back to top |
|
 |
Yarecki n00b

Joined: 26 Dec 2003 Posts: 58 Location: Poland - 3City
|
Posted: Tue Feb 10, 2004 2:51 pm Post subject: |
|
|
Moze problemy z pam, albo cos nadpisalo Ci /etc/group.
Jesli chodzi o pam to emerge shadow powinnon rozwiazac problem. |
|
Back to top |
|
 |
Prompty Apprentice


Joined: 08 Feb 2004 Posts: 292
|
Posted: Tue Feb 10, 2004 2:56 pm Post subject: |
|
|
Quote: | Moze problemy z pam, albo cos nadpisalo Ci /etc/group.
Jesli chodzi o pam to emerge shadow powinnon rozwiazac problem |
emerge shadow .... nie spieprzy mi to przypadkiem reszty kont ? nie chce recznie wszytkiego potem robic  _________________ <input stupid message here> |
|
Back to top |
|
 |
btower n00b

Joined: 31 Jul 2003 Posts: 70 Location: Poland
|
Posted: Tue Feb 10, 2004 3:05 pm Post subject: |
|
|
Prompty wrote: | Quote: | Moze problemy z pam, albo cos nadpisalo Ci /etc/group.
Jesli chodzi o pam to emerge shadow powinnon rozwiazac problem |
emerge shadow .... nie spieprzy mi to przypadkiem reszty kont ? nie chce recznie wszytkiego potem robic  |
1. Jak to ręcznie?
2. Od czego jest kopia zapasowa? |
|
Back to top |
|
 |
robert1900 n00b


Joined: 26 Dec 2003 Posts: 12 Location: Poland
|
Posted: Tue Feb 10, 2004 3:13 pm Post subject: |
|
|
Prompty wrote: |
emerge shadow .... nie spieprzy mi to przypadkiem reszty kont ? nie chce recznie wszytkiego potem robic  |
Wystarczy żebyś zwrócił uwagę na zmieniane pliki w /etc/ i nie pozwolił na nadpisanie plików z użytkownikami/grupami _________________ Regards
Robert
http://www.bystrze.org |
|
Back to top |
|
 |
Prompty Apprentice


Joined: 08 Feb 2004 Posts: 292
|
Posted: Tue Feb 10, 2004 3:19 pm Post subject: |
|
|
no dobra zaczynam ale jak cos to naskarze na was dla mamy !  _________________ <input stupid message here> |
|
Back to top |
|
 |
Yarecki n00b

Joined: 26 Dec 2003 Posts: 58 Location: Poland - 3City
|
Posted: Tue Feb 10, 2004 3:30 pm Post subject: |
|
|
Shadow nic nie namiesza bo jego pliki w /etc to:
/etc/skel
/etc/default/useradd
/etc/securetty
/etc/limits
/etc/login.access
a
/etc/shadow
/etc/group
/etc/passwd
naleza do baselayout. |
|
Back to top |
|
 |
Prompty Apprentice


Joined: 08 Feb 2004 Posts: 292
|
Posted: Tue Feb 10, 2004 3:30 pm Post subject: |
|
|
group rzeczywiscie jest chyba lekko skoruptowane ... ale w tej chwili moge sie juz logowac z dowolnej konsoli na root'a ... jak dodac ludzi zeby mogli uzywac su ( to jest grupa wheel o ile pamietam ) ?
i co to jest vc/1-vc/12 ( vitrual console ? )
ale ze mnie noobas  _________________ <input stupid message here> |
|
Back to top |
|
 |
Borys n00b

Joined: 30 Jan 2004 Posts: 18 Location: Wrocław, PL
|
Posted: Tue Feb 10, 2004 9:46 pm Post subject: |
|
|
Aby dany użytkownik mógł korzystać z su należy dodać go do grupy wheel |
|
Back to top |
|
 |
czemu n00b

Joined: 08 Feb 2004 Posts: 9 Location: Chrzanow, Poland
|
Posted: Wed Feb 11, 2004 3:57 pm Post subject: |
|
|
Prompty wrote: | group rzeczywiscie jest chyba lekko skoruptowane ... ale w tej chwili moge sie juz logowac z dowolnej konsoli na root'a ... jak dodac ludzi zeby mogli uzywac su ( to jest grupa wheel o ile pamietam ) ?
|
Ja to robie ręcznie, edytujesz /etc/group. Znajdujesz wpis 'wheel' i robisz cos takiego:
Code: |
wheel::10:root,user1,user2,user3
|
I powinno działać  _________________ czemu.org // bash.org.pl |
|
Back to top |
|
 |
Prompty Apprentice


Joined: 08 Feb 2004 Posts: 292
|
Posted: Wed Feb 11, 2004 9:40 pm Post subject: |
|
|
okej dzieki wszytkim teraz juz jest okej ... ale musialem sporo rzeczy poprawic ( /etc/fstab
konfifuracje networku /etc/group _________________ <input stupid message here> |
|
Back to top |
|
 |
|