[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] SSH/Bash, eksisterer biblioteket?



On 15/04/2010, at 15.38, Verner Kjærsgaard wrote:

> Hej gurus
> 
> - jeg har en extern NFS box på hvilken jeg automounter et bibliotek
> under mit /home dir. Det funker fint.
> 
> - når jeg opretter nye brugere i mit system skal jeg samtidig scripte
> mig udaf at oprette et bibliotek osv., til den nye bruger på NFS server
> boksen (SYNOLOGY DS209 II).
> 
> - jeg kan tilgå SYN boksen via SSH (jeg har lagt nøgler ud osv., det
> funker uden prompt for password).
> 
> Altså kan jeg skrive a la:
> 
> ssh sslug@sslug mkdir /volume1/SYNHOME/$user
> 
> - hvilket vil oprette biblioteket osv.
> - nu villle jeg imidlertid gerne på forhånd vide, om biblioteket findes?


Hvorfor? kan du ikke bare køre mkdir -p ?


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2010-05-01, 02:01 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *