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
  •  


Apple Macintosh PowerBook 180 Vintage Laptop | Retro Computer picture

Apple Macintosh PowerBook 180 Vintage Laptop | Retro Computer

$149.95



Apple Macintosh Performa 466 Vintage Computer | SKU 146754 picture

Apple Macintosh Performa 466 Vintage Computer | SKU 146754

$149.95



Vintage Apple Lisa Brochure, very nice condition picture

Vintage Apple Lisa Brochure, very nice condition

$50.00



Vintage Apple M2980 AppleDesign Keyboard - Tested and working - Good condition picture

Vintage Apple M2980 AppleDesign Keyboard - Tested and working - Good condition

$19.75



Vintage APPLE Design Macintosh Keyboard Model M2980 UNTESTED picture

Vintage APPLE Design Macintosh Keyboard Model M2980 UNTESTED

$32.97



Vintage A3S2 Apple III Computer With 12 Volt Motherboard 820-0043-00 picture

Vintage A3S2 Apple III Computer With 12 Volt Motherboard 820-0043-00

$450.00



2005 Vintage Apple Mac Mini A1103, 1.42GHz G4, 512MB RAM, 80G HD, DVD picture

2005 Vintage Apple Mac Mini A1103, 1.42GHz G4, 512MB RAM, 80G HD, DVD

$129.99



Rare Vintage Miniscribe Apple Macintosh SE / 20 8425SA Head Motor & Guide picture

Rare Vintage Miniscribe Apple Macintosh SE / 20 8425SA Head Motor & Guide

$24.99



Vintage Apple Newton MessagePad 2000 With Original Box and Some Accessories picture

Vintage Apple Newton MessagePad 2000 With Original Box and Some Accessories

$199.99



Vintage Apple Macintosh PowerBook G3 M4753 w/ Power Adapter picture

Vintage Apple Macintosh PowerBook G3 M4753 w/ Power Adapter

$149.00