<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><STRONG><FONT face="Courier New" size=2>Ixi, queria entender isso 
direito.</FONT></STRONG></DIV>
<DIV><STRONG><FONT face="Courier New" size=2></FONT></STRONG> </DIV>
<DIV><STRONG><FONT face="Courier New" size=2>Vc quer fazer com que cada usuário 
dentro do users.txt, dentro de permissões.sh aquelas 2 linhas de privilégios, 
mas de forma automátizada sem que vc fique a cada novo usuário tendo que 
adicionar + 2 linhas no permissões.sh ???</FONT></STRONG></DIV>
<DIV><STRONG><FONT face="Courier New" size=2></FONT></STRONG> </DIV>
<DIV><STRONG><FONT face="Courier New" size=2>Fuiz</FONT></STRONG></DIV>
<DIV><STRONG><FONT face="Courier New" size=2></FONT></STRONG> </DIV>
<DIV><STRONG><FONT face="Courier New" size=2>----- Original Message ----- 
</FONT></STRONG>
<DIV><STRONG><FONT face="Courier New" size=2>From: "Adere - Levi / Analista de 
Suporte Linux" <</FONT></STRONG><A 
href="mailto:levi.alves@adere.com"><STRONG><FONT face="Courier New" 
size=2>levi.alves@adere.com</FONT></STRONG></A><STRONG><FONT face="Courier New" 
size=2>></FONT></STRONG></DIV>
<DIV><STRONG><FONT face="Courier New" size=2>To: "Lista de discussão voltada 
para os usuários brasileiros do Fedora" <</FONT></STRONG><A 
href="mailto:fedora-users-br@redhat.com"><STRONG><FONT face="Courier New" 
size=2>fedora-users-br@redhat.com</FONT></STRONG></A><STRONG><FONT 
face="Courier New" size=2>></FONT></STRONG></DIV>
<DIV><STRONG><FONT face="Courier New" size=2>Sent: Friday, January 05, 2007 
11:04 AM</FONT></STRONG></DIV>
<DIV><STRONG><FONT face="Courier New" size=2>Subject: [Fedora-users-br] 
sed</FONT></STRONG></DIV></DIV>
<DIV><STRONG><BR><FONT face="Courier New" 
size=2></FONT></STRONG></DIV><STRONG><FONT face="Courier New" size=2>> 
Pessoal eu tenho dentro de um arquivo chamado users.txt as seguintes 
linhas:<BR>> lalves<BR>> acavalleiros<BR>> rfernandes<BR>> <BR>> 
e exite um arquivo chamado permissão.sh, queria colocar os seguintes comandos 
dentro desse arquivo <BR>> usando o arquivo users.txt, por exemplo<BR>> 
<BR>> /usr/bin/chmod -R 755 laves<BR>> /usr/bin/chown -R laves:laves 
laves<BR>> <BR>> esse comandos acima eu quero colocar dentro do arquivo 
permissao.sh<BR>> <BR>> e assim por diante, alguem poderia me passar os 
passos pra mim fazer isso<BR>></FONT></STRONG>
<P></P><STRONG><FONT face="Courier New" size=2>
<HR>
</FONT></STRONG>
<P></P><STRONG><FONT face="Courier New" size=2>--<BR>Fedora-users-br mailing 
list<BR></FONT></STRONG><A 
href="mailto:Fedora-users-br@redhat.com"><STRONG><FONT face="Courier New" 
size=2>Fedora-users-br@redhat.com</FONT></STRONG></A><BR><A 
href="https://www.redhat.com/mailman/listinfo/fedora-users-br"><STRONG><FONT 
face="Courier New" 
size=2>https://www.redhat.com/mailman/listinfo/fedora-users-br</FONT></STRONG></A><BR></BODY></HTML>