Microsoft
Software
Hardware
Network
Question : how to change some user's password in Linux using a script (.sh or other)
Hello, I am using Debian 5 (lenny) and need to create a user automatically, I already do that, without a problem but the issue I am having now is that I cannot set the password for it.
I use this command: useradd -o -g 0 -u 0 (username)
This gives me root permission to that user, I have no problem with that, actually the application am using requires that, the problem is that I cannot set the password for it too.
Thanks in advance.
Answer : how to change some user's password in Linux using a script (.sh or other)
Try
echo username:password | chpasswd
e.g echo darwin:roach675 | chpasswd
- for the user "darwin" and new password set to "roach675"
Random Solutions
Batch file to count number of lines
A potentially dangerous Request.Form value was detected from the client ...
Changing A record
EJB
VS 2008 C# DataGridViewButtonColumn fires twice
How to configure Internet connection to go through one WNIC instead of NIC Card?
Deleting Duplicate entries in 2 different sheets
Create a Generic Service using Cluster.exe
I need to be able to modify a file located in the C:\Windows\winsxs\x86_micr
osoft-wind
ows-ntvdm-
system32_3
1bf3856ad3
64e35_6.1.
7600.16385
_none_fde3
passing in null for the function