Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: Adduser script i PHP


  • Subject: Re: lug-bg: Adduser script i PHP
  • From: cybdevil@xxxxxxxxxx (Tihomir Georgiev)
  • Date: 12 May 2001 00:21:10 -0000



shto se otnasq do syzdavaneto na home direktoriqta, dobavi -m. A za 
password-a ne znam. Eto kakvo pishe v man-a:

-p passwd   The encrypted password, as returned by crypt(3). The 
default is to disable the account.

Pyrvo trqbva da kriptirash parolata i taka da q podadesh na useradd.

> > On Friday 11 May 2001 08:13, you wrote:
> > Mozhesh da izpolzvash neshto dosta neskoposano, no pyk vyrsheshto
> > rabota. Da si napravish v SQL-a edna database da kazhem "todo" i v 
neq
> > da si vkarvash  komandite (neshto ot roda na "useradd -p password -s
> > /dev/null name"). Sled  tova v crontab-a na root-a si slagash edno
> > scriptche deto samo da izpylnqva  tova, deto e napisano v todo.
> > Hope it works...
> 
> I az taka si misleh ama ti pravil li si go ?
> Da to raboti ama napolovina zashtoto ne sysdava dir /home/user
> i pogledni kakvo pravi v /etc/shadow
> Taka triabva da izglejda normano:
> fccf:$1$0n7YuvYG$Ae3qL5wgpVuEfvbK/pdI6.:11442:0:99999:7:::
> 
> A to izglejda taka:
> lamer:lamershtina:11453:0:99999:7:::
> 
> Shto se otnasia do /etc/passwd mi se struva normalno vsichko.
> lamer:x:1019:100::/home/lamer:/bin/false
> 
> 
> e?
> 
> 
> 
> > 
> >>  Zdraveite.
> >>
> >> Imam goliam problem.
> >> Triabva da napisha script na PHP, koito da addva user na mashinata
> >> (Slackware Linux 7.1) i ednovremenno s tova da vpisva v MySQL bazi
> >> danni. Shto se otnasia do bazite danni veche sym gotov no ne moga 
da
> >> razbera kak da napisha scripta za addvaneto na usera.
> >>
> >> Ve3che probvah s md5sum no resultata e razlichen ot nujnia v shadow
> >> faila. Niakoi sluchaino da ime ideia ili da e pisal neshto takova ?
> >> Shte vi byda mnogo blagodaren za vsiakakva informacia ot toia sort.
> >> BTW tyrsih mnogo v phpbuilder.com i v oshte niakolko stranici ot 
toia
> >> sort.
> >>
> >> V kraina smetka ako tova ne e vyzmojno da stane s PHP to syglasen 
sym
> >> da priema takova reshenie i na perl.
> >>
> >> Ako triabva shte si platia samo niakoi da mi go napishe ili 
podskaje
> >> kak da si go napisha. Mnogo mi e speshno. Please help me.
> > 
> 
========================================================================
===
> > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara
> > Zagora
> 
> 
> -- 
> -------------------------
> Marian Popov
> Linux system administrator
> http://www.pazardjik.com/
> e-mail: mano@xxxxxxxxxxxxx
> icq: 9362972
> Cel: +359 (88) 975753
> 
> 
========================================================================
===
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara 
Zagora
> 
> 

----------------------------------------------------------------------- 
Don't go where the path may lead, go instead where there is no path and 
leave a trail...
-----------------------------------------------------------------------
Tihomir Georgiev
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.