LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 01-04-2010, 04:03 AM   #1
Terry Bruce
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Rep: Reputation: 0
Problem changing authorisations


Hi people, I'm new here and pretty new to linux, I first installed linux as ubuntu version 9.04 straight off of a Computer Active CD and liked it so started to delve into file permissions and authorisations, simple stuff I suppose just so I could feel my way around things for a while. Using the built in Ubuntu software centre I downloaded and installed a prog which handles authorisations and I found that very helpful but then through the update manager I installed the latest distribution update (9.10) and now find that the authorisation software only lists a couple of things that I can get to and consequently every time I mount one of my hard disks I'm asked for my admin password even though I am logged in as administrator which is a hassle, a small one but there all the same, as a newbie I realise it must be me not understanding something but I just dont know what, also in the previous version right clicking on the logging out panel gave you an option to remove the 60 second shutdown or restart delay and that has disappeared in the new version, again its really only just a nuisance thing but I find that sorting out this sort of thing will help me to understand the system, so if anyone can understand my ramblings then hows about a pointer or two please

Many Thanks, Terry.
 
Old 01-04-2010, 05:41 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
What was that prog again? How do you mount your disks? I don't know what 60 seconds delay you are talking about.
 
Old 01-04-2010, 11:01 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
There's a default timeout option in sudo, usually set to 5 mins. It means if you sudo bash for example, you've got 5 mins to do other cmds at root level before your root privs expire and you have to redo the sudo.
In the OP's case, sounds like it's set to 1 minute.
 
Old 01-05-2010, 05:39 AM   #4
Terry Bruce
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Original Poster
Rep: Reputation: 0
To Agrouf,

The authorisations program is to be found listed in the software source selection provided in the distribution package and is described as 'PolicyKit-gnome provides a D bus session bus that is used to bring up authentication dialogs used for obtaining privileges. Version 0.9-1ubuntu3.'
I have 3 HDD's the first being partitioned as C & D, the second designated E which are both NTFS and form the original XP setup, the third is a 1 Terabyte drive dedicated to the linux operating system either OS available at startup using the grub bootloader.
When I boot up into linux it goes straight to my desktop without asking for a username or password as in the original setup I configured it to log me in as administrator, any program I run that requires file access on any other drive other than the boot drive and the system prompts me for the admin password so as to mount that drive, any program that is except for 'Dolphin' which just mounts them anyway and leaves them mounted after exiting with their icons displayed on the desktop. Much of this info is probably irrelevant to my query but as I don't know what I'm talking about it seems the best way is to just impart any information that I think might help, if the real answer is 'please go away and read a book' then do say so.
Unfortunately I cant remember the exact sequence of events regarding the delay thing but, in the top right hand corner of the desktop I left click on the name there (in my case terry) which provides a drop down panel giving various options, two of which being to restart or shutdown, choosing either one then brings up a window with options to either cancel or perform the selected action immediately, else the action will be performed anyway after the displayed timeout which is 60 seconds.
In the previous dist (9.04) there was another option in the drop down panel, and this is where it gets a bit hazy which allowed the user to remove the delay and perform the action immediately. This option is nowhere to be found in this version.

Thanks for your time, as an electrical technician I do have a fairly logical approach to most problems and I do intend to if not master this subject then at least get a reasonable grip on how to do some basic programming eventually, I'm fed up with Microsoft ruling my life and fouling things up with no explanation, since installing linux I have through trial and error manually installed a few things, learnt a lot about file permissions and have recently started to use the 'Wine' windows compatability program with what I consider astonishing results especially using Adobe Photoshop 7, I'm amazed at how well it works considering the file system/handling differences, having said that I'm quite warming to the Gimp F-Spot photo manager

Many thanks Terry Bruce.
 
Old 01-05-2010, 06:14 AM   #5
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
This is so not good idea to log in as root in graphical environment and that without prompting for user name and password is really bitter. You should think of this once again as this can be potentially harmful. Very harmful.
But I think you are not logging in as root but a user that has administrative privileges using sudo. So that user technically is not root. It can just gain access to it with sudo on temporary basis when needed. If you are mounting the drive using command line options then you will need to provide your password as only root is allowed to use the mount command. But you should be able to mount the drive graphically from Places.

Also this 60 second time buffer is hard coded in Ubuntu Karmic for shutdown, reboot. It can not be removed as it was possible in Jaunty. Sorry.
 
Old 01-05-2010, 07:27 AM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,549
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

Welcome to LQ!

Your journey has just begun therefore a few links to aid you;

Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Utimate Linux Newbie Guide
LinuxSelfHelp
Getting Started with Linux
Advanced Bash-Scripting Guide
Virtualiation- Top 10

The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
  


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
problem with changing resulation hoshangi Programming 9 12-12-2007 02:07 AM
Problem changing resolution esticlopise Linux - Software 1 07-09-2007 11:49 PM
Problem changing the video adapter setting and changing the screen resolution habiblove Linux - General 3 02-18-2006 06:10 PM
changing monitor problem civ247 Linux - Software 4 01-05-2005 10:55 AM
problem in changing resolution pipelok-j Linux - General 9 04-02-2004 08:55 AM


All times are GMT -5. The time now is 08:57 PM.

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