Re: Creating a new user without a password
Henrique de Moraes Holschuh <[EMAIL PROTECTED]> [2003-01-02 00:30:49 -0200]: > > > > adduser --disabled-login --gecos 'MYSQL User' mysql > > > I suggest using the --system option there too. > > > > The only problem/difference with --system is that the adduser command > > will not create a unique group for the uid. It will create the group > > as 'daemon' IIRC. I did not see a way to create a system user that > > adduser --disabled-login --gecos 'MYSQL User' --group mysql > > Manpages are good. Read them. Ah, very good. I had missed that option when I had read the man pages previously. Bob msg21901/pgp0.pgp Description: PGP signature
Re: Creating a new user without a password
On Wed, 01 Jan 2003, Bob Proulx wrote: > Colin Watson <[EMAIL PROTECTED]> [2002-12-30 12:36:37 +]: > > On Mon, Dec 30, 2002 at 02:44:55AM -0700, Bob Proulx wrote: > > > Curtis Spencer <[EMAIL PROTECTED]> [2002-12-29 23:34:44 -0800]: > > > > groupadd mysql > > > > useradd -g mysql mysql > > > > > > adduser --disabled-login --gecos 'MYSQL User' mysql > > > > I suggest using the --system option there too. > > The only problem/difference with --system is that the adduser command > will not create a unique group for the uid. It will create the group > as 'daemon' IIRC. I did not see a way to create a system user that adduser --disabled-login --gecos 'MYSQL User' --group mysql Manpages are good. Read them. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Creating a new user without a password
Colin Watson <[EMAIL PROTECTED]> [2002-12-30 12:36:37 +]: > On Mon, Dec 30, 2002 at 02:44:55AM -0700, Bob Proulx wrote: > > Curtis Spencer <[EMAIL PROTECTED]> [2002-12-29 23:34:44 -0800]: > > > groupadd mysql > > > useradd -g mysql mysql > > > > adduser --disabled-login --gecos 'MYSQL User' mysql > > I suggest using the --system option there too. The only problem/difference with --system is that the adduser command will not create a unique group for the uid. It will create the group as 'daemon' IIRC. I did not see a way to create a system user that also created a system group to go along with the system user. But not saying --system followed the UPG scheme by default. Which I followed since the OP has listed creating a unique group as well with the original commands. Bob msg21897/pgp0.pgp Description: PGP signature
Re: Creating a new user without a password
On Mon, Dec 30, 2002 at 02:44:55AM -0700, Bob Proulx wrote: > Curtis Spencer <[EMAIL PROTECTED]> [2002-12-29 23:34:44 -0800]: > > I am installing mysql 4.0 and following their instructions. > > They say run these commands. > > groupadd mysql > > useradd -g mysql mysql > > > > This creates a new user, but no where is the password set. Is this a > > security problem or will no one be able to ever log in as user mysql? > > I believe those commands will create a user and group with a disabled > password and not an empty password. > > You might investigate using 'adduser'. That will follow the > /etc/adduser.conf policy and do the above in one command. YMMV. > > adduser --disabled-login --gecos 'MYSQL User' mysql I suggest using the --system option there too. -- Colin Watson [[EMAIL PROTECTED]] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Creating a new user without a password
Curtis Spencer <[EMAIL PROTECTED]> [2002-12-29 23:34:44 -0800]: > > I am installing mysql 4.0 and following their instructions. > They say run these commands. > groupadd mysql > useradd -g mysql mysql > > This creates a new user, but no where is the password set. Is this a > security problem or will no one be able to ever log in as user mysql? I believe those commands will create a user and group with a disabled password and not an empty password. You might investigate using 'adduser'. That will follow the /etc/adduser.conf policy and do the above in one command. YMMV. adduser --disabled-login --gecos 'MYSQL User' mysql Bob msg21560/pgp0.pgp Description: PGP signature
Creating a new user without a password
I am just curious. I am installing mysql 4.0 and following their instructions. They say run these commands. groupadd mysql useradd -g mysql mysql This creates a new user, but no where is the password set. Is this a security problem or will no one be able to ever log in as user mysql? Thanks, Curtis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Creating a new user
on Wed, Dec 26, 2001 at 09:44:11PM -0800, ShlopIndustries Master ([EMAIL PROTECTED]) wrote: > I am a newbie to Debian and Linux and wanted to know how to create a > new user. It takes nine months and a partner. Once there, 'adduser' to create the account 'useradd' > I can't load dbootstrap because the command is not found. Please help > anybody. That doesn't parse. How much of your system is installed, and what are you trying to do. Peace. -- Karsten M. Self http://kmself.home.netcom.com/ What part of "Gestalt" don't you understand? Home of the brave http://gestalt-system.sourceforge.net/Land of the free We freed Dmitry! Boycott Adobe! Repeal the DMCA! http://www.freesklyarov.org Geek for Hire http://kmself.home.netcom.com/resume.html pgp2LG7RkuFtQ.pgp Description: PGP signature
Re: Creating a new user
On Thursday 27 December 2001 12:44 am, ShlopIndustries Master wrote: > I am a newbie to Debian and Linux and wanted to know how to create a new > user. I can't load dbootstrap because the command is not found. Please help > anybody. useradd usage: useradd [-u uid [-o]] [-g group] [-G group,...] [-d home] [-s shell] [-c comment] [-m [-k template]] [-f inactive] [-e expire ] [-p passwd] name useradd -D [-g group] [-b base] [-s shell] [-f inactive] [-e expire ] or if you like it simple with prompts, try: adduser - k l u r t
Creating a new user
I am a newbie to Debian and Linux and wanted to know how to create a new user. I can't load dbootstrap because the command is not found. Please help anybody. _ Chat with friends online, try MSN Messenger: http://messenger.msn.com