The root filesystem is likely mounted read only. Try running the following mount -o remount rw /
Then issue your passwd command. Chris On Mar 3, 2008, at 1:11 PM, Fred wrote: > Hello > > I wanted to change the root password by connecting to the AstLinux > box, but > I get the following error: > > ========== > # passwd > Changing password for root > New password: > Retype password: > passwd: cannot update password file /etc/shadow > ========== > > FWIW, here's more information: > > ========== > # ll /etc/shadow > -rw------- 1 root root 149 Feb 20 13:29 /etc/shadow > ========== > # cat /etc/ssh/sshd_config > Protocol 2 > Port 22 > ListenAddress 0.0.0.0 > PermitRootLogin yes > > Subsystem sftp /usr/sbin/sftp-server > Banner /etc/issue.net > ========== > > Is it some protection on the server? Do I need to do this by > connecting to > the console directly? > > Thank you. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Astlinux-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to [EMAIL > PROTECTED] > . ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Astlinux-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED]
