Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

Newbie: Only Administrator can use SFU..

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started >> Newbie: Only Administrator can use SFU.. Page: [1]
Login
Message << Older Topic   Newer Topic >>
Newbie: Only Administrator can use SFU.. - May 12, '04, 11:16:05 AM   
gs

 

Posts: 4
Joined: May 12, '04,
Status: offline
Windows 2003 Terminal Server
SFU 3.5

After reinstalling SFU packages only Administrator can start
shells, use Unix commands and so on.

When Administrator tries (in a shell):

su user

the answer is:

su: /bin/sh: Permission denied

/bin/sh is a link to /bin/bash, the permissions are right, so
I think it's not a Unix problem..

Any ideas? Thank you in Advance!

Gerhard Schneider

P.S.: NFS server/client, User mapping and so on are working..
Post #: 1
RE: Newbie: Only Administrator can use SFU.. - May 12, '04, 11:24:14 AM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
What happens when you restore /bin/sh to be a symlink to /bin/ksh
(as it was when installed) ?
What are the perms on /usr/local/bin/bash ?
How did your bash get into /bin/bash ? Is it a symlink ?

(in reply to gs)
Post #: 2
RE: Newbie: Only Administrator can use SFU.. - May 12, '04, 11:41:54 AM   
gs

 

Posts: 4
Joined: May 12, '04,
Status: offline
quote:

ORIGINAL: Rodney

What happens when you restore /bin/sh to be a symlink to /bin/ksh
(as it was when installed) ?
What are the perms on /usr/local/bin/bash ?
How did your bash get into /bin/bash ? Is it a symlink ?


Sorry, it was the /bin/ksh (my fault.)

Removing the symlink and copying /bin/ksh to /bin/sh didn't
work, too..

GS

(in reply to Rodney)
Post #: 3
RE: Newbie: Only Administrator can use SFU.. - May 12, '04, 4:00:19 PM   
markfunk

 

Posts: 673
Joined: Mar. 31, '03,
Status: offline
did you enable "setuid" functionality when you installed Interix ?

(in reply to gs)
Post #: 4
RE: Newbie: Only Administrator can use SFU.. - May 13, '04, 3:42:58 AM   
gs

 

Posts: 4
Joined: May 12, '04,
Status: offline
Yes, and the registry entry is there..

It worked till I installed software, License keys for the
terminal server license server and so on..

I don't know when it stopped to work, but I'm sure its
an underlying problem..

In the Event Viewer I get Event 1017 from Interix:

Unexpected Exception pid=1347 cid=0x10d0.0x10d4 code=0xc0000022
fc=0

No help from events.asp

(in reply to markfunk)
Post #: 5
RE: Newbie: Only Administrator can use SFU.. - May 13, '04, 11:07:17 AM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
Was there any other software installed at the same time?
I'm asking because there was another person (about 3 weeks back)
that had a problem with a Cisco security program that was restricting
access only to files it had in a special list.

The other question is which administrator are you? The local or the domain?
The o/p of the 'id' command will tell us.
Then, for the user being su'd to: local or domain? Again 'id'.

(in reply to gs)
Post #: 6
RE: Newbie: Only Administrator can use SFU.. - May 13, '04, 11:13:44 AM   
gs

 

Posts: 4
Joined: May 12, '04,
Status: offline
quote:

ORIGINAL: Rodney

Was there any other software installed at the same time?
I'm asking because there was another person (about 3 weeks back)
that had a problem with a Cisco security program that was restricting
access only to files it had in a special list.


No. One attempt was to deinstall the software (w/o cleaning
the registry manually), rebooting, reinstalling, rebooting.
No other software install running

quote:


The other question is which administrator are you? The local or the domain?
The o/p of the 'id' command will tell us.
Then, for the user being su'd to: local or domain? Again 'id'.


It's the same. It's a domain controller that is a Terminal Server,
too..

Thank you!
Gerhard Schneider

(in reply to Rodney)
Post #: 7
RE: Newbie: Only Administrator can use SFU.. - May 13, '04, 12:16:04 PM   
markfunk

 

Posts: 673
Joined: Mar. 31, '03,
Status: offline
The "unexpected exception" message means that while the Interix process was being created (by NT kernel), the NT kernel determined that there was something wrong when loading the executable and/or loading/initializing the required DLL's (ntdll.dll, psxdll.dll, ....) and the NT kernel terminated the executable.

I've heard from other people that have had similar experiences. But I don't recall anyone actually posting a workaround or the reason for this behaviour.

(in reply to gs)
Post #: 8
RE: Newbie: Only Administrator can use SFU.. - May 24, '04, 7:38:36 PM   
vanny1

 

Posts: 2
Joined: May 24, '04,
Status: offline
I am having exactly the same problem. Only Administrator can run any of the UNIX commands. While I try running the "ls" command it gives me no output and no error. Just gives me the command prompt. I looked at permissions of the files and all appears to be good for a non-administrator user. Each command just doesn't do a thing. I also am using Windows 2003 with Terminal Services installed.

(in reply to markfunk)
Post #: 9
RE: Newbie: Only Administrator can use SFU.. - Jun. 8, '04, 12:20:46 PM   
vanny1

 

Posts: 2
Joined: May 24, '04,
Status: offline
I looked at the Microsoft web site and found that there is an issue running SFU on earlier O/S systems running Windows Terminal Services and therefore Microsoft doesn't support it. So if this is the case then I guess it is back to cygwin to get my unix utilities to work or maybe switching back over to linux instead.

(in reply to vanny1)
Post #: 10
RE: Newbie: Only Administrator can use SFU.. - Jun. 8, '04, 12:49:44 PM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
If you look closely at the Microsoft report you will read that it
applied to earlier version of SFU/Interix. It doesn't do NT 4.0 TSE
for version 3.0 or 3.5 (by info on the box) which implies that TSE
on later versions is okay. I'm sure I saw a specific list saying TS
was good for W2K-server and W2K3. But I can't find it right now. I'll
look some more.

There has been an update for the 3.5 download WRT how SFU is installed.
The content is the same, but something in the installation was tweaked
for W2K3 and the upcoming XP-reloaded. When did you download SFU 3.5 ?

(in reply to vanny1)
Post #: 11
RE: Newbie: Only Administrator can use SFU.. - Jun. 8, '04, 12:59:07 PM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
SFU 3.5 on TS is a supported platform with Windows 2000 and 2003.

< Message edited by Rodney -- Jun. 8, '04, 12:59:44 PM >

(in reply to Rodney)
Post #: 12
RE: Newbie: Only Administrator can use SFU.. - Jun. 9, '06, 11:03:48 AM   
h.ancher

 

Posts: 2
Joined: Jun. 9, '06,
Status: offline
Hi everyboby,

I move UP this topic because I've got exactly the same problem with shell access permissions.
I've got the two systems under Windows 2003 SP1 + SFU 3.5 which one have Terminal Services installed.

On server with T.S., only administrator's user can be access to the shell.
On the other server (without T.S.), all users can access to the shell.

Someone have informations about this problem ?

Ps : Sorry for my bad english.

< Message edited by h.ancher -- Jun. 9, '06, 11:07:44 AM >

(in reply to Rodney)
Post #: 13
RE: Newbie: Only Administrator can use SFU.. - Jun. 12, '06, 3:00:10 AM   
h.ancher

 

Posts: 2
Joined: Jun. 9, '06,
Status: offline
Nobody ?

I think it's simply a right to apply at my user or modify the group policies...
Someone can be help me ?

(in reply to h.ancher)
Post #: 14
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started >> Newbie: Only Administrator can use SFU.. Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.078