LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 06-02-2004, 06:22 PM   #1
kbolino
LQ Newbie
 
Registered: Jun 2004
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
Problems with /usr/bin/chsh


Okay, I downloaded and installed Slackware 9.1. When attempting to run chsh as a non-root user, I get "You may not change the shell for kbolino." (in this case, I was kbolino when executing). I didn't pay it much mind, downloaded and installed Slackware-current packages. But, I'm still getting the same problem. /usr/bin/chsh gives the following `ls -l':

-rws--x--x 1 root bin 27780 May 20 22:01 chsh*

I also notice that the setuid bit will sometimes turn itself off (?!?) but setting on/off has no effect (same message is produced). I tried changing user/group to root/root, no avail. Tried using permissions -rwsr-sr-x, no avail. No problems with `passwd' or `chfn'. Maybe someone else has encountered this problem?
 
Old 06-02-2004, 08:16 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
well, what is your users default $SHELL??
Code:
which $SHELL
 
Old 06-03-2004, 05:27 AM   #3
Ipolit
Member
 
Registered: Nov 2003
Location: Bulgaria
Distribution: Vector Linux, Morphix
Posts: 293

Rep: Reputation: 31
why you want to run chsh as an ordinary user?
the syntaxis of the command is
chsh -s /bin/..sh kbolino as root
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing .bin-files, leave the file in /usr/local/bin/ ? lagu2653 Linux - Software 1 11-08-2005 08:30 PM
path in services wrong for clamav updated frm 0.75 to 0.80 usr/bin vs usr/local/bin Emmanuel_uk Linux - Newbie 3 04-22-2005 01:02 AM
/usr/bin/X11/ and /usr/X11R6/bin/ the same? linuxtesting2 Linux - Newbie 2 11-16-2004 10:57 AM
what is "S" instead of "X" in the file permission when i look at /usr/bin/chsh? Linux_interest Linux - Newbie 4 08-28-2004 09:22 AM
xcdroast installation problems despite use of --with-cdrtools-prefix=/usr/bin ??? Raptor Ramjet Slackware 4 01-27-2004 06:55 AM


All times are GMT -5. The time now is 12:10 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration