On Wed, Jan 16, 2002 at 06:43:03PM +0800, Venkatakrishnan sudarsanam wrote: > > I tried to create a new user account using the useradd along > with the users password. But when I try to login again using > the created userid it shows as invalid. the syntax i gave in > the root was > > # useradd testid -p test > > is there anything wrong with this syntax. > ---end quoted text---
useradd is the basic utility for adding users to your box. It is a bit cryptic. Rather than give details of errors above, I would advocate the script "adduser" which is shipped with most distros. This is usually at /usr/sbin/adduser. This is merely a wrapper for useradd, and does things correctly .. Go through the script for exact details on the syntax of "useradd -m" ... If your distro does not have adduser, I can mail it to you ... HTH Bish : ####[ Linux One Stanza Tip (LOST) ]########################### Sub : Corrupt .tar.gz downloads with Netscape LOST #249 Tarballs downloaded with Netscape at times seem to give error during untarring. Some versions of Netscape (4.7x) do gunzip on the fly, and what is saved is a .tar file (though the name is still retained as .tar.gz). Doing a "file download.tar.gz" can elucidate the problem ... 'tar -xvf' usually works. ####<[EMAIL PROTECTED]>#################################### : _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
