LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-29-2004, 08:04 AM   #1
nouwen
LQ Newbie
 
Registered: Sep 2003
Posts: 15

Rep: Reputation: 0
xlock and passwords


Hi,

Newbie question: I'm trying to figure out how to get xlock working (i'm running rh9 and icewm). When i'm root, xlock works fine, but when i'm any other user, xlock doens't recognise my password. I'm suspecting that it's because xlock isn't `setuitd to root' but i can't really figure out how i should go about `setuid-ing' something to root. Could someone quickly explain how to do this. Or could there be any other reason for the password failure?

thanks
rick
 
Old 05-25-2004, 06:03 AM   #2
cristiroma
LQ Newbie
 
Registered: May 2004
Location: Bucharest, Romania
Distribution: Linux Slackware 9.1
Posts: 14

Rep: Reputation: 0
I think the problem is running without setuid for xlock, altough I always run with setuid.
Maybe this discussion on setuid would help:
http://www.evolt.org/article/UNIX_Fi...Part_2/18/263/

Basically the comand for setuid are:

chmod u+s - set the setuid bit.

ran on executable file ( xlock ).

Last edited by cristiroma; 05-25-2004 at 06:06 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sync MySQL passwords with local account passwords? turbine216 Linux - Software 2 02-18-2005 04:15 AM
Completely uninstalling MySQL and its passwords passwords...how? I locked myself out! Baix Linux - Newbie 2 01-30-2005 05:10 PM
Xlock / Xlock more with enterprise authentication yasir15 Linux - Software 0 04-20-2004 12:47 PM
Is there a way to sync Samba passwords with linux user passwords MarleyGPN Linux - Networking 2 09-09-2003 11:59 AM
xlock in kde rile0161 Linux - General 0 06-06-2001 06:33 PM


All times are GMT -5. The time now is 03:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration