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
  •  


ALLEN BRADLEY 1494V-DS400 SER A DISCONNECT SWITCH 3PH 400AMP 600VAC  STK 5039 picture

ALLEN BRADLEY 1494V-DS400 SER A DISCONNECT SWITCH 3PH 400AMP 600VAC STK 5039

$1220.00



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$419.99



Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1 picture

Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1

$39.99



Intel Core i5-8500 3 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR3XE picture

Intel Core i5-8500 3 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR3XE

$49.99



AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor picture

AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor

$319.99



Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc... picture

Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc...

$619.99



E5-2697V4 INTEL XOEN SR2JV 18 CORE 2.30 GHz 45M 9.6 GT/s 145W PROCESSOR CPU picture

E5-2697V4 INTEL XOEN SR2JV 18 CORE 2.30 GHz 45M 9.6 GT/s 145W PROCESSOR CPU

$49.99



Intel Core i5-12400 Desktop Processor With HeatSink picture

Intel Core i5-12400 Desktop Processor With HeatSink

$140.00



Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor picture

Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor

$48.70