Halo Thomas,

> > ... wenn direkt nach dem „su“ das „rpm -Uvh...“ kommt, wird dich 
doch
> > das System darauf hinweisen, dass es keinen Benutzer „rpm“ gibt, 
oder
> > nicht ;?

ist ein Missverständnis. Ich hab geschrieben, dass nach su zuerst das 
passowrt eingegeben werden muss.
> su dieser Befehl erlaubt es eine Shell mit der Userkennung eines 
anderen
> Users zu starten
Wird *su* als normaler User gestartet, dann wird dabei das Passwort 
des neuen Users, in unserem Fall also das root-Passwort, benötigt.
Ich persönlich sehe da auch keinen Nachteil. Wenn man Rootrechte 
benötigt zur Installation, muss man das PW wissen und eingeben. Und 
danach den kurzen Befehl zur Installaion einzugeben, ist nicht 
besonders schwierig. Wer will, kann sich ja auch ein script dazu bauen, 
dass das alles für ihn erledigt.

"su rpm -Uvh *.rpm" funktioniert nicht, die Shell gibt eine Felhermeldung 
zurück:
> su: Ungültige Option -- U
> Usage:
>  su [options] [-] [USER [arg]...]
> 
> Change the effective user id and group id to that of USER.
> A mere - implies -l.   If USER not given, assume root.
> 
> Options:
>  -m, -p, --preserve-environment  do not reset environment variables
>  -g, --group <group>             specify the primary group
>  -G, --supp-group <group>        specify a supplemental group
>  
>  -, -l, --login                  make the shell a login shell
>  -c, --command <command>         pass a single command to the shell 
with -c
>  --session-command <command>     pass a single command to the 
shell with -c
>  
>                                  and do not create a new session
>  
>  -f, --fast                      pass -f to the shell (for csh or tcsh)
>  -s, --shell <shell>             run shell if /etc/shells allows it
>  
>  -h, --help     display this help and exit
>  -V, --version  output version information and exit
> Usage:
>  su [options] [-] [USER [arg]...]
> 
> Change the effective user id and group id to that of USER.
> A mere - implies -l.   If USER not given, assume root.
> 
> Options:
>  -m, -p, --preserve-environment  do not reset environment variables
>  -g, --group <group>             specify the primary group
>  -G, --supp-group <group>        specify a supplemental group
>  
>  -, -l, --login                  make the shell a login shell
>  -c, --command <command>         pass a single command to the shell 
with -c
>  --session-command <command>     pass a single command to the 
shell with -c
>  
>                                  and do not create a new session
>  
>  -f, --fast                      pass -f to the shell (for csh or tcsh)
>  -s, --shell <shell>             run shell if /etc/shells allows it
>  
>  -h, --help     display this help and exit
>  -V, --version  output version information and exit

Den Tip, alles aus einem Verzeichnis heraus zu intallieren, werde ich 
testen und hier informieren.

Gruß
Andreas



-- 
Liste abmelden mit E-Mail an: [email protected]
Probleme? 
http://de.libreoffice.org/hilfe-kontakt/mailing-listen/abmeldung-liste/
Tipps zu Listenmails: http://wiki.documentfoundation.org/Netiquette/de
Listenarchiv: http://listarchives.libreoffice.org/de/discuss/
Alle E-Mails an diese Liste werden unlöschbar öffentlich archiviert

Antwort per Email an