Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Zmiana hasła na podane
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Polish OTW
View previous topic :: View next topic  
Author Message
dudycz.damian
n00b
n00b


Joined: 27 Feb 2011
Posts: 11

PostPosted: Fri Jun 03, 2011 4:52 pm    Post subject: [SOLVED] Zmiana hasła na podane Reply with quote

Czy jest możliwość, żeby zmienić hasło roota na podane bez interakcji użytkownika? Chcę, żeby skrypt w bashu automatycznie zmienił hasło administratora np na "gentoo". Szukałem tego w google, ale nic nie znalazłem

Last edited by dudycz.damian on Fri Jun 03, 2011 7:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
Garrappachc
Guru
Guru


Joined: 26 Dec 2008
Posts: 362
Location: Kraków

PostPosted: Fri Jun 03, 2011 6:03 pm    Post subject: Reply with quote

Code:
passwd < hasło
się nie da? Głowy nie daję.
_________________
De profundis clamavi ad Te, Domine

emerge --info | virtual aviation
Back to top
View user's profile Send private message
dudycz.damian
n00b
n00b


Joined: 27 Feb 2011
Posts: 11

PostPosted: Fri Jun 03, 2011 6:18 pm    Post subject: Reply with quote

Niestety to nie działa
Back to top
View user's profile Send private message
Crenshaw
Guru
Guru


Joined: 23 Jun 2004
Posts: 474
Location: Poland

PostPosted: Fri Jun 03, 2011 6:18 pm    Post subject: Reply with quote

http://tinyurl.com/43kkevz
Back to top
View user's profile Send private message
dudycz.damian
n00b
n00b


Joined: 27 Feb 2011
Posts: 11

PostPosted: Fri Jun 03, 2011 7:13 pm    Post subject: Reply with quote

Dziękuję bardzo :). Wcześniej wpisywałem jakieś inne frazy w google i nie mogłem tego znaleźć. Jeśli ktoś by kiedyś szukał to:
Code:
passwd root<<ARUN
haslo
haslo
<<ARUN
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Polish OTW All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum