delorie.com/archives/browse.cgi | search |
Sylvain DOT Ferriol AT imag DOT fr wrote: > Yes , because i don't want to create a shell doing this: > grep -v $USERNAME /etc/passwd > /etc/passwd Care! That will leave you with an empty /etc/passwd. The shell truncates /etc/passwd BEFORE grep reads it. > mkpasswd -l -u $USERNAME -p $HOME >> /etc/passwd > > sylvain Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |