Date: 12/28/00
- Next message: Alex Black: "Re: [PHP] sessions and security"
- Previous message: Jeroen Olthof: "[PHP] private variable in object ??"
- In reply to: Michael Geier: "RE: [PHP] adduser on a Linux Redhat 7"
- Next in thread: Teodor Cimpoesu: "Re: [PHP] adduser on a Linux Redhat 7"
- Reply: Teodor Cimpoesu: "Re: [PHP] adduser on a Linux Redhat 7"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>> how can i make a script to adduser to a linux redhat 7?
>
> That would be extremely dangerous unless you *really* know what you are
> doing.
heh, I can't think of anything less secure, actually.
maybe passwd as root :)
> You should only do this on a secure server.
at home. with no connection to the outside world. behind a steel door that
is locked most of the time.
> You should be very, very, very careful about who has access to the page that
> creates the user.
> You probably can't even exec() adduser, because the OS knows you're not on a
> real terminal, and the underlying code to get a password should only be done
> under controlled circumstances (IE a "real" terminal)... So I think you
> might need to alter the underlying files/directories by hand just to "fool"
> the OS into thinking adduser was called... That means you'll need to get
> the password and encrypt it using the same encryption method that your OS
> uses, which depends on what got installed.
>
> Be afraid. Be very afraid.
well said :)
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Alex Black: "Re: [PHP] sessions and security"
- Previous message: Jeroen Olthof: "[PHP] private variable in object ??"
- In reply to: Michael Geier: "RE: [PHP] adduser on a Linux Redhat 7"
- Next in thread: Teodor Cimpoesu: "Re: [PHP] adduser on a Linux Redhat 7"
- Reply: Teodor Cimpoesu: "Re: [PHP] adduser on a Linux Redhat 7"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

