Page 3 of 6 FirstFirst 12345 ... LastLast
Results 21 to 30 of 51

Thread: add new users that can login via X-windows

  1. #21
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    OOO, I like this cheat code!!!

    Klaus, are you listening?

    If you are,

    TIA,

  2. #22
    Member registered user
    Join Date
    Jan 2003
    Location
    NY
    Posts
    86
    If anyone else would also be interested in the above mentioned cheatcodes, leave a post here so we can gauge the interest level and perhaps Klaus would implement it in the next release. (I certainly hope so as it would be a very useful feature

  3. #23
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159
    Quote Originally Posted by true1ever
    thanks for your vote of confidence ... Anyway, if you would like, feel free to suggest to Klaus about including something like this, I imagine he might write a script that might be a little bit better than the one I put together
    true1ever, I tried your script and it worked just perfect. How could it be better?

  4. #24
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Germany
    Posts
    1,159
    Quote Originally Posted by true1ever
    If anyone else would also be interested in the above mentioned cheatcodes, leave a post here so we can gauge the interest level and perhaps Klaus would implement it in the next release.
    I am absolutely interested!

  5. #25
    Member registered user
    Join Date
    Jan 2003
    Location
    NY
    Posts
    86
    Quote Originally Posted by probono
    true1ever, I tried your script and it worked just perfect. How could it be better?
    Who knows, perhaps Klaus could reduce it all to a one-line script , I wouldn't be surprised...

  6. #26
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    Does Klaus read this forum too?

    Regards,

  7. #27
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    298
    Quote Originally Posted by A. Jorge Garcia
    Does Klaus read this forum too?
    Now and then. I saw a post by him two days ago, when I checked his acount he had 7 posts.

    You could sign up for this mailinglist he is running and bring it to his attention.

  8. #28
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    Yup, I saw he had a few recent posts, but is that really him?

    BTW, what mailing list are you referring to?

    Regards,

  9. #29

  10. #30
    Member registered user
    Join Date
    Jan 2003
    Location
    NY
    Posts
    86
    Rock,

    You were correct, if the files in the user home directory are deleted, the language comes up right. I modified the script to do this automatically for all added users. Here is the new script:

    #!/bin/bash
    cp /etc/kde3/kdm/Xaccess /ramdisk
    cp /etc/kde3/kdm/kdmrc /ramdisk
    rm -r /etc/kde3/kdm/Xaccess
    rm -r /etc/kde3/kdm/kdmrc
    sed 's/^#\*/\*/g' < /ramdisk/Xaccess > /ramdisk/Xaccess1
    mv -f /ramdisk/Xaccess1 /ramdisk/Xaccess
    sed 's/^Enable=false/Enable=true/g' < /ramdisk/kdmrc > /ramdisk/kdmrc1
    mv -f /ramdisk/kdmrc1 /ramdisk/kdmrc
    ln -s /ramdisk/Xaccess /etc/kde3/kdm/Xaccess
    ln -s /ramdisk/kdmrc /etc/kde3/kdm/kdmrc
    /etc/init.d/kdm start
    cp /etc/gshadow /etc/gshadow1
    mv -f /etc/gshadow1 /etc/gshadow
    while [ "$usr" != none ]
    do
    echo To add users enter username or press enter to quit adding users
    read usr
    if [ "$usr" != "" ]
    then
    adduser $usr
    rm /home/$usr/* -rf
    rm /home/$usr/.* -rf
    else
    usr="none"
    fi
    done

Page 3 of 6 FirstFirst 12345 ... LastLast

Similar Threads

  1. Users cannot login anymore with KDM... startx works!
    By dariuzzz in forum General Support
    Replies: 1
    Last Post: 09-21-2004, 06:37 PM
  2. Knoppix for Windows Users
    By knewbex in forum The Lounge
    Replies: 31
    Last Post: 09-10-2004, 03:26 AM
  3. Tip for Windows XP users
    By Lucia in forum MS Windows & New to Linux
    Replies: 1
    Last Post: 08-16-2004, 12:11 AM
  4. Stange Login + Default Users
    By jeremymeindl in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 05-29-2004, 01:06 AM
  5. Normal Users can't access windows partitions
    By empanyc in forum General Support
    Replies: 4
    Last Post: 04-01-2004, 10:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Supermicro 4U 36 Bay Storage Server 2.2Ghz 16-C 128GB 1x1280W Rails TrueNAS ZFS picture

Supermicro 4U 36 Bay Storage Server 2.2Ghz 16-C 128GB 1x1280W Rails TrueNAS ZFS

$725.06



H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W picture

H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W

$2612.18



HP ProLiant DL360 G9 Server | 2 x E5-2660V3 2.6Ghz | 64GB | 2 x 900GB SAS HDD picture

HP ProLiant DL360 G9 Server | 2 x E5-2660V3 2.6Ghz | 64GB | 2 x 900GB SAS HDD

$339.00



CSE-118 Supermicro 1U GPU Server 2.6Ghz 28-C 128GB 2x Nvidia K40 GPU 2x1600W PSU picture

CSE-118 Supermicro 1U GPU Server 2.6Ghz 28-C 128GB 2x Nvidia K40 GPU 2x1600W PSU

$580.03



DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$274.00



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



HP Proliant DL360 Gen9 28 Core SFF Server 2X E5-2680 V4 16GB RAM P440ar No HDD picture

HP Proliant DL360 Gen9 28 Core SFF Server 2X E5-2680 V4 16GB RAM P440ar No HDD

$196.95



Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB picture

Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB

$510.00



HP ProLiant DL380 Gen9 16SFF 2x E5-2680v4 2.4GHz =28 Cores 64GB P840 4xRJ45 picture

HP ProLiant DL380 Gen9 16SFF 2x E5-2680v4 2.4GHz =28 Cores 64GB P840 4xRJ45

$353.00



Dell Poweredge R730xd 2.5in 2x E5-2690 v3 2.6ghz 24-Cores  64gb  H730  2x 750w picture

Dell Poweredge R730xd 2.5in 2x E5-2690 v3 2.6ghz 24-Cores 64gb H730 2x 750w

$189.99