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
  •  


Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5

Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive

$157.99



WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN picture

WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN

$174.99



WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN picture

WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN

$49.99



WD Green SATA HDD - 3TB picture

WD Green SATA HDD - 3TB

$59.99



Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5

Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

$29.99



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$82.99



HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5

HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD

$74.99



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$27.49



Seagate Barracuda ST3000DM001 3TB 7200 RPM 64MB 6.0Gbs SATA 3.5

Seagate Barracuda ST3000DM001 3TB 7200 RPM 64MB 6.0Gbs SATA 3.5" Internal HDD

$25.89



HDD 3.5

HDD 3.5" SATA Hard Drive with Windows 7/Win 10 Installed Legacy

$35.99