Just thought that I would add a couple of extras to Kwan's script..
But I am not sure if the password thingy works correctly yet maybe
someone will have something better.. anyway
here it is..
#!/bin/bash
IFS=$'\n'
On Wed, 2003-06-11 at 11:30, Mark wrote:
if [ $USERID -gt 499 ] [ $USERNAME != nobody ] ; then
echo groupadd -g ${GROUPID} ${USERNAME}
echo useradd -u ${USERID} -g ${GROUPID} -c \${COMMENT}\ \
-d ${USERDIR} -s ${USERSHL} ${USERNAME}
PASSWD=`grep ${USERNAME}:
On Thu, 2003-06-12 at 04:42, Kwan Lowe wrote:
On Wed, 2003-06-11 at 11:30, Mark wrote:
if [ $USERID -gt 499 ] [ $USERNAME != nobody ] ; then
echo groupadd -g ${GROUPID} ${USERNAME}
echo useradd -u ${USERID} -g ${GROUPID} -c \${COMMENT}\ \
-d ${USERDIR} -s ${USERSHL}
On Wed, 2003-06-11 at 19:19, Mark Williamson wrote:
Using the usermod -p passwd it will pass the already hashed or md5
encrypted straight to the new /etc/shadow file, that's not the problem
with the script.. it's the accuracy of the line
PASSWD=`grep ${USERNAME}: /etc/shadow | cut -d: -f2`
Hi!
Thank you for your script. I had to do some modifications, as follow:
#!/bin/bash
# kwan:x:500:1000:Kwan Lowe:/home/kwan:/bin/bash
IFS=$'\n'
for item in `cat /etc/passwd`; do
USERNAME=`echo $item | cut -d: -f1`
USERID=`echo $item | cut -d: -f3`
Hi List!
I'll set up a new server (MDK 8.0 - 9.1) and I would like to
keep the same users, but without cloning or copying /home folders. I
know I can copy /etc/passwd file. But I don't know how to regenerate
automatically new /home/users folders (from /etc/skel ?) without using
On Mon, 2003-06-09 at 08:39, Alan Wilter Sousa da Silva wrote:
Hi List!
I'll set up a new server (MDK 8.0 - 9.1) and I would like to
keep the same users, but without cloning or copying /home folders. I
know I can copy /etc/passwd file. But I don't know how to regenerate
Hi Kwan,
Nice looking script, but did you try it? But it seems to have problems,
getting the fields mixed up..
Cheers
Mark
On Mon, 2003-06-09 at 23:14, Kwan Lowe wrote:
On Mon, 2003-06-09 at 08:39, Alan Wilter Sousa da Silva wrote:
Hi List!
I'll set up a new server (MDK 8.0 - 9.1)
On Mon, 2003-06-09 at 19:25, Mark Williamson wrote:
Hi Kwan,
Nice looking script, but did you try it? But it seems to have problems,
getting the fields mixed up..
Nope, just wrote it on the spot.. Sorry...
Lemme see..Try this...
#!/bin/bash
# kwan:x:500:1000:Kwan
you
need are mm, apache and apache-common and php in that order. Then add MySQL
and mods.
Andy
- Original Message -
From: "Tim Litwiller" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 21, 2000 8:37 AM
Subject: [expert] New (server) install of LM 7.2
Apache wor
Apache works but PHP doesn't I just get the source. I checked to
make sure that PHP was installed rpm -q php shows php 4.0.3*** I
checked the http.conf file and there is nothing there about php
except the default that is commented out.
what would be best, uninstall php and reinstall and hope
Daniel Woods wrote:
The only things I'm not sure of is the Dlink DE-538TX 10/100 PCI
ethernet card ...
I have this and the DFE-530TX+ and both work well. Linux
sees this as a 'rt18139' driver.
Thanks... Dan.
Note that it's an "ell" not a "one": rtl8139, not rt18139 driver.
Hi there, I'm looking to purchase a new server tomorrow to replace my
existing server and this is what I'm looking at for specs. Could
someone give me any comments as to whether or not I will run into any
problems? Thanks.
VIEWSONIC E771 17" 0.27 COLOR MONITOR
DIMMS 168PIN 256MB SDRAM (133HZ)
The only things I'm not sure of is the Dlink DE-538TX 10/100 PCI
ethernet card ...
I have this and the DFE-530TX+ and both work well. Linux
sees this as a 'rt18139' driver.
Thanks... Dan.
14 matches
Mail list logo