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
  •  


Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



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

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

$712.98



DELL PowerEdge R730XD 24x 2.5

DELL PowerEdge R730XD 24x 2.5" Server Dual 750W Dual Heatsink - BareBones TESTED

$269.99



Dell Poweredge R640 Server | 2x Xeon Gold 6132 | 128GB | H730P | 8x HDD Trays picture

Dell Poweredge R640 Server | 2x Xeon Gold 6132 | 128GB | H730P | 8x HDD Trays

$1849.00



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$79.19



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



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 DL360 Gen9 1x E5-2620 V3 2.40GHZ 32GB DDR4-1866MHZ 2x 500W PSU picture

HP Proliant DL360 Gen9 1x E5-2620 V3 2.40GHZ 32GB DDR4-1866MHZ 2x 500W PSU

$105.95



HP ProLiant BL460c G9 (Gen9) 2x E5-2670V3 12 Core 3.1GHz No Ram or No Drives picture

HP ProLiant BL460c G9 (Gen9) 2x E5-2670V3 12 Core 3.1GHz No Ram or No Drives

$59.98



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